Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
47570dbd
Commit
47570dbd
authored
Jan 30, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefs
Also fix #endif comments in the FFT init code.
parent
c15f6098
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fft_altivec.S
libavcodec/ppc/fft_altivec.S
+2
-2
fft_init.c
libavcodec/ppc/fft_init.c
+2
-2
No files found.
libavcodec/ppc/fft_altivec.S
View file @
47570dbd
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include "config.h"
#include "config.h"
#if HAVE_GNU_AS && HAVE_ALTIVEC
#if HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
#include "asm.S"
#include "asm.S"
...
@@ -451,4 +451,4 @@ fft_dispatch_tab\suffix\()_altivec:
...
@@ -451,4 +451,4 @@ fft_dispatch_tab\suffix\()_altivec:
DECL_FFTS 0
DECL_FFTS 0
DECL_FFTS 1, _interleave
DECL_FFTS 1, _interleave
#endif /* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif /* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
libavcodec/ppc/fft_init.c
View file @
47570dbd
...
@@ -139,7 +139,7 @@ static void imdct_calc_altivec(FFTContext *s, FFTSample *output, const FFTSample
...
@@ -139,7 +139,7 @@ static void imdct_calc_altivec(FFTContext *s, FFTSample *output, const FFTSample
p1
[
k
]
=
vec_perm
(
b
,
b
,
vcprm
(
3
,
2
,
1
,
0
));
p1
[
k
]
=
vec_perm
(
b
,
b
,
vcprm
(
3
,
2
,
1
,
0
));
}
}
}
}
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
av_cold
void
ff_fft_init_ppc
(
FFTContext
*
s
)
av_cold
void
ff_fft_init_ppc
(
FFTContext
*
s
)
{
{
...
@@ -152,5 +152,5 @@ av_cold void ff_fft_init_ppc(FFTContext *s)
...
@@ -152,5 +152,5 @@ av_cold void ff_fft_init_ppc(FFTContext *s)
s
->
imdct_calc
=
imdct_calc_altivec
;
s
->
imdct_calc
=
imdct_calc_altivec
;
s
->
imdct_half
=
imdct_half_altivec
;
s
->
imdct_half
=
imdct_half_altivec
;
}
}
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
}
}
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