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
18692375
Commit
18692375
authored
Feb 14, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with old yasm that does not support AVX.
parent
1fbd905b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
input.asm
libswscale/x86/input.asm
+5
-1
output.asm
libswscale/x86/output.asm
+2
-2
No files found.
libswscale/x86/input.asm
View file @
18692375
...
...
@@ -304,8 +304,10 @@ RGB24_FUNCS 10, 12
INIT_XMM
ssse3
RGB24_FUNCS
11
,
13
%if
HAVE_AVX
INIT_XMM
avx
RGB24_FUNCS
11
,
13
%endif
; %1 = nr. of XMM registers
; %2-5 = rgba, bgra, argb or abgr (in individual characters)
...
...
@@ -448,8 +450,10 @@ RGB32_FUNCS 0, 0
INIT_XMM
sse2
RGB32_FUNCS
8
,
12
%if
HAVE_AVX
INIT_XMM
avx
RGB32_FUNCS
8
,
12
%endif
;-----------------------------------------------------------------------------
; YUYV/UYVY/NV12/NV21 packed pixel shuffling.
...
...
@@ -656,7 +660,7 @@ YUYV_TO_UV_FN 3, uyvy
NVXX_TO_UV_FN
5
,
nv12
NVXX_TO_UV_FN
5
,
nv21
%if
def
HAVE_AVX
%if
HAVE_AVX
INIT_XMM
avx
; in theory, we could write a yuy2-to-y using vpand (i.e. AVX), but
; that's not faster in practice
...
...
libswscale/x86/output.asm
View file @
18692375
...
...
@@ -264,7 +264,7 @@ yuv2planeX_fn 9, 7, 5
yuv2planeX_fn
10
,
7
,
5
yuv2planeX_fn
16
,
8
,
5
%if
def
HAVE_AVX
%if
HAVE_AVX
INIT_XMM
avx
yuv2planeX_fn
8
,
10
,
7
yuv2planeX_fn
9
,
7
,
5
...
...
@@ -404,7 +404,7 @@ yuv2plane1_fn 16, 6, 3
INIT_XMM
sse4
yuv2plane1_fn
16
,
5
,
3
%if
def
HAVE_AVX
%if
HAVE_AVX
INIT_XMM
avx
yuv2plane1_fn
8
,
5
,
5
yuv2plane1_fn
9
,
5
,
3
...
...
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