Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
47570dbd
Commit
47570dbd
authored
9 years ago
by
Diego Biurrun
Browse files
Options
Downloads
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
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavcodec/ppc/fft_altivec.S
+2
-2
2 additions, 2 deletions
libavcodec/ppc/fft_altivec.S
libavcodec/ppc/fft_init.c
+2
-2
2 additions, 2 deletions
libavcodec/ppc/fft_init.c
with
4 additions
and
4 deletions
libavcodec/ppc/fft_altivec.S
+
2
−
2
View file @
47570dbd
...
...
@@ -40,7 +40,7 @@
#include "config.h"
#if HAVE_GNU_AS && HAVE_ALTIVEC
#if HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
#include "asm.S"
...
...
@@ -451,4 +451,4 @@ fft_dispatch_tab\suffix\()_altivec:
DECL_FFTS
0
DECL_FFTS
1,
_interleave
#endif /* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif /* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
This diff is collapsed.
Click to expand it.
libavcodec/ppc/fft_init.c
+
2
−
2
View file @
47570dbd
...
...
@@ -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
));
}
}
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
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_half
=
imdct_half_altivec
;
}
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC */
#endif
/* HAVE_GNU_AS && HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment