diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-07-23 23:21:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-04 17:46:04 +0200 |
commit | e8c003edd259feabacef0884ea8a47b22f7cac49 (patch) | |
tree | e726df1935adf1fc0d4b924a891781ddb5039e18 | |
parent | b7863c972c937712eb0210177c47e4b51112290b (diff) | |
download | ffmpeg-e8c003edd259feabacef0884ea8a47b22f7cac49.tar.gz |
x86: hevc_deblock: remove unnecessary masking
The unpacks/shuffles later on makes it unnecessary.
Before:
1508 decicycles in h, 2096759 runs, 393 skips
2512 decicycles in v, 2095422 runs, 1730 skips
After:
1477 decicycles in h, 2096745 runs, 407 skips
2484 decicycles in v, 2095297 runs, 1855 skips
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/hevc_deblock.asm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/x86/hevc_deblock.asm b/libavcodec/x86/hevc_deblock.asm index 89c0f9bb64..7fa080387e 100644 --- a/libavcodec/x86/hevc_deblock.asm +++ b/libavcodec/x86/hevc_deblock.asm @@ -355,19 +355,15 @@ ALIGN 16 psrld m8, 16 paddw m8, m10 movd r7d, m8 - and r7, 0xffff; 1dp0 + 1dp3 pshufd m8, m8, 0x4E movd r8d, m8 - and r8, 0xffff; 0dp0 + 0dp3 pshufd m8, m11, 0x31 psrld m8, 16 paddw m8, m11 movd r9d, m8 - and r9, 0xffff; 1dq0 + 1dq3 pshufd m8, m8, 0x4E movd r10d, m8 - and r10, 0xffff; 0dq0 + 0dq3 ; end calc for weak filter ; filtering mask |