Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
18692375
Commit
18692375
authored
13 years ago
by
Carl Eugen Hoyos
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation with old yasm that does not support AVX.
parent
1fbd905b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libswscale/x86/input.asm
+5
-1
5 additions, 1 deletion
libswscale/x86/input.asm
libswscale/x86/output.asm
+2
-2
2 additions, 2 deletions
libswscale/x86/output.asm
with
7 additions
and
3 deletions
libswscale/x86/input.asm
+
5
−
1
View file @
18692375
...
@@ -304,8 +304,10 @@ RGB24_FUNCS 10, 12
...
@@ -304,8 +304,10 @@ RGB24_FUNCS 10, 12
INIT_XMM
ss
se3
INIT_XMM
ss
se3
RGB24_FUNCS
11
,
13
RGB24_FUNCS
11
,
13
%if HAVE_AVX
INIT_XMM
avx
INIT_XMM
avx
RGB24_FUNCS
11
,
13
RGB24_FUNCS
11
,
13
%endif
; %1 = nr. of XMM registers
; %1 = nr. of XMM registers
; %2-5 = rgba, bgra, argb or abgr (in individual characters)
; %2-5 = rgba, bgra, argb or abgr (in individual characters)
...
@@ -448,8 +450,10 @@ RGB32_FUNCS 0, 0
...
@@ -448,8 +450,10 @@ RGB32_FUNCS 0, 0
INIT_XMM
ss
e2
INIT_XMM
ss
e2
RGB32_FUNCS
8
,
12
RGB32_FUNCS
8
,
12
%if HAVE_AVX
INIT_XMM
avx
INIT_XMM
avx
RGB32_FUNCS
8
,
12
RGB32_FUNCS
8
,
12
%endif
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; YUYV/UYVY/NV12/NV21 packed pixel shuffling.
; YUYV/UYVY/NV12/NV21 packed pixel shuffling.
...
@@ -656,7 +660,7 @@ YUYV_TO_UV_FN 3, uyvy
...
@@ -656,7 +660,7 @@ YUYV_TO_UV_FN 3, uyvy
NVXX_TO_UV_FN
5
,
nv12
NVXX_TO_UV_FN
5
,
nv12
NVXX_TO_UV_FN
5
,
nv21
NVXX_TO_UV_FN
5
,
nv21
%if
def
HAVE_AVX
%if HAVE_AVX
INIT_XMM
avx
INIT_XMM
avx
; in theory, we could write a yuy2-to-y using vpand (i.e. AVX), but
; in theory, we could write a yuy2-to-y using vpand (i.e. AVX), but
; that's not faster in practice
; that's not faster in practice
...
...
This diff is collapsed.
Click to expand it.
libswscale/x86/output.asm
+
2
−
2
View file @
18692375
...
@@ -264,7 +264,7 @@ yuv2planeX_fn 9, 7, 5
...
@@ -264,7 +264,7 @@ yuv2planeX_fn 9, 7, 5
yuv2planeX_fn
10
,
7
,
5
yuv2planeX_fn
10
,
7
,
5
yuv2planeX_fn
16
,
8
,
5
yuv2planeX_fn
16
,
8
,
5
%if
def
HAVE_AVX
%if HAVE_AVX
INIT_XMM
avx
INIT_XMM
avx
yuv2planeX_fn
8
,
10
,
7
yuv2planeX_fn
8
,
10
,
7
yuv2planeX_fn
9
,
7
,
5
yuv2planeX_fn
9
,
7
,
5
...
@@ -404,7 +404,7 @@ yuv2plane1_fn 16, 6, 3
...
@@ -404,7 +404,7 @@ yuv2plane1_fn 16, 6, 3
INIT_XMM
ss
e4
INIT_XMM
ss
e4
yuv2plane1_fn
16
,
5
,
3
yuv2plane1_fn
16
,
5
,
3
%if
def
HAVE_AVX
%if HAVE_AVX
INIT_XMM
avx
INIT_XMM
avx
yuv2plane1_fn
8
,
5
,
5
yuv2plane1_fn
8
,
5
,
5
yuv2plane1_fn
9
,
5
,
3
yuv2plane1_fn
9
,
5
,
3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment