comparison motion_est.c @ 275:7ebb3f9aaf3b libavcodec

- Added video coding statistics for ffmpeg. Needs more work. - Fixed ME range for H.263+ UMV (32 pix).
author pulento
date Tue, 19 Mar 2002 06:30:41 +0000
parents 09ae29b27ed9
children 5cb2978e701f
comparison
equal deleted inserted replaced
274:d0c186bcf075 275:7ebb3f9aaf3b
407 range = range * 2; 407 range = range * 2;
408 408
409 if (s->unrestricted_mv) { 409 if (s->unrestricted_mv) {
410 xmin = -16; 410 xmin = -16;
411 ymin = -16; 411 ymin = -16;
412 if (s->h263_plus)
413 range *= 2;
412 if(s->avctx==NULL || s->avctx->codec->id!=CODEC_ID_MPEG4){ 414 if(s->avctx==NULL || s->avctx->codec->id!=CODEC_ID_MPEG4){
413 xmax = s->mb_width*16; 415 xmax = s->mb_width*16;
414 ymax = s->mb_height*16; 416 ymax = s->mb_height*16;
415 }else { 417 }else {
416 /* XXX: dunno if this is correct but ffmpeg4 decoder wont like it otherwise 418 /* XXX: dunno if this is correct but ffmpeg4 decoder wont like it otherwise