Commit 93d14afb authored by Yunqing Wang's avatar Yunqing Wang Committed by Debargha Mukherjee
Browse files

Fix loop-restoration sub-pixel filter function

This patch fixed loop-restoration subpixel_8t_ssse3 function
so that it works with CONFIG_PIC.

Change-Id: I178efae161a2b4c8388c141c378c99149ea3a847
parent cf26ee5a
......@@ -346,9 +346,15 @@ cglobal filter_block1d16_%1, 6, 6, 14, LOCAL_VARS_SIZE, \
psraw m0, 7
psraw m4, 7
%ifidn %1, h8_add_src
%if ARCH_X86=1 && CONFIG_PIC=1
pcmpeqb m2, m2 ;all ones
psrlw m2, 8 ;even_byte_mask
mova m2, [GLOBAL(even_byte_mask)]
movu m5, [srcq]
mova m7, m5
pand m5, [GLOBAL(even_byte_mask)]
pand m5, m2
psrlw m7, 8
paddsw m0, m5
paddsw m4, m7
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment