Index: source/libvpx/vp9/common/vp9_common.h |
diff --git a/source/libvpx/vp9/common/vp9_common.h b/source/libvpx/vp9/common/vp9_common.h |
index d06b8e0405e3180f833c5f85933e9b6389e7bf52..9c2d7791e759db8c0aa5d2681158b5278171aaf1 100644 |
--- a/source/libvpx/vp9/common/vp9_common.h |
+++ b/source/libvpx/vp9/common/vp9_common.h |
@@ -27,12 +27,6 @@ extern "C" { |
#define MIN(x, y) (((x) < (y)) ? (x) : (y)) |
#define MAX(x, y) (((x) > (y)) ? (x) : (y)) |
-#define ROUND_POWER_OF_TWO(value, n) \ |
- (((value) + (1 << ((n) - 1))) >> (n)) |
- |
-#define ALIGN_POWER_OF_TWO(value, n) \ |
- (((value) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1)) |
- |
// Only need this for fixed-size arrays, for structs just assign. |
#define vp9_copy(dest, src) { \ |
assert(sizeof(dest) == sizeof(src)); \ |
@@ -83,9 +77,6 @@ static INLINE uint16_t clip_pixel_highbd(int val, int bd) { |
typedef int64_t tran_high_t; |
typedef int32_t tran_low_t; |
-#define CONVERT_TO_SHORTPTR(x) ((uint16_t*)(((uintptr_t)x) << 1)) |
-#define CONVERT_TO_BYTEPTR(x) ((uint8_t*)(((uintptr_t)x) >> 1 )) |
- |
#else |
// Note: |