Commit c1570ecf authored by michael's avatar michael

Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it

for them.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21816 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5b8b841b
...@@ -1452,7 +1452,7 @@ static void decode_mb_skip(H264Context *h){ ...@@ -1452,7 +1452,7 @@ static void decode_mb_skip(H264Context *h){
{ {
// just for fill_caches. pred_direct_motion will set the real mb_type // just for fill_caches. pred_direct_motion will set the real mb_type
mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP; mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP;
if(h->direct_spatial_mv_pred)
fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ... fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ...
ff_h264_pred_direct_motion(h, &mb_type); ff_h264_pred_direct_motion(h, &mb_type);
mb_type|= MB_TYPE_SKIP; mb_type|= MB_TYPE_SKIP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment