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
7ffda66f
Commit
7ffda66f
authored
Aug 23, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm: float_dsp: Propagate cpu_flags to vfp initialization function
parent
bd549cba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
float_dsp_arm.h
libavutil/arm/float_dsp_arm.h
+1
-1
float_dsp_init_arm.c
libavutil/arm/float_dsp_init_arm.c
+1
-1
float_dsp_init_vfp.c
libavutil/arm/float_dsp_init_vfp.c
+1
-3
No files found.
libavutil/arm/float_dsp_arm.h
View file @
7ffda66f
...
...
@@ -23,7 +23,7 @@
#include "libavutil/float_dsp.h"
void
ff_float_dsp_init_vfp
(
AVFloatDSPContext
*
fdsp
);
void
ff_float_dsp_init_vfp
(
AVFloatDSPContext
*
fdsp
,
int
cpu_flags
);
void
ff_float_dsp_init_neon
(
AVFloatDSPContext
*
fdsp
);
#endif
/* AVUTIL_ARM_FLOAT_DSP_ARM_H */
libavutil/arm/float_dsp_init_arm.c
View file @
7ffda66f
...
...
@@ -28,7 +28,7 @@ av_cold void ff_float_dsp_init_arm(AVFloatDSPContext *fdsp)
int
cpu_flags
=
av_get_cpu_flags
();
if
(
have_vfp
(
cpu_flags
))
ff_float_dsp_init_vfp
(
fdsp
);
ff_float_dsp_init_vfp
(
fdsp
,
cpu_flags
);
if
(
have_neon
(
cpu_flags
))
ff_float_dsp_init_neon
(
fdsp
);
}
libavutil/arm/float_dsp_init_vfp.c
View file @
7ffda66f
...
...
@@ -29,10 +29,8 @@ void ff_vector_fmul_vfp(float *dst, const float *src0, const float *src1,
void
ff_vector_fmul_reverse_vfp
(
float
*
dst
,
const
float
*
src0
,
const
float
*
src1
,
int
len
);
av_cold
void
ff_float_dsp_init_vfp
(
AVFloatDSPContext
*
fdsp
)
av_cold
void
ff_float_dsp_init_vfp
(
AVFloatDSPContext
*
fdsp
,
int
cpu_flags
)
{
int
cpu_flags
=
av_get_cpu_flags
();
if
(
!
have_vfpv3
(
cpu_flags
))
fdsp
->
vector_fmul
=
ff_vector_fmul_vfp
;
fdsp
->
vector_fmul_reverse
=
ff_vector_fmul_reverse_vfp
;
...
...
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