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
63bac48f
Commit
63bac48f
authored
11 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
x86: dsputil: Move rv40-specific functions where they belong
parent
92f8e06e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavcodec/x86/dsputil_mmx.c
+0
-17
0 additions, 17 deletions
libavcodec/x86/dsputil_mmx.c
libavcodec/x86/dsputil_mmx.h
+0
-5
0 additions, 5 deletions
libavcodec/x86/dsputil_mmx.h
libavcodec/x86/rv40dsp_init.c
+27
-4
27 additions, 4 deletions
libavcodec/x86/rv40dsp_init.c
with
27 additions
and
26 deletions
libavcodec/x86/dsputil_mmx.c
+
0
−
17
View file @
63bac48f
...
@@ -860,23 +860,6 @@ QPEL_OP(put_no_rnd_, ff_pw_15, _no_rnd_, mmxext)
...
@@ -860,23 +860,6 @@ QPEL_OP(put_no_rnd_, ff_pw_15, _no_rnd_, mmxext)
#if HAVE_INLINE_ASM
#if HAVE_INLINE_ASM
void
ff_put_rv40_qpel8_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_put_pixels8_xy2_mmx
(
dst
,
src
,
stride
,
8
);
}
void
ff_put_rv40_qpel16_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_put_pixels16_xy2_mmx
(
dst
,
src
,
stride
,
16
);
}
void
ff_avg_rv40_qpel8_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_avg_pixels8_xy2_mmx
(
dst
,
src
,
stride
,
8
);
}
void
ff_avg_rv40_qpel16_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_avg_pixels16_xy2_mmx
(
dst
,
src
,
stride
,
16
);
}
static
void
gmc_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
static
void
gmc_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
stride
,
int
h
,
int
ox
,
int
oy
,
int
stride
,
int
h
,
int
ox
,
int
oy
,
int
dxx
,
int
dxy
,
int
dyx
,
int
dyy
,
int
dxx
,
int
dxy
,
int
dyx
,
int
dyy
,
...
...
This diff is collapsed.
Click to expand it.
libavcodec/x86/dsputil_mmx.h
+
0
−
5
View file @
63bac48f
...
@@ -186,11 +186,6 @@ void ff_put_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels,
...
@@ -186,11 +186,6 @@ void ff_put_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels,
void
ff_put_pixels16_xy2_mmx
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
void
ff_put_pixels16_xy2_mmx
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
ptrdiff_t
line_size
,
int
h
);
void
ff_put_rv40_qpel8_mc33_mmx
(
uint8_t
*
block
,
uint8_t
*
pixels
,
ptrdiff_t
stride
);
void
ff_put_rv40_qpel16_mc33_mmx
(
uint8_t
*
block
,
uint8_t
*
pixels
,
ptrdiff_t
stride
);
void
ff_avg_rv40_qpel8_mc33_mmx
(
uint8_t
*
block
,
uint8_t
*
pixels
,
ptrdiff_t
stride
);
void
ff_avg_rv40_qpel16_mc33_mmx
(
uint8_t
*
block
,
uint8_t
*
pixels
,
ptrdiff_t
stride
);
void
ff_deinterlace_line_mmx
(
uint8_t
*
dst
,
void
ff_deinterlace_line_mmx
(
uint8_t
*
dst
,
const
uint8_t
*
lum_m4
,
const
uint8_t
*
lum_m3
,
const
uint8_t
*
lum_m4
,
const
uint8_t
*
lum_m3
,
const
uint8_t
*
lum_m2
,
const
uint8_t
*
lum_m1
,
const
uint8_t
*
lum_m2
,
const
uint8_t
*
lum_m1
,
...
...
This diff is collapsed.
Click to expand it.
libavcodec/x86/rv40dsp_init.c
+
27
−
4
View file @
63bac48f
...
@@ -188,6 +188,29 @@ QPEL_FUNCS_SET (OP, 3, 2, OPT)
...
@@ -188,6 +188,29 @@ QPEL_FUNCS_SET (OP, 3, 2, OPT)
#endif
/* HAVE_YASM */
#endif
/* HAVE_YASM */
#if HAVE_MMX_INLINE
static
void
put_rv40_qpel8_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_put_pixels8_xy2_mmx
(
dst
,
src
,
stride
,
8
);
}
static
void
put_rv40_qpel16_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_put_pixels16_xy2_mmx
(
dst
,
src
,
stride
,
16
);
}
static
void
avg_rv40_qpel8_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_avg_pixels8_xy2_mmx
(
dst
,
src
,
stride
,
8
);
}
static
void
avg_rv40_qpel16_mc33_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
ptrdiff_t
stride
)
{
ff_avg_pixels16_xy2_mmx
(
dst
,
src
,
stride
,
16
);
}
#endif
/* HAVE_MMX_INLINE */
av_cold
void
ff_rv40dsp_init_x86
(
RV34DSPContext
*
c
)
av_cold
void
ff_rv40dsp_init_x86
(
RV34DSPContext
*
c
)
{
{
#if HAVE_YASM
#if HAVE_YASM
...
@@ -197,10 +220,10 @@ av_cold void ff_rv40dsp_init_x86(RV34DSPContext *c)
...
@@ -197,10 +220,10 @@ av_cold void ff_rv40dsp_init_x86(RV34DSPContext *c)
c
->
put_chroma_pixels_tab
[
0
]
=
ff_put_rv40_chroma_mc8_mmx
;
c
->
put_chroma_pixels_tab
[
0
]
=
ff_put_rv40_chroma_mc8_mmx
;
c
->
put_chroma_pixels_tab
[
1
]
=
ff_put_rv40_chroma_mc4_mmx
;
c
->
put_chroma_pixels_tab
[
1
]
=
ff_put_rv40_chroma_mc4_mmx
;
#if HAVE_MMX_INLINE
#if HAVE_MMX_INLINE
c
->
put_pixels_tab
[
0
][
15
]
=
ff_
put_rv40_qpel16_mc33_mmx
;
c
->
put_pixels_tab
[
0
][
15
]
=
put_rv40_qpel16_mc33_mmx
;
c
->
put_pixels_tab
[
1
][
15
]
=
ff_
put_rv40_qpel8_mc33_mmx
;
c
->
put_pixels_tab
[
1
][
15
]
=
put_rv40_qpel8_mc33_mmx
;
c
->
avg_pixels_tab
[
0
][
15
]
=
ff_
avg_rv40_qpel16_mc33_mmx
;
c
->
avg_pixels_tab
[
0
][
15
]
=
avg_rv40_qpel16_mc33_mmx
;
c
->
avg_pixels_tab
[
1
][
15
]
=
ff_
avg_rv40_qpel8_mc33_mmx
;
c
->
avg_pixels_tab
[
1
][
15
]
=
avg_rv40_qpel8_mc33_mmx
;
#endif
/* HAVE_MMX_INLINE */
#endif
/* HAVE_MMX_INLINE */
#if ARCH_X86_32
#if ARCH_X86_32
QPEL_MC_SET
(
put_
,
_mmx
)
QPEL_MC_SET
(
put_
,
_mmx
)
...
...
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