aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/utvideodsp.asm
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-11-21 08:36:00 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-11-21 09:00:47 +0100
commitcaf51a573d64e856e3dce6be40e15b265452dccc (patch)
treeb88562adea057dbf82a73f7d72d7b0af64e444b8 /libavcodec/x86/utvideodsp.asm
parentb5ebe38443542c4d6ca285026670512da482d8e5 (diff)
downloadffmpeg-caf51a573d64e856e3dce6be40e15b265452dccc.tar.gz
avcodec/x86/utvideodsp.asm : cosmetic
better func separator and add comment for the restore rgb planes10 declaration
Diffstat (limited to 'libavcodec/x86/utvideodsp.asm')
-rw-r--r--libavcodec/x86/utvideodsp.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/x86/utvideodsp.asm b/libavcodec/x86/utvideodsp.asm
index b67a509dda..6e13de39aa 100644
--- a/libavcodec/x86/utvideodsp.asm
+++ b/libavcodec/x86/utvideodsp.asm
@@ -30,9 +30,11 @@ pw_1023: times 8 dw 1023
SECTION .text
+;-------------------------------------------------------------------------------------------
; void restore_rgb_planes(uint8_t *src_r, uint8_t *src_g, uint8_t *src_b,
; ptrdiff_t linesize_r, ptrdiff_t linesize_g, ptrdiff_t linesize_b,
; int width, int height)
+;-------------------------------------------------------------------------------------------
%macro RESTORE_RGB_PLANES 0
cglobal restore_rgb_planes, 7 + ARCH_X86_64, 7 + ARCH_X86_64 * 2, 4, src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, w, h, x
movsxdifnidn wq, wd
@@ -82,6 +84,11 @@ INIT_YMM avx2
RESTORE_RGB_PLANES
%endif
+;-------------------------------------------------------------------------------------------
+; void restore_rgb_planes10(uint16_t *src_r, uint16_t *src_g, uint16_t *src_b,
+; ptrdiff_t linesize_r, ptrdiff_t linesize_g, ptrdiff_t linesize_b,
+; int width, int height)
+;-------------------------------------------------------------------------------------------
%macro RESTORE_RGB_PLANES10 0
cglobal restore_rgb_planes10, 7 + ARCH_X86_64, 7 + ARCH_X86_64 * 2, 5, src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, w, h, x
shl wd, 1