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
cd529172
Commit
cd529172
authored
Aug 20, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: rv40dsp: Move inline assembly optimizations out of YASM init section
parent
a5195839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
rv40dsp_init.c
libavcodec/x86/rv40dsp_init.c
+7
-4
No files found.
libavcodec/x86/rv40dsp_init.c
View file @
cd529172
...
...
@@ -213,18 +213,21 @@ static void avg_rv40_qpel16_mc33_mmx(uint8_t *dst, uint8_t *src,
av_cold
void
ff_rv40dsp_init_x86
(
RV34DSPContext
*
c
)
{
#if HAVE_YASM
int
cpu_flags
=
av_get_cpu_flags
();
if
(
EXTERNAL_MMX
(
cpu_flags
))
{
c
->
put_chroma_pixels_tab
[
0
]
=
ff_put_rv40_chroma_mc8_mmx
;
c
->
put_chroma_pixels_tab
[
1
]
=
ff_put_rv40_chroma_mc4_mmx
;
#if HAVE_MMX_INLINE
if
(
INLINE_MMX
(
cpu_flags
))
{
c
->
put_pixels_tab
[
0
][
15
]
=
put_rv40_qpel16_mc33_mmx
;
c
->
put_pixels_tab
[
1
][
15
]
=
put_rv40_qpel8_mc33_mmx
;
c
->
avg_pixels_tab
[
0
][
15
]
=
avg_rv40_qpel16_mc33_mmx
;
c
->
avg_pixels_tab
[
1
][
15
]
=
avg_rv40_qpel8_mc33_mmx
;
}
#endif
/* HAVE_MMX_INLINE */
#if HAVE_YASM
if
(
EXTERNAL_MMX
(
cpu_flags
))
{
c
->
put_chroma_pixels_tab
[
0
]
=
ff_put_rv40_chroma_mc8_mmx
;
c
->
put_chroma_pixels_tab
[
1
]
=
ff_put_rv40_chroma_mc4_mmx
;
#if ARCH_X86_32
QPEL_MC_SET
(
put_
,
_mmx
)
#endif
...
...
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