]> git.sesse.net Git - ffmpeg/commitdiff
reduce size of Vp3Fragment from 32byte to 16byte
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 18 May 2005 09:07:26 +0000 (09:07 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 18 May 2005 09:07:26 +0000 (09:07 +0000)
Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3.c

index 4bcf107396d7c0f1bca0cb602feefa35039603d3..090863467a93e1e2baf113a866d27c6f15f16f44 100644 (file)
@@ -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