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
213c7965
Commit
213c7965
authored
Mar 11, 2020
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/aarch64: Fix compilation with --disable-neon
Fixes ticket #8565.
parent
9a217549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Makefile
libavcodec/aarch64/Makefile
+2
-2
idctdsp_init_aarch64.c
libavcodec/aarch64/idctdsp_init_aarch64.c
+5
-1
No files found.
libavcodec/aarch64/Makefile
View file @
213c7965
...
...
@@ -6,6 +6,7 @@ OBJS-$(CONFIG_H264DSP) += aarch64/h264dsp_init_aarch64.o
OBJS-$(CONFIG_H264PRED)
+=
aarch64/h264pred_init.o
OBJS-$(CONFIG_H264QPEL)
+=
aarch64/h264qpel_init_aarch64.o
OBJS-$(CONFIG_HPELDSP)
+=
aarch64/hpeldsp_init_aarch64.o
OBJS-$(CONFIG_IDCTDSP)
+=
aarch64/idctdsp_init_aarch64.o
OBJS-$(CONFIG_MPEGAUDIODSP)
+=
aarch64/mpegaudiodsp_init.o
OBJS-$(CONFIG_NEON_CLOBBER_TEST)
+=
aarch64/neontest.o
OBJS-$(CONFIG_VIDEODSP)
+=
aarch64/videodsp_init.o
...
...
@@ -42,8 +43,7 @@ NEON-OBJS-$(CONFIG_H264PRED) += aarch64/h264pred_neon.o
NEON-OBJS-$(CONFIG_H264QPEL)
+=
aarch64/h264qpel_neon.o
\
aarch64/hpeldsp_neon.o
NEON-OBJS-$(CONFIG_HPELDSP)
+=
aarch64/hpeldsp_neon.o
NEON-OBJS-$(CONFIG_IDCTDSP)
+=
aarch64/idctdsp_init_aarch64.o
\
aarch64/simple_idct_neon.o
NEON-OBJS-$(CONFIG_IDCTDSP)
+=
aarch64/simple_idct_neon.o
NEON-OBJS-$(CONFIG_MDCT)
+=
aarch64/mdct_neon.o
NEON-OBJS-$(CONFIG_MPEGAUDIODSP)
+=
aarch64/mpegaudiodsp_neon.o
NEON-OBJS-$(CONFIG_VP8DSP)
+=
aarch64/vp8dsp_neon.o
...
...
libavcodec/aarch64/idctdsp_init_aarch64.c
View file @
213c7965
...
...
@@ -21,6 +21,8 @@
*/
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/arm/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h"
#include "idct.h"
...
...
@@ -28,7 +30,9 @@
av_cold
void
ff_idctdsp_init_aarch64
(
IDCTDSPContext
*
c
,
AVCodecContext
*
avctx
,
unsigned
high_bit_depth
)
{
if
(
!
avctx
->
lowres
&&
!
high_bit_depth
)
{
int
cpu_flags
=
av_get_cpu_flags
();
if
(
have_neon
(
cpu_flags
)
&&
!
avctx
->
lowres
&&
!
high_bit_depth
)
{
if
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLENEON
)
{
...
...
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