Mercurial > libavcodec.hg
comparison snow.c @ 10625:328e2a3171d2 libavcodec
Fix 1 pass RC in snow.
Fixes issue547.
author | michael |
---|---|
date | Wed, 02 Dec 2009 20:07:23 +0000 |
parents | 404026d9adb5 |
children | e58e93f04279 |
comparison
equal
deleted
inserted
replaced
10624:8db678424a18 | 10625:328e2a3171d2 |
---|---|
4449 }//else keep previous frame's qlog until after motion estimation | 4449 }//else keep previous frame's qlog until after motion estimation |
4450 | 4450 |
4451 frame_start(s); | 4451 frame_start(s); |
4452 | 4452 |
4453 s->m.current_picture_ptr= &s->m.current_picture; | 4453 s->m.current_picture_ptr= &s->m.current_picture; |
4454 s->m.last_picture.pts= s->m.current_picture.pts; | |
4455 s->m.current_picture.pts= pict->pts; | |
4454 if(pict->pict_type == FF_P_TYPE){ | 4456 if(pict->pict_type == FF_P_TYPE){ |
4455 int block_width = (width +15)>>4; | 4457 int block_width = (width +15)>>4; |
4456 int block_height= (height+15)>>4; | 4458 int block_height= (height+15)>>4; |
4457 int stride= s->current_picture.linesize[0]; | 4459 int stride= s->current_picture.linesize[0]; |
4458 | 4460 |