summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_picklpf.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2012-12-18 15:31:19 -0800
committerRonald S. Bultje <rbultje@google.com>2012-12-18 15:31:19 -0800
commit4cca47b5385adb8ace28b10db7a20f337b15bbeb (patch)
tree74b0e4692a4d26995dc98f9ca160a2b27a8c40dc /vp9/encoder/vp9_picklpf.c
parentd47828ed59999ca9379860c13a753e092062748c (diff)
downloadlibvpx-4cca47b5385adb8ace28b10db7a20f337b15bbeb.tar
libvpx-4cca47b5385adb8ace28b10db7a20f337b15bbeb.tar.gz
libvpx-4cca47b5385adb8ace28b10db7a20f337b15bbeb.tar.bz2
libvpx-4cca47b5385adb8ace28b10db7a20f337b15bbeb.zip
Use standard integer types for pixel values and coefficients.
For coefficients, use int16_t (instead of short); for pixel values in 16-bit intermediates, use uint16_t (instead of unsigned short); for all others, use uint8_t (instead of unsigned char). Change-Id: I3619cd9abf106c3742eccc2e2f5e89a62774f7da
Diffstat (limited to 'vp9/encoder/vp9_picklpf.c')
-rw-r--r--vp9/encoder/vp9_picklpf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_picklpf.c b/vp9/encoder/vp9_picklpf.c
index 865c45e82..556851ce0 100644
--- a/vp9/encoder/vp9_picklpf.c
+++ b/vp9/encoder/vp9_picklpf.c
@@ -21,7 +21,7 @@
void vp9_yv12_copy_partial_frame_c(YV12_BUFFER_CONFIG *src_ybc,
YV12_BUFFER_CONFIG *dst_ybc, int Fraction) {
- unsigned char *src_y, *dst_y;
+ uint8_t *src_y, *dst_y;
int yheight;
int ystride;
int border;
@@ -51,8 +51,8 @@ static int calc_partial_ssl_err(YV12_BUFFER_CONFIG *source,
int i, j;
int Total = 0;
int srcoffset, dstoffset;
- unsigned char *src = source->y_buffer;
- unsigned char *dst = dest->y_buffer;
+ uint8_t *src = source->y_buffer;
+ uint8_t *dst = dest->y_buffer;
int linestocopy = (source->y_height >> (Fraction + 4));