Home
last modified time | relevance | path

Searched refs:num_pix (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dcontext_tree.c25 static void alloc_mode_context(AV1_COMMON *cm, int num_pix, in alloc_mode_context() argument
30 const int num_blk = num_pix / 16; in alloc_mode_context()
45 if (num_pix <= MAX_PALETTE_SQUARE) { in alloc_mode_context()
49 aom_memalign(32, num_pix * sizeof(*ctx->color_index_map[i]))); in alloc_mode_context()
74 static void alloc_tree_contexts(AV1_COMMON *cm, PC_TREE *tree, int num_pix, in alloc_tree_contexts() argument
77 alloc_mode_context(cm, num_pix, &tree->none, shared_bufs); in alloc_tree_contexts()
81 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[0], shared_bufs); in alloc_tree_contexts()
82 alloc_mode_context(cm, num_pix / 2, &tree->vertical[0], shared_bufs); in alloc_tree_contexts()
84 alloc_mode_context(cm, num_pix / 2, &tree->horizontal[1], shared_bufs); in alloc_tree_contexts()
85 alloc_mode_context(cm, num_pix / 2, &tree->vertical[1], shared_bufs); in alloc_tree_contexts()
[all …]
Drdopt.c9882 const int num_pix = 1 << num_pels_log2_lookup[bsize]; in compound_type_rd() local
9883 const int mask_len = 2 * num_pix * sizeof(uint8_t); in compound_type_rd()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_context_tree.c24 const int num_pix = num_blk << 4; in alloc_mode_context() local
32 vpx_memalign(32, num_pix * sizeof(*ctx->coeff[i][k]))); in alloc_mode_context()
34 vpx_memalign(32, num_pix * sizeof(*ctx->qcoeff[i][k]))); in alloc_mode_context()
36 vpx_memalign(32, num_pix * sizeof(*ctx->dqcoeff[i][k]))); in alloc_mode_context()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c133 unsigned num_pix = coeff_bld->type.length; in calc_offsets() local
141 for (i = 0; i < num_pix; i++) { in calc_offsets()
143 pixxf = lp_build_const_float(gallivm, quad_offset_x[i % num_pix] + in calc_offsets()
145 pixyf = lp_build_const_float(gallivm, quad_offset_y[i % num_pix] + in calc_offsets()