aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-18 09:07:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-18 09:07:26 +0000
commit288774bbfced01c37d8415ad1aab9edb5c375c20 (patch)
treea46cbf48ae57f0e814e5d0b966b53ff9a747b34c /libavcodec/vp3.c
parentb5da363592aae26030a61c58c973504aef424c19 (diff)
downloadffmpeg-288774bbfced01c37d8415ad1aab9edb5c375c20.tar.gz
reduce size of Vp3Fragment from 32byte to 16byte
Originally committed as revision 4270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c12
1 files changed, 6 insertions, 6 deletions
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