Index: source/libvpx/vp9/common/vp9_entropymode.h |
diff --git a/source/libvpx/vp9/common/vp9_entropymode.h b/source/libvpx/vp9/common/vp9_entropymode.h |
index f4e20e1af8b080ef6d384f35558bcdabfb6984a1..a0619ec6fa992ee42b3c32de053632cecc7a084a 100644 |
--- a/source/libvpx/vp9/common/vp9_entropymode.h |
+++ b/source/libvpx/vp9/common/vp9_entropymode.h |
@@ -11,7 +11,7 @@ |
#ifndef VP9_COMMON_VP9_ENTROPYMODE_H_ |
#define VP9_COMMON_VP9_ENTROPYMODE_H_ |
-#include "vp9/common/vp9_blockd.h" |
+#include "vp9/common/vp9_filter.h" |
#include "vp9/common/vp9_entropy.h" |
#include "vp9/common/vp9_entropymv.h" |
@@ -19,8 +19,12 @@ |
extern "C" { |
#endif |
+#define BLOCK_SIZE_GROUPS 4 |
+ |
#define TX_SIZE_CONTEXTS 2 |
+#define INTER_OFFSET(mode) ((mode) - NEARESTMV) |
+ |
struct VP9Common; |
struct tx_probs { |
@@ -97,15 +101,6 @@ void tx_counts_to_branch_counts_16x16(const unsigned int *tx_count_16x16p, |
void tx_counts_to_branch_counts_8x8(const unsigned int *tx_count_8x8p, |
unsigned int (*ct_8x8p)[2]); |
-static INLINE const vp9_prob *get_y_mode_probs(const MODE_INFO *mi, |
- const MODE_INFO *above_mi, |
- const MODE_INFO *left_mi, |
- int block) { |
- const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); |
- const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); |
- return vp9_kf_y_mode_prob[above][left]; |
-} |
- |
#ifdef __cplusplus |
} // extern "C" |
#endif |