diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-07-06 04:55:14 +0400 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-09 03:11:15 +0400 |
commit | 5136ba7c690f50ebe12bba6e3320a18e1d4fd936 (patch) | |
tree | fa71b403623086e3a1aafc0e78ac4df7ad8b14f5 /libavcodec/h264.h | |
parent | bbdd52ed343cb594d4af07f9b369df6a00117774 (diff) |
H.264: faster P-SKIP decoding
Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to
avoid calling the whole thing.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index a2abab9d9b..d34e6db573 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -1331,7 +1331,6 @@ static void av_unused decode_mb_skip(H264Context *h){ mb_type|= MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P1L0|MB_TYPE_SKIP; fill_decode_neighbors(h, mb_type); - fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ... pred_pskip_motion(h, &mx, &my); fill_rectangle(&h->ref_cache[0][scan8[0]], 4, 4, 8, 0, 1); fill_rectangle( h->mv_cache[0][scan8[0]], 4, 4, 8, pack16to32(mx,my), 4); |