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
1046b6b0
Commit
1046b6b0
authored
May 31, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/ppc/float_dsp_init: Disable duplicate functions
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
da9a6f4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
float_dsp_init.c
libavutil/ppc/float_dsp_init.c
+8
-5
No files found.
libavutil/ppc/float_dsp_init.c
View file @
1046b6b0
...
...
@@ -37,13 +37,16 @@ av_cold void ff_float_dsp_init_ppc(AVFloatDSPContext *fdsp, int bit_exact)
fdsp
->
vector_fmul_window
=
ff_vector_fmul_window_altivec
;
}
}
// The disabled function below are near identical to altivec and have
// been disabled to reduce code duplication
if
(
PPC_VSX
(
av_get_cpu_flags
()))
{
fdsp
->
vector_fmul
=
ff_vector_fmul_vsx
;
//
fdsp->vector_fmul = ff_vector_fmul_vsx;
fdsp
->
vector_fmul_add
=
ff_vector_fmul_add_vsx
;
fdsp
->
vector_fmul_reverse
=
ff_vector_fmul_reverse_vsx
;
//
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vsx;
if
(
!
bit_exact
)
{
fdsp
->
vector_fmul_window
=
ff_vector_fmul_window_vsx
;
}
//
if (!bit_exact) {
//
fdsp->vector_fmul_window = ff_vector_fmul_window_vsx;
//
}
}
}
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