Index: source/libvpx/vp9/common/vp9_common.h |
=================================================================== |
--- source/libvpx/vp9/common/vp9_common.h (revision 291857) |
+++ source/libvpx/vp9/common/vp9_common.h (working copy) |
@@ -64,6 +64,11 @@ |
return num_values > 0 ? get_msb(num_values) + 1 : 0; |
} |
+#if CONFIG_VP9_HIGHBITDEPTH |
+#define CONVERT_TO_SHORTPTR(x) ((uint16_t*)(((uintptr_t)x) << 1)) |
+#define CONVERT_TO_BYTEPTR(x) ((uint8_t*)(((uintptr_t)x) >> 1 )) |
+#endif // CONFIG_VP9_HIGHBITDEPTH |
+ |
#if CONFIG_DEBUG |
#define CHECK_MEM_ERROR(cm, lval, expr) do { \ |
lval = (expr); \ |