aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-14 16:21:46 -0300
committerJames Almer <jamrial@gmail.com>2019-03-14 16:21:46 -0300
commit409e684e79b6ee0c511292326f09b13fe230e58e (patch)
treef273d8a0142d7fa4675ef0ac6555f9e3bf3656b1
parentfbd607dd560afe44c3b90de1e6cbe5265cac8f1e (diff)
parent49f9c4272c4029b57ff300d908ba03c6332fc9c4 (diff)
downloadffmpeg-409e684e79b6ee0c511292326f09b13fe230e58e.tar.gz
Merge commit '49f9c4272c4029b57ff300d908ba03c6332fc9c4'
* commit '49f9c4272c4029b57ff300d908ba03c6332fc9c4': aarch64: vp8: Skip saturating in shrn in ff_vp8_idct_add_neon Merged-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/aarch64/vp8dsp_neon.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/aarch64/vp8dsp_neon.S b/libavcodec/aarch64/vp8dsp_neon.S
index c9c5018c82..be4f26c481 100644
--- a/libavcodec/aarch64/vp8dsp_neon.S
+++ b/libavcodec/aarch64/vp8dsp_neon.S
@@ -92,8 +92,8 @@ function ff_vp8_idct_add_neon, export=1
smull v27.4s, v3.4h, v4.h[0]
sqdmulh v20.4h, v1.4h, v4.h[1]
sqdmulh v23.4h, v3.4h, v4.h[1]
- sqshrn v21.4h, v26.4s, #16
- sqshrn v22.4h, v27.4s, #16
+ shrn v21.4h, v26.4s, #16
+ shrn v22.4h, v27.4s, #16
add v21.4h, v21.4h, v1.4h
add v22.4h, v22.4h, v3.4h
@@ -117,8 +117,8 @@ function ff_vp8_idct_add_neon, export=1
st1 {v29.16b}, [x1]
sqdmulh v21.4h, v1.4h, v4.h[1]
sqdmulh v23.4h, v3.4h, v4.h[1]
- sqshrn v20.4h, v26.4s, #16
- sqshrn v22.4h, v27.4s, #16
+ shrn v20.4h, v26.4s, #16
+ shrn v22.4h, v27.4s, #16
add v20.4h, v20.4h, v1.4h
add v22.4h, v22.4h, v3.4h
add v16.4h, v0.4h, v2.4h