Removing vp9_tree_p typedef.

It is used only two times and it is more clear to use real type instead
of typedef.

Change-Id: Idc25c16504c3da4d040e0cdb33a2987631bb6a5b
This commit is contained in:
Dmitry Kovalev 2013-10-10 17:16:20 -07:00
parent 83936e8cd5
commit 98400c1bc4
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ extern const vp9_tree_index vp9_coefmodel_tree[];
extern struct vp9_token vp9_coef_encodings[MAX_ENTROPY_TOKENS];
typedef struct {
vp9_tree_p tree;
vp9_tree_index *tree;
const vp9_prob *prob;
int len;
int base_val;

View File

@ -30,7 +30,7 @@ typedef int8_t vp9_tree_index;
Index > 0 means need another bit, specification at index.
Nonnegative indices are always even; processing begins at node 0. */
typedef const vp9_tree_index vp9_tree[], *vp9_tree_p;
typedef const vp9_tree_index vp9_tree[];
struct vp9_token {
int value;

View File

@ -17,7 +17,7 @@
void vp9_init_mode_costs(VP9_COMP *c) {
VP9_COMMON *const cm = &c->common;
const vp9_tree_p KT = vp9_intra_mode_tree;
const vp9_tree_index *KT = vp9_intra_mode_tree;
int i, j;
for (i = 0; i < INTRA_MODES; i++) {