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
ffdd93a2
Commit
ffdd93a2
authored
Jul 18, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc: fix build with altivec disabled
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
28f9ab70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vp3dsp_altivec.c
libavcodec/ppc/vp3dsp_altivec.c
+3
-1
No files found.
libavcodec/ppc/vp3dsp_altivec.c
View file @
ffdd93a2
...
...
@@ -177,9 +177,11 @@ static void vp3_idct_add_altivec(uint8_t *dst, int stride, DCTELEM block[64])
av_cold
void
ff_vp3dsp_init_ppc
(
VP3DSPContext
*
c
,
int
flags
)
{
if
(
HAVE_ALTIVEC
&&
av_get_cpu_flags
()
&
AV_CPU_FLAG_ALTIVEC
)
{
#if HAVE_ALTIVEC
if
(
av_get_cpu_flags
()
&
AV_CPU_FLAG_ALTIVEC
)
{
c
->
idct_put
=
vp3_idct_put_altivec
;
c
->
idct_add
=
vp3_idct_add_altivec
;
c
->
idct_perm
=
FF_TRANSPOSE_IDCT_PERM
;
}
#endif
}
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