aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/exrdsp.asm
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-09-17 18:56:39 -0300
committerJames Almer <jamrial@gmail.com>2017-09-17 19:01:40 -0300
commit98d7ad085e20f7cd3347bbaff251bd687db733ee (patch)
tree7b9fe6a5e24becd5f55161a9e7dfdc5beb15ecab /libavcodec/x86/exrdsp.asm
parent9b8c1224d7e1804b0b750de11e6a8c4648f1e115 (diff)
downloadffmpeg-98d7ad085e20f7cd3347bbaff251bd687db733ee.tar.gz
avcodec/exrdsp: improve the ExrDSPContext->reorder_pixels prototype
Make dst be the first parameter and src const. It's more in line with the rest of the codebase. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/exrdsp.asm')
-rw-r--r--libavcodec/x86/exrdsp.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/exrdsp.asm b/libavcodec/x86/exrdsp.asm
index 91d9c0b0a7..b91a7be20d 100644
--- a/libavcodec/x86/exrdsp.asm
+++ b/libavcodec/x86/exrdsp.asm
@@ -27,11 +27,11 @@
SECTION .text
;------------------------------------------------------------------------------
-; void ff_reorder_pixels(uint8_t *src, uint8_t *dst, ptrdiff_t size)
+; void ff_reorder_pixels(uint8_t *dst, const uint8_t *src, ptrdiff_t size);
;------------------------------------------------------------------------------
%macro REORDER_PIXELS 0
-cglobal reorder_pixels, 3,4,3, src1, dst, size, src2
+cglobal reorder_pixels, 3,4,3, dst, src1, size, src2
lea src2q, [src1q+sizeq] ; src2 = src + 2 * half_size
add dstq, sizeq ; dst offset by size
shr sizeq, 1 ; half_size