void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
const struct macroblockd_plane *pd,
- ENTROPY_CONTEXT t_above[16],
- ENTROPY_CONTEXT t_left[16]) {
+ ENTROPY_CONTEXT t_above[(CODING_UNIT_SIZE >> 2)],
+ ENTROPY_CONTEXT t_left[(CODING_UNIT_SIZE >> 2)]) {
const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd);
const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize];
const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize];
void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
const struct macroblockd_plane *pd,
- ENTROPY_CONTEXT t_above[16],
- ENTROPY_CONTEXT t_left[16]);
+ ENTROPY_CONTEXT t_above[(CODING_UNIT_SIZE >> 2)],
+ ENTROPY_CONTEXT t_left[(CODING_UNIT_SIZE >> 2)]);
void vp9_set_rd_speed_thresholds(struct VP9_COMP *cpi);
struct rdcost_block_args {
MACROBLOCK *x;
- ENTROPY_CONTEXT t_above[16];
- ENTROPY_CONTEXT t_left[16];
+ ENTROPY_CONTEXT t_above[(CODING_UNIT_SIZE >> 2)];
+ ENTROPY_CONTEXT t_left[(CODING_UNIT_SIZE >> 2)];
int rate;
int64_t dist;
int64_t sse;