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
76888c64
Commit
76888c64
authored
Jul 27, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv34: port x86 SIMD to cpuflags.
parent
158744a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
rv34dsp.asm
libavcodec/x86/rv34dsp.asm
+6
-5
No files found.
libavcodec/x86/rv34dsp.asm
View file @
76888c64
...
...
@@ -46,7 +46,7 @@ SECTION .text
%endmacro
%macro
rv34_idct
1
cglobal
rv34_idct_
%1
_mmx2
,
1
,
2
,
0
cglobal
rv34_idct_
%1
,
1
,
2
,
0
movsx
r1
,
word
[r0]
IDCT_DC
r1
movd
m0
,
r1
...
...
@@ -58,14 +58,15 @@ cglobal rv34_idct_%1_mmx2, 1, 2, 0
REP_RET
%endmacro
INIT_MMX
INIT_MMX
mmx2
%define
IDCT_DC
IDCT_DC_ROUND
rv34_idct
dc
%define
IDCT_DC
IDCT_DC_NOROUND
rv34_idct
dc_noround
; ff_rv34_idct_dc_add_mmx(uint8_t *dst, int stride, int dc);
cglobal
rv34_idct_dc_add_mmx
,
3
,
3
INIT_MMX
mmx
cglobal
rv34_idct_dc_add
,
3
,
3
; calculate DC
IDCT_DC_ROUND
r2
pxor
m1
,
m1
...
...
@@ -167,8 +168,8 @@ cglobal rv34_idct_add, 3,3,0, d, s, b
ret
; ff_rv34_idct_dc_add_sse4(uint8_t *dst, int stride, int dc);
INIT_XMM
cglobal
rv34_idct_dc_add
_sse4
,
3
,
3
,
6
INIT_XMM
sse4
cglobal
rv34_idct_dc_add
,
3
,
3
,
6
; load data
IDCT_DC_ROUND
r2
pxor
m1
,
m1
...
...
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