Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
3cf5908e
Commit
3cf5908e
authored
Aug 01, 2014
by
Jim Bankoski
Browse files
uint8_t segment and skip to avoid signed / unsigned warnings
Change-Id: I2e2765b851fb0a1b15351c2aa0e079197cbee373
parent
fffe4768
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_blockd.h
View file @
3cf5908e
...
...
@@ -124,9 +124,9 @@ typedef struct {
BLOCK_SIZE
sb_type
;
PREDICTION_MODE
mode
;
TX_SIZE
tx_size
;
u
int8_t
skip
;
u
int8_t
segment_id
;
u
int8_t
seg_id_predicted
;
// valid only when temporal_update is enabled
int8_t
skip
;
int8_t
segment_id
;
int8_t
seg_id_predicted
;
// valid only when temporal_update is enabled
// Only for INTRA blocks
PREDICTION_MODE
uv_mode
;
...
...
vp9/encoder/vp9_encodemb.c
View file @
3cf5908e
...
...
@@ -32,7 +32,7 @@ struct optimize_ctx {
struct
encode_b_args
{
MACROBLOCK
*
x
;
struct
optimize_ctx
*
ctx
;
unsigned
char
*
skip
;
int8_t
*
skip
;
};
void
vp9_subtract_block_c
(
int
rows
,
int
cols
,
...
...
@@ -699,7 +699,7 @@ static void encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize,
void
vp9_encode_block_intra
(
MACROBLOCK
*
x
,
int
plane
,
int
block
,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
unsigned
char
*
skip
)
{
int8_t
*
skip
)
{
struct
encode_b_args
arg
=
{
x
,
NULL
,
skip
};
encode_block_intra
(
plane
,
block
,
plane_bsize
,
tx_size
,
&
arg
);
}
...
...
vp9/encoder/vp9_encodemb.h
View file @
3cf5908e
...
...
@@ -33,7 +33,7 @@ void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
void
vp9_encode_block_intra
(
MACROBLOCK
*
x
,
int
plane
,
int
block
,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
unsigned
char
*
skip
);
int8_t
*
skip
);
void
vp9_encode_intra_block_plane
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
,
int
plane
);
...
...
Write
Preview
Supports
Markdown
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