[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec vp3.c,1.55,1.56

Michael Niedermayer CVS michael
Wed May 18 11:07:29 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv19919

Modified Files:
	vp3.c 
Log Message:
reduce size of Vp3Fragment from 32byte to 16byte


Index: vp3.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/vp3.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- vp3.c	18 May 2005 08:48:11 -0000	1.55
+++ vp3.c	18 May 2005 09:07:26 -0000	1.56
@@ -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





More information about the ffmpeg-cvslog mailing list