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
b015872c
Commit
b015872c
authored
Oct 01, 2016
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huffyuvdsp: Enable the altivec code for PPC little-endian as well
Confirmed to work by checkasm.
parent
1d25a869
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
huffyuvdsp_altivec.c
libavcodec/ppc/huffyuvdsp_altivec.c
+4
-4
No files found.
libavcodec/ppc/huffyuvdsp_altivec.c
View file @
b015872c
...
...
@@ -32,7 +32,7 @@
#include "libavutil/ppc/util_altivec.h"
#include "libavcodec/huffyuvdsp.h"
#if HAVE_ALTIVEC
&& HAVE_BIGENDIAN
#if HAVE_ALTIVEC
static
void
add_bytes_altivec
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
w
)
{
register
int
i
;
...
...
@@ -49,14 +49,14 @@ static void add_bytes_altivec(uint8_t *dst, uint8_t *src, int w)
for
(;
i
<
w
;
i
++
)
dst
[
i
]
=
src
[
i
];
}
#endif
/* HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
#endif
/* HAVE_ALTIVEC */
av_cold
void
ff_huffyuvdsp_init_ppc
(
HuffYUVDSPContext
*
c
)
{
#if HAVE_ALTIVEC
&& HAVE_BIGENDIAN
#if HAVE_ALTIVEC
if
(
!
PPC_ALTIVEC
(
av_get_cpu_flags
()))
return
;
c
->
add_bytes
=
add_bytes_altivec
;
#endif
/* HAVE_ALTIVEC
&& HAVE_BIGENDIAN
*/
#endif
/* HAVE_ALTIVEC */
}
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