diff options
author | Jim Bankoski <jimbankoski@google.com> | 2014-08-01 06:41:24 -0700 |
---|---|---|
committer | Jim Bankoski <jimbankoski@google.com> | 2014-08-04 08:52:40 -0700 |
commit | 3cf5908e24a744489dd3b93f8656a7d3c392bad7 (patch) | |
tree | 577f5d5c519931936216bfef6a6e51ed7c6bc789 /vp9/encoder | |
parent | fffe4768e35027cf5b308e5e7c8f665e3129228d (diff) | |
download | libvpx-3cf5908e24a744489dd3b93f8656a7d3c392bad7.tar libvpx-3cf5908e24a744489dd3b93f8656a7d3c392bad7.tar.gz libvpx-3cf5908e24a744489dd3b93f8656a7d3c392bad7.tar.bz2 libvpx-3cf5908e24a744489dd3b93f8656a7d3c392bad7.zip |
uint8_t segment and skip to avoid signed / unsigned warnings
Change-Id: I2e2765b851fb0a1b15351c2aa0e079197cbee373
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_encodemb.c | 4 | ||||
-rw-r--r-- | vp9/encoder/vp9_encodemb.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c index cd0191e0a..7b3604f20 100644 --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@ -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); } diff --git a/vp9/encoder/vp9_encodemb.h b/vp9/encoder/vp9_encodemb.h index 0b8c3d2b0..199971865 100644 --- a/vp9/encoder/vp9_encodemb.h +++ b/vp9/encoder/vp9_encodemb.h @@ -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); |