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
0a39c9ac
Commit
0a39c9ac
authored
9 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
x86: hpeldsp: Don't check for bitexact flag when initializing VP3-specific code
That code is only ever initialized with that flag set.
parent
95c1df92
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavcodec/x86/hpeldsp.h
+1
-1
1 addition, 1 deletion
libavcodec/x86/hpeldsp.h
libavcodec/x86/hpeldsp_init.c
+1
-1
1 addition, 1 deletion
libavcodec/x86/hpeldsp_init.c
libavcodec/x86/hpeldsp_vp3_init.c
+5
-9
5 additions, 9 deletions
libavcodec/x86/hpeldsp_vp3_init.c
with
7 additions
and
11 deletions
libavcodec/x86/hpeldsp.h
+
1
−
1
View file @
0a39c9ac
...
@@ -37,6 +37,6 @@ void ff_put_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels,
...
@@ -37,6 +37,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_hpeldsp_vp3_init_x86
(
HpelDSPContext
*
c
,
int
cpu_
flags
,
int
flags
);
void
ff_hpeldsp_vp3_init_x86
(
HpelDSPContext
*
c
,
int
cpu_flags
);
#endif
/* AVCODEC_X86_HPELDSP_H */
#endif
/* AVCODEC_X86_HPELDSP_H */
This diff is collapsed.
Click to expand it.
libavcodec/x86/hpeldsp_init.c
+
1
−
1
View file @
0a39c9ac
...
@@ -255,5 +255,5 @@ av_cold void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags)
...
@@ -255,5 +255,5 @@ av_cold void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags)
hpeldsp_init_sse2_fast
(
c
,
flags
);
hpeldsp_init_sse2_fast
(
c
,
flags
);
if
(
CONFIG_VP3_DECODER
)
if
(
CONFIG_VP3_DECODER
)
ff_hpeldsp_vp3_init_x86
(
c
,
cpu_
flags
,
flags
);
ff_hpeldsp_vp3_init_x86
(
c
,
cpu_flags
);
}
}
This diff is collapsed.
Click to expand it.
libavcodec/x86/hpeldsp_vp3_init.c
+
5
−
9
View file @
0a39c9ac
...
@@ -38,19 +38,15 @@ void ff_put_no_rnd_pixels8_y2_exact_3dnow(uint8_t *block,
...
@@ -38,19 +38,15 @@ void ff_put_no_rnd_pixels8_y2_exact_3dnow(uint8_t *block,
const
uint8_t
*
pixels
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
ptrdiff_t
line_size
,
int
h
);
av_cold
void
ff_hpeldsp_vp3_init_x86
(
HpelDSPContext
*
c
,
int
cpu_
flags
,
int
flags
)
av_cold
void
ff_hpeldsp_vp3_init_x86
(
HpelDSPContext
*
c
,
int
cpu_flags
)
{
{
if
(
EXTERNAL_AMD3DNOW
(
cpu_flags
))
{
if
(
EXTERNAL_AMD3DNOW
(
cpu_flags
))
{
if
(
flags
&
AV_CODEC_FLAG_BITEXACT
)
{
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
ff_put_no_rnd_pixels8_x2_exact_3dnow
;
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
ff_put_no_rnd_pixels8_x2_exact_3dnow
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
ff_put_no_rnd_pixels8_y2_exact_3dnow
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
ff_put_no_rnd_pixels8_y2_exact_3dnow
;
}
}
}
if
(
EXTERNAL_MMXEXT
(
cpu_flags
))
{
if
(
EXTERNAL_MMXEXT
(
cpu_flags
))
{
if
(
flags
&
AV_CODEC_FLAG_BITEXACT
)
{
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
ff_put_no_rnd_pixels8_x2_exact_mmxext
;
c
->
put_no_rnd_pixels_tab
[
1
][
1
]
=
ff_put_no_rnd_pixels8_x2_exact_mmxext
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
ff_put_no_rnd_pixels8_y2_exact_mmxext
;
c
->
put_no_rnd_pixels_tab
[
1
][
2
]
=
ff_put_no_rnd_pixels8_y2_exact_mmxext
;
}
}
}
}
}
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