aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-15 21:59:27 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-15 21:59:27 +0000
commit751484372d0dbf8428ba327ce5e515005d2e89b5 (patch)
tree0003e2fb2027cc237f72b9a50281c3902100e592
parent2543c7fb1a6e4f5776c2c015b44454fd0eef4bd4 (diff)
downloadffmpeg-751484372d0dbf8428ba327ce5e515005d2e89b5.tar.gz
ARM: NEON H264 chroma loop filter 3 cycles faster
Originally committed as revision 24249 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/arm/h264dsp_neon.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/arm/h264dsp_neon.S b/libavcodec/arm/h264dsp_neon.S
index 488c7acc12..bd15ced736 100644
--- a/libavcodec/arm/h264dsp_neon.S
+++ b/libavcodec/arm/h264dsp_neon.S
@@ -589,14 +589,14 @@ endfunc
vrshrn.i16 d4, q2, #3
vclt.u8 d28, d28, d22 @ < beta
vclt.u8 d30, d30, d22 @ < beta
- vand d26, d26, d28
- vneg.s8 d25, d24
- vand d26, d26, d30
vmin.s8 d4, d4, d24
- vmovl.u8 q14, d16
+ vneg.s8 d25, d24
+ vand d26, d26, d28
vmax.s8 d4, d4, d25
- vand d4, d4, d26
+ vand d26, d26, d30
vmovl.u8 q11, d0
+ vand d4, d4, d26
+ vmovl.u8 q14, d16
vaddw.s8 q14, q14, d4
vsubw.s8 q11, q11, d4
vqmovun.s16 d16, q14