From d571e4e7857e9b7ccceb01a7b323a72968e339a8 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Tue, 24 Sep 2013 14:57:42 -0700 Subject: [PATCH] Replacing unsigned char* with uint8_t*. Change-Id: I99a1880aee015ae16311ba05a31aa307df89bef2 --- vp9/common/vp9_blockd.h | 2 +- vp9/decoder/vp9_idct_blk.h | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index f7d5de1f4..9ab2cc31b 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -247,7 +247,7 @@ typedef struct macroblockd { } MACROBLOCKD; -static INLINE unsigned char *get_sb_index(MACROBLOCKD *xd, BLOCK_SIZE subsize) { +static INLINE uint8_t *get_sb_index(MACROBLOCKD *xd, BLOCK_SIZE subsize) { switch (subsize) { case BLOCK_64X64: case BLOCK_64X32: diff --git a/vp9/decoder/vp9_idct_blk.h b/vp9/decoder/vp9_idct_blk.h index 1810bd02f..00f1bc6a6 100644 --- a/vp9/decoder/vp9_idct_blk.h +++ b/vp9/decoder/vp9_idct_blk.h @@ -14,17 +14,16 @@ #include "vp9/common/vp9_blockd.h" +void vp9_idct_add_lossless_c(int16_t *input, uint8_t *dest, + int stride, int eob); -void vp9_idct_add_lossless_c(int16_t *input, unsigned char *dest, int stride, - int eob); - -void vp9_iht_add_c(TX_TYPE tx_type, int16_t *input, unsigned char *dest, +void vp9_iht_add_c(TX_TYPE tx_type, int16_t *input, uint8_t *dest, int stride, int eob); -void vp9_iht_add_8x8_c(TX_TYPE tx_type, int16_t *input, unsigned char *dest, +void vp9_iht_add_8x8_c(TX_TYPE tx_type, int16_t *input, uint8_t *dest, int stride, int eob); -void vp9_iht_add_16x16_c(TX_TYPE tx_type, int16_t *input, unsigned char *dest, +void vp9_iht_add_16x16_c(TX_TYPE tx_type, int16_t *input, uint8_t *dest, int stride, int eob); #endif // VP9_DECODER_VP9_IDCT_BLK_H_ -- 2.40.0