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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user