Moving MAX_PROB constant to vp9_prob.h. Change-Id: I07470ad1b7a0344d088911428ffab8ba9a0d8708
diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h index 0ed06b4..f43a85f 100644 --- a/vp9/common/vp9_entropy.h +++ b/vp9/common/vp9_entropy.h
@@ -53,7 +53,6 @@ // indexed by token value extern const vp9_extra_bit vp9_extra_bits[ENTROPY_TOKENS]; -#define MAX_PROB 255 #define DCT_MAX_VALUE 16384 /* Coefficients are predicted via a 3-dimensional probability table. */
diff --git a/vp9/common/vp9_prob.h b/vp9/common/vp9_prob.h index d1bd37a..6148206 100644 --- a/vp9/common/vp9_prob.h +++ b/vp9/common/vp9_prob.h
@@ -20,6 +20,8 @@ typedef uint8_t vp9_prob; +#define MAX_PROB 255 + #define vp9_prob_half ((vp9_prob) 128) typedef int8_t vp9_tree_index;