diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-07-22 19:59:34 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-07-22 19:59:34 +0000 |
commit | dc5eec80851418f7165257224576518f19a2aabb (patch) | |
tree | d83bda84aa82ff00943b19d83ced7866ddf5873d /libavcodec/x86/vp8dsp-init.c | |
parent | 9bb9875eb746d10ec69f5c63fce80c11e594bce2 (diff) | |
download | ffmpeg-dc5eec80851418f7165257224576518f19a2aabb.tar.gz |
Use pextrw for SSE4 mbedge filter result writing, speedup 5-10cycles on
CPUs supporting it.
Originally committed as revision 24437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/vp8dsp-init.c')
-rw-r--r-- | libavcodec/x86/vp8dsp-init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/vp8dsp-init.c b/libavcodec/x86/vp8dsp-init.c index 66ae884705..fad399fba8 100644 --- a/libavcodec/x86/vp8dsp-init.c +++ b/libavcodec/x86/vp8dsp-init.c @@ -247,6 +247,7 @@ DECLARE_LOOP_FILTER(mmx) DECLARE_LOOP_FILTER(mmxext) DECLARE_LOOP_FILTER(sse2) DECLARE_LOOP_FILTER(ssse3) +DECLARE_LOOP_FILTER(sse4) #endif @@ -379,6 +380,9 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) if (mm_flags & FF_MM_SSE4) { c->vp8_idct_dc_add = ff_vp8_idct_dc_add_sse4; + + c->vp8_h_loop_filter16y = ff_vp8_h_loop_filter16y_mbedge_sse4; + c->vp8_h_loop_filter8uv = ff_vp8_h_loop_filter8uv_mbedge_sse4; } #endif } |