Searched refs:num_blk (Results 1 – 3 of 3) sorted by relevance
23 const int num_blk = (num_4x4_blk < 4 ? 4 : num_4x4_blk); in alloc_mode_context() local24 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()
30 const int num_blk = num_pix / 16; in alloc_mode_context() local31 ctx->num_4x4_blk = num_blk; in alloc_mode_context()34 aom_calloc(num_blk, sizeof(*ctx->blk_skip))); in alloc_mode_context()36 aom_calloc(num_blk, sizeof(*ctx->tx_type_map))); in alloc_mode_context()42 aom_memalign(32, num_blk * sizeof(*ctx->eobs[i]))); in alloc_mode_context()45 aom_memalign(32, num_blk * sizeof(*ctx->txb_entropy_ctx[i]))); in alloc_mode_context()
326 int num_blk = 1 << (num_pels_log2_lookup[bsize] - 2 * MI_SIZE_LOG2); in bsize_to_num_blk() local327 return num_blk; in bsize_to_num_blk()