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
212f161c
Commit
212f161c
authored
Feb 01, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: make rgb24 function macros slightly smaller.
parent
3b637dca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
input.asm
libswscale/x86/input.asm
+13
-16
No files found.
libswscale/x86/input.asm
View file @
212f161c
...
...
@@ -273,31 +273,28 @@ cglobal %2 %+ 24ToUV, 3, 4, %1, dstU, dstV, src, w
%endif
; ARCH_X86_64 && %0 == 3
%endmacro
; %1 = nr. of XMM registers for rgb-to-Y func
; %2 = nr. of XMM registers for rgb-to-UV func
%macro
RGB24_FUNCS
2
RGB24_TO_Y_FN
%1
,
rgb
RGB24_TO_Y_FN
%1
,
bgr
,
rgb
RGB24_TO_UV_FN
%2
,
rgb
RGB24_TO_UV_FN
%2
,
bgr
,
rgb
%endmacro
%if
ARCH_X86_32
INIT_MMX
mmx
RGB24_TO_Y_FN
0
,
rgb
RGB24_TO_Y_FN
0
,
bgr
,
rgb
RGB24_TO_UV_FN
0
,
rgb
RGB24_TO_UV_FN
0
,
bgr
,
rgb
RGB24_FUNCS
0
,
0
%endif
INIT_XMM
sse2
RGB24_TO_Y_FN
10
,
rgb
RGB24_TO_Y_FN
10
,
bgr
,
rgb
RGB24_TO_UV_FN
12
,
rgb
RGB24_TO_UV_FN
12
,
bgr
,
rgb
RGB24_FUNCS
10
,
12
INIT_XMM
ssse3
RGB24_TO_Y_FN
11
,
rgb
RGB24_TO_Y_FN
11
,
bgr
,
rgb
RGB24_TO_UV_FN
13
,
rgb
RGB24_TO_UV_FN
13
,
bgr
,
rgb
RGB24_FUNCS
11
,
13
INIT_XMM
avx
RGB24_TO_Y_FN
11
,
rgb
RGB24_TO_Y_FN
11
,
bgr
,
rgb
RGB24_TO_UV_FN
13
,
rgb
RGB24_TO_UV_FN
13
,
bgr
,
rgb
RGB24_FUNCS
11
,
13
;-----------------------------------------------------------------------------
; YUYV/UYVY/NV12/NV21 packed pixel shuffling.
...
...
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