Home
last modified time | relevance | path

Searched refs:num_blk (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_context_tree.c23 const int num_blk = (num_4x4_blk < 4 ? 4 : num_4x4_blk); in alloc_mode_context() local
24 const int num_pix = num_blk << 4; in alloc_mode_context()
26 ctx->num_4x4_blk = num_blk; in alloc_mode_context()
28 CHECK_MEM_ERROR(cm, ctx->zcoeff_blk, vpx_calloc(num_blk, sizeof(uint8_t))); in alloc_mode_context()
38 vpx_memalign(32, num_blk * sizeof(*ctx->eobs[i][k]))); in alloc_mode_context()
/external/libaom/libaom/av1/encoder/
Dcontext_tree.c30 const int num_blk = num_pix / 16; in alloc_mode_context() local
31 ctx->num_4x4_blk = num_blk; in alloc_mode_context()
33 CHECK_MEM_ERROR(cm, ctx->blk_skip, aom_calloc(num_blk, sizeof(uint8_t))); in alloc_mode_context()
39 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in alloc_mode_context()
42 aom_memalign(32, num_blk * sizeof(*ctx->txb_entropy_ctx[i]))); in alloc_mode_context()
Drdopt.c3719 int num_blk = 1 << (num_pels_log2_lookup[bsize] - 2 * tx_size_wide_log2[0]); in bsize_to_num_blk() local
3720 return num_blk; in bsize_to_num_blk()