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
ea60dfe2
Commit
ea60dfe2
authored
May 11, 2012
by
Michael Kostylev
Committed by
Diego Biurrun
May 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.
parent
ec2dbec8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
vc1dsp_mmx.c
libavcodec/x86/vc1dsp_mmx.c
+0
-2
vc1dsp_yasm.asm
libavcodec/x86/vc1dsp_yasm.asm
+0
-11
No files found.
libavcodec/x86/vc1dsp_mmx.c
View file @
ea60dfe2
...
@@ -701,7 +701,6 @@ static void vc1_h_loop_filter16_ ## EXT(uint8_t *src, int stride, int pq) \
...
@@ -701,7 +701,6 @@ static void vc1_h_loop_filter16_ ## EXT(uint8_t *src, int stride, int pq) \
}
}
#if HAVE_YASM
#if HAVE_YASM
LOOP_FILTER
(
mmx
)
LOOP_FILTER
(
mmx2
)
LOOP_FILTER
(
mmx2
)
LOOP_FILTER
(
sse2
)
LOOP_FILTER
(
sse2
)
LOOP_FILTER
(
ssse3
)
LOOP_FILTER
(
ssse3
)
...
@@ -790,7 +789,6 @@ void ff_vc1dsp_init_mmx(VC1DSPContext *dsp)
...
@@ -790,7 +789,6 @@ void ff_vc1dsp_init_mmx(VC1DSPContext *dsp)
#if HAVE_YASM
#if HAVE_YASM
if
(
mm_flags
&
AV_CPU_FLAG_MMX
)
{
if
(
mm_flags
&
AV_CPU_FLAG_MMX
)
{
ASSIGN_LF
(
mmx
);
dsp
->
put_no_rnd_vc1_chroma_pixels_tab
[
0
]
=
ff_put_vc1_chroma_mc8_mmx_nornd
;
dsp
->
put_no_rnd_vc1_chroma_pixels_tab
[
0
]
=
ff_put_vc1_chroma_mc8_mmx_nornd
;
}
}
return
;
return
;
...
...
libavcodec/x86/vc1dsp_yasm.asm
View file @
ea60dfe2
...
@@ -227,13 +227,6 @@ section .text
...
@@ -227,13 +227,6 @@ section .text
imul
r2
,
0x01010101
imul
r2
,
0x01010101
%endmacro
%endmacro
; I do not know why the sign extension is needed...
%macro
PSIGNW_SRA_MMX
2
psraw
%2
,
15
PSIGNW_MMX
%1
,
%2
%endmacro
%macro
VC1_LF_MMX
1
%macro
VC1_LF_MMX
1
INIT_MMX
INIT_MMX
cglobal
vc1_v_loop_filter_internal_
%1
cglobal
vc1_v_loop_filter_internal_
%1
...
@@ -274,10 +267,6 @@ cglobal vc1_h_loop_filter8_%1, 3,5,0
...
@@ -274,10 +267,6 @@ cglobal vc1_h_loop_filter8_%1, 3,5,0
RET
RET
%endmacro
%endmacro
%define
PABSW
PABSW_MMX
%define
PSIGNW
PSIGNW_SRA_MMX
VC1_LF_MMX
mmx
%define
PABSW
PABSW_MMX2
%define
PABSW
PABSW_MMX2
VC1_LF_MMX
mmx2
VC1_LF_MMX
mmx2
...
...
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