aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/h264dsp_init.c
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2017-02-15 15:03:18 +0100
committerJames Darnley <jdarnley@obe.tv>2017-02-27 13:22:06 +0100
commit0e16b3e2be3a3e20a5da94a0c48049ba6a5baacd (patch)
tree864e6a9957ddd8d0a4895d0c49faa8387f971b24 /libavcodec/x86/h264dsp_init.c
parent987ffe4b8dce88b8df12208eef788bd022a43598 (diff)
downloadffmpeg-0e16b3e2be3a3e20a5da94a0c48049ba6a5baacd.tar.gz
avcodec/h264: add avx 8-bit 4:2:0 chroma h intra deblock/loop filter
~1.10x faster (69 vs. 63 cycles) compared to mmxext function
Diffstat (limited to 'libavcodec/x86/h264dsp_init.c')
-rw-r--r--libavcodec/x86/h264dsp_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c
index cc86664098..b1246d029e 100644
--- a/libavcodec/x86/h264dsp_init.c
+++ b/libavcodec/x86/h264dsp_init.c
@@ -322,6 +322,7 @@ av_cold void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth,
c->h264_v_loop_filter_chroma_intra = ff_deblock_v_chroma_intra_8_avx;
if (chroma_format_idc <= 1) {
c->h264_h_loop_filter_chroma = ff_deblock_h_chroma_8_avx;
+ c->h264_h_loop_filter_chroma_intra = ff_deblock_h_chroma_intra_8_avx;
} else {
c->h264_h_loop_filter_chroma = ff_deblock_h_chroma422_8_avx;
}