summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_onyxc_int.h
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/common/vp9_onyxc_int.h
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/common/vp9_onyxc_int.h')
-rw-r--r--vp9/common/vp9_onyxc_int.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index cc0878c9e..d96e76c86 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -8,7 +8,6 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-
#ifndef VP9_COMMON_VP9_ONYXC_INT_H_
#define VP9_COMMON_VP9_ONYXC_INT_H_
@@ -142,9 +141,9 @@ typedef enum {
typedef struct VP9Common {
struct vpx_internal_error_info error;
- DECLARE_ALIGNED(16, short, Y1dequant[QINDEX_RANGE][16]);
- DECLARE_ALIGNED(16, short, Y2dequant[QINDEX_RANGE][16]);
- DECLARE_ALIGNED(16, short, UVdequant[QINDEX_RANGE][16]);
+ DECLARE_ALIGNED(16, int16_t, Y1dequant[QINDEX_RANGE][16]);
+ DECLARE_ALIGNED(16, int16_t, Y2dequant[QINDEX_RANGE][16]);
+ DECLARE_ALIGNED(16, int16_t, UVdequant[QINDEX_RANGE][16]);
int Width;
int Height;
@@ -299,4 +298,4 @@ typedef struct VP9Common {
} VP9_COMMON;
-#endif // __INC_ONYX_INT_H
+#endif // VP9_COMMON_VP9_ONYXC_INT_H_