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
3a7f9db1
Commit
3a7f9db1
authored
Sep 22, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/snow: Make block argumrnt of ff_snow_pred_block() const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3c4fc6a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
snow.c
libavcodec/snow.c
+1
-1
snow.h
libavcodec/snow.h
+1
-1
No files found.
libavcodec/snow.c
View file @
3a7f9db1
...
...
@@ -324,7 +324,7 @@ static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, int stride, int
}
}
void
ff_snow_pred_block
(
SnowContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
tmp
,
ptrdiff_t
stride
,
int
sx
,
int
sy
,
int
b_w
,
int
b_h
,
BlockNode
*
block
,
int
plane_index
,
int
w
,
int
h
){
void
ff_snow_pred_block
(
SnowContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
tmp
,
ptrdiff_t
stride
,
int
sx
,
int
sy
,
int
b_w
,
int
b_h
,
const
BlockNode
*
block
,
int
plane_index
,
int
w
,
int
h
){
if
(
block
->
type
&
BLOCK_INTRA
){
int
x
,
y
;
const
unsigned
color
=
block
->
color
[
plane_index
];
...
...
libavcodec/snow.h
View file @
3a7f9db1
...
...
@@ -231,7 +231,7 @@ void ff_snow_reset_contexts(SnowContext *s);
int
ff_snow_alloc_blocks
(
SnowContext
*
s
);
int
ff_snow_frame_start
(
SnowContext
*
s
);
void
ff_snow_pred_block
(
SnowContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
tmp
,
ptrdiff_t
stride
,
int
sx
,
int
sy
,
int
b_w
,
int
b_h
,
BlockNode
*
block
,
int
sx
,
int
sy
,
int
b_w
,
int
b_h
,
const
BlockNode
*
block
,
int
plane_index
,
int
w
,
int
h
);
int
ff_snow_get_buffer
(
SnowContext
*
s
,
AVFrame
*
frame
);
/* common inline functions */
...
...
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