From 69b121958a2cdae3e53fcd623bdc54015d6e3002 Mon Sep 17 00:00:00 2001 From: rik Date: Sat, 15 Feb 2003 20:14:04 +0000 Subject: UINTX -> uintx_t (following libavcodec) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9439 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/jpeg_enc.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libvo') diff --git a/libvo/jpeg_enc.c b/libvo/jpeg_enc.c index 713f9ce8e7..76d7247e3e 100644 --- a/libvo/jpeg_enc.c +++ b/libvo/jpeg_enc.c @@ -46,15 +46,15 @@ extern int avcodec_inited; /* zr_mjpeg_encode_mb needs access to these tables for the black & white * option */ typedef struct MJpegContext { - UINT8 huff_size_dc_luminance[12]; - UINT16 huff_code_dc_luminance[12]; - UINT8 huff_size_dc_chrominance[12]; - UINT16 huff_code_dc_chrominance[12]; - - UINT8 huff_size_ac_luminance[256]; - UINT16 huff_code_ac_luminance[256]; - UINT8 huff_size_ac_chrominance[256]; - UINT16 huff_code_ac_chrominance[256]; + uint8_t huff_size_dc_luminance[12]; + uint16_t huff_code_dc_luminance[12]; + uint8_t huff_size_dc_chrominance[12]; + uint16_t huff_code_dc_chrominance[12]; + + uint8_t huff_size_ac_luminance[256]; + uint16_t huff_code_ac_luminance[256]; + uint8_t huff_size_ac_chrominance[256]; + uint16_t huff_code_ac_chrominance[256]; } MJpegContext; @@ -75,7 +75,7 @@ static const unsigned short aanscales[64] = { static void convert_matrix(MpegEncContext *s, int (*qmat)[64], uint16_t (*qmat16)[64], uint16_t (*qmat16_bias)[64], - const UINT16 *quant_matrix, int bias) + const uint16_t *quant_matrix, int bias) { int qscale; @@ -125,7 +125,7 @@ static void convert_matrix(MpegEncContext *s, int (*qmat)[64], } static inline void encode_dc(MpegEncContext *s, int val, - UINT8 *huff_size, UINT16 *huff_code) + uint8_t *huff_size, uint16_t *huff_code) { int mant, nbits; @@ -156,8 +156,8 @@ static void encode_block(MpegEncContext *s, DCTELEM *block, int n) int mant, nbits, code, i, j; int component, dc, run, last_index, val; MJpegContext *m = s->mjpeg_ctx; - UINT8 *huff_size_ac; - UINT16 *huff_code_ac; + uint8_t *huff_size_ac; + uint16_t *huff_code_ac; /* DC coef */ component = (n <= 3 ? 0 : n - 4 + 1); -- cgit v1.2.3