changeset 2706:a23c44f7ed60 libavcodec

reduce size of Vp3Fragment from 32byte to 16byte
author michael
date Wed, 18 May 2005 09:07:26 +0000
parents 2f9f51297218
children 360024d31dab
files vp3.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/vp3.c	Wed May 18 08:48:11 2005 +0000
+++ b/vp3.c	Wed May 18 09:07:26 2005 +0000
@@ -136,16 +136,16 @@
 
 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