summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64/h264cmc_neon.S
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-21 15:20:45 -0300
committerJames Almer <jamrial@gmail.com>2017-03-21 15:20:45 -0300
commita8474df9447d6466c77d3ec8f414cda2662f057b (patch)
tree508b0b6cbb90c13e0a9ff44023f5df96b21420fd /libavcodec/aarch64/h264cmc_neon.S
parent5a49097b42cbc3eab888d15a91eeaf5520b5c381 (diff)
parente4a94d8b36c48d95a7d412c40d7b558422ff659c (diff)
Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'
* commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c': h264chroma: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aarch64/h264cmc_neon.S')
-rw-r--r--libavcodec/aarch64/h264cmc_neon.S7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/aarch64/h264cmc_neon.S b/libavcodec/aarch64/h264cmc_neon.S
index ff97a29df1..8be7578001 100644
--- a/libavcodec/aarch64/h264cmc_neon.S
+++ b/libavcodec/aarch64/h264cmc_neon.S
@@ -21,10 +21,9 @@
#include "libavutil/aarch64/asm.S"
-/* chroma_mc8(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) */
+/* chroma_mc8(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y) */
.macro h264_chroma_mc8 type, codec=h264
function ff_\type\()_\codec\()_chroma_mc8_neon, export=1
- sxtw x2, w2
.ifc \type,avg
mov x8, x0
.endif
@@ -192,10 +191,9 @@ function ff_\type\()_\codec\()_chroma_mc8_neon, export=1
endfunc
.endm
-/* chroma_mc4(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) */
+/* chroma_mc4(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y) */
.macro h264_chroma_mc4 type, codec=h264
function ff_\type\()_\codec\()_chroma_mc4_neon, export=1
- sxtw x2, w2
.ifc \type,avg
mov x8, x0
.endif
@@ -359,7 +357,6 @@ endfunc
.macro h264_chroma_mc2 type
function ff_\type\()_h264_chroma_mc2_neon, export=1
- sxtw x2, w2
prfm pldl1strm, [x1]
prfm pldl1strm, [x1, x2]
orr w7, w4, w5