[SCM] libav/experimental: reduce size of Vp3Fragment from 32byte to 16byte
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:44:05 UTC 2013
The following commit has been merged in the experimental branch:
commit 288774bbfced01c37d8415ad1aab9edb5c375c20
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Wed May 18 09:07:26 2005 +0000
reduce size of Vp3Fragment from 32byte to 16byte
Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 4bcf107..0908634 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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list