Adding TREE_SIZE macro + cleanup.
Using TREE_SIZE for the following trees: vp9_intra_mode_tree vp9_inter_mode_tree vp9_partition_tree vp9_switchable_interp_tree vp9_mv_joint_tree vp9_mv_class_tree vp9_mv_class0_tree vp9_mv_fp_tree Change-Id: I0212bb4c1ee6648249f68517e28a67a56591ee1b
This commit is contained in:
		| @@ -21,6 +21,8 @@ typedef uint8_t vp9_prob; | ||||
|  | ||||
| typedef int8_t vp9_tree_index; | ||||
|  | ||||
| #define TREE_SIZE(leaf_count) (2 * (leaf_count) - 2) | ||||
|  | ||||
| #define vp9_complement(x) (255 - x) | ||||
|  | ||||
| /* We build coding trees compactly in arrays. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dmitry Kovalev
					Dmitry Kovalev