Mercurial > libavcodec.hg
comparison h264.h @ 11163:8070f6a8df50 libavcodec
Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it
for them.
author | michael |
---|---|
date | Sat, 13 Feb 2010 22:53:44 +0000 |
parents | d9725977b699 |
children | 0f74d7b5a49f |
comparison
equal
deleted
inserted
replaced
11162:d9725977b699 | 11163:8070f6a8df50 |
---|---|
1450 | 1450 |
1451 if( h->slice_type_nos == FF_B_TYPE ) | 1451 if( h->slice_type_nos == FF_B_TYPE ) |
1452 { | 1452 { |
1453 // just for fill_caches. pred_direct_motion will set the real mb_type | 1453 // just for fill_caches. pred_direct_motion will set the real mb_type |
1454 mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP; | 1454 mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP; |
1455 | 1455 if(h->direct_spatial_mv_pred) |
1456 fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ... | 1456 fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ... |
1457 ff_h264_pred_direct_motion(h, &mb_type); | 1457 ff_h264_pred_direct_motion(h, &mb_type); |
1458 mb_type|= MB_TYPE_SKIP; | 1458 mb_type|= MB_TYPE_SKIP; |
1459 } | 1459 } |
1460 else | 1460 else |