Mercurial > libavcodec.hg
diff mpegvideo.c @ 265:4e9e728021d8 libavcodec
use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix
author | michaelni |
---|---|
date | Fri, 15 Mar 2002 04:10:53 +0000 |
parents | 7d941b8c4e84 |
children | 252444e5259b |
line wrap: on
line diff
--- a/mpegvideo.c Wed Mar 13 19:26:38 2002 +0000 +++ b/mpegvideo.c Fri Mar 15 04:10:53 2002 +0000 @@ -552,7 +552,7 @@ int dxy, offset, mx, my, src_x, src_y, height, linesize; int motion_x, motion_y; - if(s->real_sprite_warping_points>1) printf("Oops, thats bad, contact the developers\n"); + if(s->real_sprite_warping_points>1) printf("more than 1 warp point isnt supported\n"); motion_x= s->sprite_offset[0][0]; motion_y= s->sprite_offset[0][1]; src_x = s->mb_x * 16 + (motion_x >> (s->sprite_warping_accuracy+1)); @@ -1247,6 +1247,8 @@ case FMT_H263: if (s->h263_msmpeg4) msmpeg4_encode_mb(s, s->block, motion_x, motion_y); + else if(s->h263_pred) + mpeg4_encode_mb(s, s->block, motion_x, motion_y); else h263_encode_mb(s, s->block, motion_x, motion_y); break;