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
c743aad5
Commit
c743aad5
authored
Mar 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huffyuv: some more consts
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dd2631a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
huffyuv.c
libavcodec/huffyuv.c
+3
-3
No files found.
libavcodec/huffyuv.c
View file @
c743aad5
...
...
@@ -136,7 +136,7 @@ static const unsigned char classic_add_chroma[256] = {
6
,
12
,
8
,
10
,
7
,
9
,
6
,
4
,
6
,
2
,
2
,
3
,
3
,
3
,
3
,
2
,
};
static
inline
int
sub_left_prediction
(
HYuvContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
src
,
int
w
,
int
left
){
static
inline
int
sub_left_prediction
(
HYuvContext
*
s
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
w
,
int
left
){
int
i
;
if
(
w
<
32
){
for
(
i
=
0
;
i
<
w
;
i
++
){
...
...
@@ -156,7 +156,7 @@ static inline int sub_left_prediction(HYuvContext *s, uint8_t *dst, uint8_t *src
}
}
static
inline
void
sub_left_prediction_bgr32
(
HYuvContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
src
,
int
w
,
int
*
red
,
int
*
green
,
int
*
blue
,
int
*
alpha
){
static
inline
void
sub_left_prediction_bgr32
(
HYuvContext
*
s
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
w
,
int
*
red
,
int
*
green
,
int
*
blue
,
int
*
alpha
){
int
i
;
int
r
,
g
,
b
,
a
;
r
=
*
red
;
...
...
@@ -184,7 +184,7 @@ static inline void sub_left_prediction_bgr32(HYuvContext *s, uint8_t *dst, uint8
*
alpha
=
src
[(
w
-
1
)
*
4
+
A
];
}
static
inline
void
sub_left_prediction_rgb24
(
HYuvContext
*
s
,
uint8_t
*
dst
,
uint8_t
*
src
,
int
w
,
int
*
red
,
int
*
green
,
int
*
blue
){
static
inline
void
sub_left_prediction_rgb24
(
HYuvContext
*
s
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
w
,
int
*
red
,
int
*
green
,
int
*
blue
){
int
i
;
int
r
,
g
,
b
;
r
=
*
red
;
...
...
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