diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-06-29 13:27:36 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-03 15:05:55 -0700 |
commit | 3b7ebeb4d52a25c7e1038ae90c6c19b0d6f11877 (patch) | |
tree | 2582b35da48add54c1087c62014a36478fe114a9 /libavcodec/h264.c | |
parent | cb5469462d427ea38625e255306f07b37d75280f (diff) | |
download | ffmpeg-3b7ebeb4d52a25c7e1038ae90c6c19b0d6f11877.tar.gz |
H.264: faster write_back_*
Avoid aliasing, unroll loops, and inline more functions.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index b5a9bc0dfc..db3d93d5d7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -60,15 +60,6 @@ static const enum PixelFormat hwaccel_pixfmt_list_h264_jpeg_420[] = { PIX_FMT_NONE }; -void ff_h264_write_back_intra_pred_mode(H264Context *h){ - int8_t *mode= h->intra4x4_pred_mode + h->mb2br_xy[h->mb_xy]; - - AV_COPY32(mode, h->intra4x4_pred_mode_cache + 4 + 8*4); - mode[4]= h->intra4x4_pred_mode_cache[7+8*3]; - mode[5]= h->intra4x4_pred_mode_cache[7+8*2]; - mode[6]= h->intra4x4_pred_mode_cache[7+8*1]; -} - /** * checks if the top & left blocks are available if needed & changes the dc mode so it only uses the available blocks. */ |