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
1a1a98f6
Commit
1a1a98f6
authored
Nov 07, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/ppc/util_altivec: make src pointers const, fix warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
79e02559
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util_altivec.h
libavutil/ppc/util_altivec.h
+2
-2
No files found.
libavutil/ppc/util_altivec.h
View file @
1a1a98f6
...
...
@@ -96,7 +96,7 @@ do { \
/** @brief loads unaligned vector @a *src with offset @a offset
and returns it */
#if HAVE_BIGENDIAN
static
inline
vector
unsigned
char
unaligned_load
(
int
offset
,
uint8_t
*
src
)
static
inline
vector
unsigned
char
unaligned_load
(
int
offset
,
const
uint8_t
*
src
)
{
register
vector
unsigned
char
first
=
vec_ld
(
offset
,
src
);
register
vector
unsigned
char
second
=
vec_ld
(
offset
+
15
,
src
);
...
...
@@ -112,7 +112,7 @@ static inline vector unsigned char unaligned_load(int offset, uint8_t *src)
* loads vector known misalignment
* @param perm_vec the align permute vector to combine the two loads from lvsl
*/
static
inline
vec_u8
load_with_perm_vec
(
int
offset
,
uint8_t
*
src
,
vec_u8
perm_vec
)
static
inline
vec_u8
load_with_perm_vec
(
int
offset
,
const
uint8_t
*
src
,
vec_u8
perm_vec
)
{
vec_u8
a
=
vec_ld
(
offset
,
src
);
vec_u8
b
=
vec_ld
(
offset
+
15
,
src
);
...
...
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