diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-03-15 04:10:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-03-15 04:10:53 +0000 |
commit | d6231b9e70f0dc2413c668691e744687b939e411 (patch) | |
tree | 424b084a9b24376869acdd0097880c055167b4a0 /libavcodec/mpegvideo.h | |
parent | 49c9325f56a3d4cc239fb5c4dcaf73a9465b0609 (diff) | |
download | ffmpeg-d6231b9e70f0dc2413c668691e744687b939e411.tar.gz |
use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix
Originally committed as revision 331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 260b31f4bb..aeaf33e76d 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -145,7 +145,7 @@ typedef struct MpegEncContext { int avg_mb_var; /* average MB variance for current frame */ INT64 wanted_bits; INT64 total_bits; - + /* H.263 specific */ int gob_number; int gob_index; @@ -313,6 +313,9 @@ static inline int get_rl_index(const RLTable *rl, int last, int run, int level) void h263_encode_mb(MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y); +void mpeg4_encode_mb(MpegEncContext *s, + DCTELEM block[6][64], + int motion_x, int motion_y); void h263_encode_picture_header(MpegEncContext *s, int picture_number); int h263_encode_gob_header(MpegEncContext * s, int mb_line); void h263_dc_scale(MpegEncContext *s); |