Home
last modified time | relevance | path

Searched refs:plane_idx (Results 1 – 7 of 7) sorted by relevance

/external/libaom/libaom/av1/common/
Dalloccommon.c233 int plane_idx; in av1_alloc_above_context_buffers() local
241 for (plane_idx = 0; plane_idx < num_planes; plane_idx++) { in av1_alloc_above_context_buffers()
242 cm->above_context[plane_idx] = (ENTROPY_CONTEXT **)aom_calloc( in av1_alloc_above_context_buffers()
244 if (!cm->above_context[plane_idx]) return 1; in av1_alloc_above_context_buffers()
256 for (plane_idx = 0; plane_idx < num_planes; plane_idx++) { in av1_alloc_above_context_buffers()
257 cm->above_context[plane_idx][tile_row] = (ENTROPY_CONTEXT *)aom_calloc( in av1_alloc_above_context_buffers()
259 if (!cm->above_context[plane_idx][tile_row]) return 1; in av1_alloc_above_context_buffers()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_cliptest_tmp.h130 unsigned plane_idx = ffs(ucp_mask)-1; in TAG() local
131 ucp_mask &= ~(1 << plane_idx); in TAG()
132 plane_idx += 6; in TAG()
141 i = plane_idx - 6; in TAG()
148 mask |= 1 << plane_idx; in TAG()
150 if (!(dot4(clipvertex, plane[plane_idx]) >= 0)) in TAG()
151 mask |= 1 << plane_idx; in TAG()
Ddraw_pipe_clip.c358 int plane_idx) in getclipdist() argument
362 if (plane_idx < 6) { in getclipdist()
364 plane = clipper->plane[plane_idx]; in getclipdist()
369 int _idx = plane_idx - 6; in getclipdist()
377 plane = clipper->plane[plane_idx]; in getclipdist()
461 const unsigned plane_idx = ffs(clipmask)-1; in do_clip_tri() local
462 const boolean is_user_clip_plane = plane_idx >= 6; in do_clip_tri()
468 dp_prev = getclipdist(clipper, vert_prev, plane_idx); in do_clip_tri()
469 clipmask &= ~(1<<plane_idx); in do_clip_tri()
484 float dp = getclipdist(clipper, vert, plane_idx); in do_clip_tri()
[all …]
Ddraw_llvm.c1262 unsigned plane_idx = ffs(ucp_enable)-1; in generate_clipmask() local
1263 ucp_enable &= ~(1 << plane_idx); in generate_clipmask()
1264 plane_idx += 6; in generate_clipmask()
1269 i = plane_idx - 6; in generate_clipmask()
1280 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask()
1286 indices[1] = lp_build_const_int32(gallivm, plane_idx); in generate_clipmask()
1313 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c243 BLOCK_SIZE bsize, int plane_idx) { in build_inter_predictors_for_plane() argument
244 const struct macroblockd_plane *pd = &xd->plane[plane_idx]; in build_inter_predictors_for_plane()
251 build_inter_predictors(cm, xd, plane_idx, xd->mi[0], 0, pd->width, pd->height, in build_inter_predictors_for_plane()
257 default_ctx.plane[plane_idx] = xd->plane[plane_idx].dst.buf; in build_inter_predictors_for_plane()
258 default_ctx.stride[plane_idx] = xd->plane[plane_idx].dst.stride; in build_inter_predictors_for_plane()
261 av1_build_interintra_predictors_sbp(cm, xd, xd->plane[plane_idx].dst.buf, in build_inter_predictors_for_plane()
262 xd->plane[plane_idx].dst.stride, ctx, in build_inter_predictors_for_plane()
263 plane_idx, bsize); in build_inter_predictors_for_plane()
271 for (int plane_idx = plane_from; plane_idx <= plane_to; ++plane_idx) { in av1_enc_build_inter_predictor() local
273 plane_idx); in av1_enc_build_inter_predictor()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp1292 uint32_t plane_idx = GetPlaneIndex(plane_aspect); in FindMultiplaneCompatibleFormat() local
1294 …if ((it == vk_multiplane_compatibility_map.end()) || (plane_idx >= VK_MULTIPLANE_FORMAT_MAX_PLANES… in FindMultiplaneCompatibleFormat()
1298 return it->second.per_plane[plane_idx].compatible_format; in FindMultiplaneCompatibleFormat()
1303 uint32_t plane_idx = GetPlaneIndex(plane_aspect); in FindMultiplaneExtentDivisors() local
1305 …if ((it == vk_multiplane_compatibility_map.end()) || (plane_idx >= VK_MULTIPLANE_FORMAT_MAX_PLANES… in FindMultiplaneExtentDivisors()
1309 divisors.width = it->second.per_plane[plane_idx].width_divisor; in FindMultiplaneExtentDivisors()
1310 divisors.height = it->second.per_plane[plane_idx].height_divisor; in FindMultiplaneExtentDivisors()
/external/libvpx/libvpx/test/
Dvp9_scale_test.cc109 const int plane_idx) const { in PrintDiffComponent()
113 printf("Plane %d pixel[%d][%d] diff:%6d (ref),%6d (opt)\n", plane_idx, in PrintDiffComponent()