Home
last modified time | relevance | path

Searched refs:tx_size_in_blocks (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.c92 const int tx_size_in_blocks = 1 << tx_size; in vp9_set_contexts() local
99 int above_contexts = tx_size_in_blocks; in vp9_set_contexts()
104 for (i = above_contexts; i < tx_size_in_blocks; ++i) a[i] = 0; in vp9_set_contexts()
106 memset(a, has_eob, sizeof(ENTROPY_CONTEXT) * tx_size_in_blocks); in vp9_set_contexts()
114 int left_contexts = tx_size_in_blocks; in vp9_set_contexts()
118 for (i = left_contexts; i < tx_size_in_blocks; ++i) l[i] = 0; in vp9_set_contexts()
120 memset(l, has_eob, sizeof(ENTROPY_CONTEXT) * tx_size_in_blocks); in vp9_set_contexts()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_detokenize.c263 int x, int y, unsigned int tx_size_in_blocks) { in get_ctx_shift() argument
265 if (tx_size_in_blocks + x > xd->max_blocks_wide) in get_ctx_shift()
266 *ctx_shift_a = (tx_size_in_blocks - (xd->max_blocks_wide - x)) * 8; in get_ctx_shift()
269 if (tx_size_in_blocks + y > xd->max_blocks_high) in get_ctx_shift()
270 *ctx_shift_l = (tx_size_in_blocks - (xd->max_blocks_high - y)) * 8; in get_ctx_shift()