From 288774bbfced01c37d8415ad1aab9edb5c375c20 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 18 May 2005 09:07:26 +0000 Subject: reduce size of Vp3Fragment from 32byte to 16byte Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 4bcf107396..090863467a 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -136,16 +136,16 @@ static inline void debug_idct(const char *format, ...) { } typedef struct Vp3Fragment { DCTELEM *coeffs; - int coding_method; - int coeff_count; - int last_coeff; - int motion_x; - int motion_y; /* address of first pixel taking into account which plane the fragment * lives on as well as the plane stride */ int first_pixel; /* this is the macroblock that the fragment belongs to */ - int macroblock; + uint16_t macroblock; + uint8_t coding_method; + uint8_t coeff_count; + int8_t last_coeff; + int8_t motion_x; + int8_t motion_y; } Vp3Fragment; #define SB_NOT_CODED 0 -- cgit v1.2.3