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
abce6dfd
Commit
abce6dfd
authored
11 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
avcodec/x86/vp3dsp_init: move mmx functions under HAVE_MMX_INLINE
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9a6e814b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/x86/vp3dsp_init.c
+4
-4
4 additions, 4 deletions
libavcodec/x86/vp3dsp_init.c
with
4 additions
and
4 deletions
libavcodec/x86/vp3dsp_init.c
+
4
−
4
View file @
abce6dfd
...
@@ -43,7 +43,7 @@ void ff_vp3_v_loop_filter_mmxext(uint8_t *src, int stride,
...
@@ -43,7 +43,7 @@ void ff_vp3_v_loop_filter_mmxext(uint8_t *src, int stride,
void
ff_vp3_h_loop_filter_mmxext
(
uint8_t
*
src
,
int
stride
,
void
ff_vp3_h_loop_filter_mmxext
(
uint8_t
*
src
,
int
stride
,
int
*
bounding_values
);
int
*
bounding_values
);
#if HAVE_INLINE
_ASM
#if HAVE_
MMX_
INLINE
#define MOVQ_BFE(regd) \
#define MOVQ_BFE(regd) \
__asm__ volatile ( \
__asm__ volatile ( \
...
@@ -95,15 +95,15 @@ static void put_vp_no_rnd_pixels8_l2_mmx(uint8_t *dst, const uint8_t *a, const u
...
@@ -95,15 +95,15 @@ static void put_vp_no_rnd_pixels8_l2_mmx(uint8_t *dst, const uint8_t *a, const u
:
"memory"
);
:
"memory"
);
// STOP_TIMER("put_vp_no_rnd_pixels8_l2_mmx")
// STOP_TIMER("put_vp_no_rnd_pixels8_l2_mmx")
}
}
#endif
/* HAVE_INLINE
_ASM
*/
#endif
/* HAVE_
MMX_
INLINE */
av_cold
void
ff_vp3dsp_init_x86
(
VP3DSPContext
*
c
,
int
flags
)
av_cold
void
ff_vp3dsp_init_x86
(
VP3DSPContext
*
c
,
int
flags
)
{
{
int
cpuflags
=
av_get_cpu_flags
();
int
cpuflags
=
av_get_cpu_flags
();
#if HAVE_INLINE
_ASM
#if HAVE_
MMX_
INLINE
c
->
put_no_rnd_pixels_l2
=
put_vp_no_rnd_pixels8_l2_mmx
;
c
->
put_no_rnd_pixels_l2
=
put_vp_no_rnd_pixels8_l2_mmx
;
#endif
/* HAVE_INLINE
_ASM
*/
#endif
/* HAVE_
MMX_
INLINE */
#if ARCH_X86_32
#if ARCH_X86_32
if
(
EXTERNAL_MMX
(
cpuflags
))
{
if
(
EXTERNAL_MMX
(
cpuflags
))
{
...
...
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