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
c87bb9c0
Commit
c87bb9c0
authored
Oct 12, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/ppc/fft_init: Fix compilation on ppc64le with --disable-vsx.
parent
fb934f23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fft_init.c
libavcodec/ppc/fft_init.c
+3
-3
No files found.
libavcodec/ppc/fft_init.c
View file @
c87bb9c0
...
...
@@ -42,7 +42,7 @@ void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z);
void
ff_fft_calc_interleave_altivec
(
FFTContext
*
s
,
FFTComplex
*
z
);
#endif
#if HAVE_GNU_AS && HAVE_ALTIVEC
#if HAVE_GNU_AS && HAVE_ALTIVEC
&& (HAVE_BIGENDIAN || HAVE_VSX)
static
void
imdct_half_altivec
(
FFTContext
*
s
,
FFTSample
*
output
,
const
FFTSample
*
input
)
{
int
j
,
k
;
...
...
@@ -146,11 +146,11 @@ static void imdct_calc_altivec(FFTContext *s, FFTSample *output, const FFTSample
p1
[
k
]
=
vec_perm
(
b
,
b
,
vcprm
(
3
,
2
,
1
,
0
));
}
}
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC &&
HAVE_BIGENDIAN
*/
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC &&
(HAVE_BIGENDIAN || HAVE_VSX)
*/
av_cold
void
ff_fft_init_ppc
(
FFTContext
*
s
)
{
#if HAVE_GNU_AS && HAVE_ALTIVEC
#if HAVE_GNU_AS && HAVE_ALTIVEC
&& (HAVE_BIGENDIAN || HAVE_VSX)
if
(
!
PPC_ALTIVEC
(
av_get_cpu_flags
()))
return
;
...
...
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