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
48f7163f
Commit
48f7163f
authored
Aug 14, 2011
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil_mmx: Honor HAVE_AMD3DNOW
parent
c14fe6bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+5
-5
No files found.
libavcodec/x86/dsputil_mmx.c
View file @
48f7163f
...
...
@@ -2676,12 +2676,12 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c
->
add_hfyu_median_prediction
=
ff_add_hfyu_median_prediction_mmx2
;
#endif
#if HAVE_7REGS
if
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
if
(
HAVE_AMD3DNOW
&&
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
)
c
->
add_hfyu_median_prediction
=
add_hfyu_median_prediction_cmov
;
#endif
c
->
add_png_paeth_prediction
=
add_png_paeth_prediction_mmx2
;
}
else
if
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
{
}
else
if
(
HAVE_AMD3DNOW
&&
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
)
{
c
->
prefetch
=
prefetch_3dnow
;
if
(
!
high_bit_depth
)
{
...
...
@@ -2833,11 +2833,11 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
}
#endif
if
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
{
if
(
HAVE_AMD3DNOW
&&
(
mm_flags
&
AV_CPU_FLAG_3DNOW
))
{
c
->
vorbis_inverse_coupling
=
vorbis_inverse_coupling_3dnow
;
c
->
vector_fmul
=
vector_fmul_3dnow
;
}
if
(
mm_flags
&
AV_CPU_FLAG_3DNOWEXT
)
{
if
(
HAVE_AMD3DNOWEXT
&&
(
mm_flags
&
AV_CPU_FLAG_3DNOWEXT
))
{
c
->
vector_fmul_reverse
=
vector_fmul_reverse_3dnow2
;
#if HAVE_6REGS
c
->
vector_fmul_window
=
vector_fmul_window_3dnow2
;
...
...
@@ -2868,7 +2868,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c
->
scalarproduct_float
=
ff_scalarproduct_float_sse
;
#endif
}
if
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
if
(
HAVE_AMD3DNOW
&&
(
mm_flags
&
AV_CPU_FLAG_3DNOW
)
)
c
->
vector_fmul_add
=
vector_fmul_add_3dnow
;
// faster than sse
if
(
mm_flags
&
AV_CPU_FLAG_SSE2
){
#if HAVE_YASM
...
...
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