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
a839d6ab
Commit
a839d6ab
authored
Jun 08, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: fix float_dsp breakage from
d5a7229b
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
d5a7229b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
float_dsp_arm.h
libavutil/arm/float_dsp_arm.h
+2
-2
float_dsp_init_arm.c
libavutil/arm/float_dsp_init_arm.c
+2
-2
float_dsp_init_neon.c
libavutil/arm/float_dsp_init_neon.c
+2
-2
float_dsp_init_vfp.c
libavutil/arm/float_dsp_init_vfp.c
+2
-2
No files found.
libavutil/arm/float_dsp_arm.h
View file @
a839d6ab
...
...
@@ -23,7 +23,7 @@
#include "libavutil/float_dsp.h"
void
ff_
dsputil
_init_vfp
(
AVFloatDSPContext
*
fdsp
);
void
ff_
dsputil
_init_neon
(
AVFloatDSPContext
*
fdsp
);
void
ff_
float_dsp
_init_vfp
(
AVFloatDSPContext
*
fdsp
);
void
ff_
float_dsp
_init_neon
(
AVFloatDSPContext
*
fdsp
);
#endif
/* AVUTIL_ARM_FLOAT_DSP_ARM_H */
libavutil/arm/float_dsp_init_arm.c
View file @
a839d6ab
...
...
@@ -27,7 +27,7 @@ void ff_float_dsp_init_arm(AVFloatDSPContext *fdsp)
int
cpu_flags
=
av_get_cpu_flags
();
if
(
have_vfp
(
cpu_flags
))
ff_
dsputil
_init_vfp
(
fdsp
);
ff_
float_dsp
_init_vfp
(
fdsp
);
if
(
have_neon
(
cpu_flags
))
ff_
dsputil
_init_neon
(
fdsp
);
ff_
float_dsp
_init_neon
(
fdsp
);
}
libavutil/arm/float_dsp_init_neon.c
View file @
a839d6ab
...
...
@@ -26,7 +26,7 @@
void
ff_vector_fmul_neon
(
float
*
dst
,
const
float
*
src0
,
const
float
*
src1
,
int
len
);
void
ff_
dsputil
_init_neon
(
AVFloatDSPContext
*
fdsp
)
void
ff_
float_dsp
_init_neon
(
AVFloatDSPContext
*
fdsp
)
{
c
->
vector_fmul
=
ff_vector_fmul_neon
;
fdsp
->
vector_fmul
=
ff_vector_fmul_neon
;
}
libavutil/arm/float_dsp_init_vfp.c
View file @
a839d6ab
...
...
@@ -25,10 +25,10 @@
void
ff_vector_fmul_vfp
(
float
*
dst
,
const
float
*
src0
,
const
float
*
src1
,
int
len
);
void
ff_
dsputil_init_vfp
(
DSPContext
*
c
,
AVCodecContext
*
avctx
)
void
ff_
float_dsp_init_vfp
(
AVFloatDSPContext
*
fdsp
)
{
int
cpu_flags
=
av_get_cpu_flags
();
if
(
!
have_vfpv3
(
cpu_flags
))
c
->
vector_fmul
=
ff_vector_fmul_vfp
;
fdsp
->
vector_fmul
=
ff_vector_fmul_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