Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
48b7c45b
Commit
48b7c45b
authored
Nov 21, 2017
by
Martin Vignali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86/utvideodsp : make macro for func
parent
6a7eb65e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
utvideodsp.asm
libavcodec/x86/utvideodsp.asm
+10
-2
No files found.
libavcodec/x86/utvideodsp.asm
View file @
48b7c45b
...
...
@@ -29,11 +29,10 @@ pw_1023: times 8 dw 1023
SECTION
.
text
INIT_XMM
sse2
; 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
add
src_rq
,
wq
...
...
@@ -68,7 +67,12 @@ DEFINE_ARGS src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, x
sub
hd
,
1
jg
.
nextrow
REP_RET
%endmacro
INIT_XMM
sse2
RESTORE_RGB_PLANES
%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
shl
linesize_rq
,
1
...
...
@@ -109,3 +113,7 @@ DEFINE_ARGS src_r, src_g, src_b, linesize_r, linesize_g, linesize_b, x
sub
hd
,
1
jg
.
nextrow
REP_RET
%endmacro
INIT_XMM
sse2
RESTORE_RGB_PLANES10
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment