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
96711ecf
Commit
96711ecf
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const src for bswap
Originally committed as revision 11732 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2ec38612
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dsputil.c
libavcodec/dsputil.c
+1
-1
dsputil.h
libavcodec/dsputil.h
+1
-1
dsputil_mlib.c
libavcodec/mlib/dsputil_mlib.c
+1
-1
No files found.
libavcodec/dsputil.c
View file @
96711ecf
...
...
@@ -214,7 +214,7 @@ static int pix_norm1_c(uint8_t * pix, int line_size)
return
s
;
}
static
void
bswap_buf
(
uint32_t
*
dst
,
uint32_t
*
src
,
int
w
){
static
void
bswap_buf
(
uint32_t
*
dst
,
const
uint32_t
*
src
,
int
w
){
int
i
;
for
(
i
=
0
;
i
+
8
<=
w
;
i
+=
8
){
...
...
libavcodec/dsputil.h
View file @
96711ecf
...
...
@@ -310,7 +310,7 @@ typedef struct DSPContext {
* note, this might read from src1[-1], src2[-1]
*/
void
(
*
sub_hfyu_median_prediction
)(
uint8_t
*
dst
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
w
,
int
*
left
,
int
*
left_top
);
void
(
*
bswap_buf
)(
uint32_t
*
dst
,
uint32_t
*
src
,
int
w
);
void
(
*
bswap_buf
)(
uint32_t
*
dst
,
const
uint32_t
*
src
,
int
w
);
void
(
*
h264_v_loop_filter_luma
)(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
);
void
(
*
h264_h_loop_filter_luma
)(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
);
...
...
libavcodec/mlib/dsputil_mlib.c
View file @
96711ecf
...
...
@@ -374,7 +374,7 @@ static void avg_pixels8_xy2_mlib(uint8_t * dest, const uint8_t * ref,
/* swap byte order of a buffer */
static
void
bswap_buf_mlib
(
uint32_t
*
dst
,
uint32_t
*
src
,
int
w
)
static
void
bswap_buf_mlib
(
uint32_t
*
dst
,
const
uint32_t
*
src
,
int
w
)
{
mlib_VectorReverseByteOrder_U32_U32
(
dst
,
src
,
w
);
}
...
...
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