Home
last modified time | relevance | path

Searched refs:plane_count (Results 1 – 22 of 22) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc166 if (source.plane_count() == 1) { in GetYuvDataFromFrameBuffer()
168 } else if (source.plane_count() == 2) { in GetYuvDataFromFrameBuffer()
170 } else if (source.plane_count() == 3) { in GetYuvDataFromFrameBuffer()
Dframe_buffer.h236 const int plane_count() const { return planes_.size(); } in plane_count() function
/external/libdrm/tests/modetest/
Dmodetest.c1353 struct plane_arg *plane_args, unsigned int plane_count) in atomic_test_page_flip() argument
1363 atomic_set_planes(dev, plane_args, plane_count, true); in atomic_test_page_flip()
2051 unsigned int count = 0, plane_count = 0; in main() local
2098 (plane_count + 1) * sizeof *plane_args); in main()
2103 memset(&plane_args[plane_count], 0, sizeof(*plane_args)); in main()
2105 if (parse_plane(&plane_args[plane_count], optarg) < 0) in main()
2108 plane_count++; in main()
2170 if (set_preferred && plane_count) { in main()
2210 if (set_preferred || (count && plane_count)) { in main()
2222 if (plane_count) in main()
[all …]
/external/mesa3d/src/amd/vulkan/
Dvk_format.h142 unsigned plane_count:2; member
566 return desc->plane_count; in vk_format_get_plane_count()
579 assert(plane_id < desc->plane_count); in vk_format_get_plane_format()
Dradv_image.c423 for (unsigned plane = 0; plane < image->plane_count; ++plane) { in radv_patch_image_from_extra_info()
890 assert(image->plane_count == 1); in gfx10_make_texture_descriptor()
1051 assert(image->plane_count == 1); in si_make_texture_descriptor()
1175 assert(image->plane_count == 1); in radv_query_opaque_metadata()
1316 for (unsigned i = 0; i < image->plane_count; ++i) { in radv_image_reset_layout()
1350 for (unsigned plane = 0; plane < image->plane_count; ++plane) { in radv_image_create_layout()
1362 if (create_info.no_metadata_planes || image->plane_count > 1) { in radv_image_create_layout()
1370 if (!create_info.no_metadata_planes && image->plane_count == 1) in radv_image_create_layout()
1422 const unsigned plane_count = vk_format_get_plane_count(format); in radv_image_create() local
1423 const size_t image_struct_size = sizeof(*image) + sizeof(struct radv_image_plane) * plane_count; in radv_image_create()
[all …]
Dvk_format_table.py143 print(" %u,\t/* plane_count */" % (format.plane_count))
Dradv_nir_lower_ycbcr_textures.c278 const int plane_count = vk_format_get_plane_count(format); in try_lower_tex_ycbcr() local
281 for (int p = 0; p < plane_count; ++p) { in try_lower_tex_ycbcr()
Dvk_format_parse.py127 self.plane_count = len(plane_formats)
Dradv_meta_copy.c487 …ount = region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1; in copy_image()
Dradv_formats.c1285 if (desc->plane_count > 1) in radv_get_image_format_properties()
Dradv_private.h1896 unsigned plane_count; member
Dradv_device.c5294 if (mem->image && mem->image->plane_count == 1 && in radv_alloc_memory()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dlibyuv_frame_buffer_utils.cc410 if (buffer.plane_count() > 1) { in ConvertRgbToArgb()
444 if (output_buffer->plane_count() > 1) { in ConvertArgbToRgb()
483 if (buffer.plane_count() > 1) { in ConvertRgbaToArgb()
687 if (buffer.plane_count() > 1) { in RotateRgba()
744 if (buffer.plane_count() > 1) { in RotateGray()
858 if (buffer.plane_count() > 1) { in FlipPlaneVertically()
882 if (buffer.plane_count() > 1) { in CropPlane()
1047 if (buffer.plane_count() > 1) { in FlipHorizontallyRgba()
1074 if (buffer.plane_count() > 1) { in FlipHorizontallyPlane()
1091 if (buffer.plane_count() > 1) { in ResizeRgb()
[all …]
Dframe_buffer_common_utils.cc169 if (buffer.plane_count() < 1) { in ValidateBufferPlaneMetadata()
174 for (int i = 0; i < buffer.plane_count(); i++) { in ValidateBufferPlaneMetadata()
189 if (buffer.plane_count() == 1) return absl::OkStatus(); in ValidateBufferFormat()
/external/virglrenderer/src/
Dvrend_winsys_egl.c414 uint32_t plane_count, in virgl_egl_image_from_dmabuf() argument
423 assert(plane_count && plane_count <= VIRGL_GBM_MAX_PLANES); in virgl_egl_image_from_dmabuf()
432 for (uint32_t i = 0; i < plane_count; i++) { in virgl_egl_image_from_dmabuf()
Dvrend_winsys_egl.h64 uint32_t plane_count,
Dvrend_winsys_gbm.c332 int plane_count = gbm_bo_get_plane_count(bo); in virgl_gbm_transfer() local
369 for (int plane = 0; plane < plane_count; plane++) { in virgl_gbm_transfer()
394 if (plane_count > 1) { in virgl_gbm_transfer()
Dvrend_decode.c1440 args.plane_count = (length - VIRGL_PIPE_RES_SET_TYPE_SIZE(0)) / 2; in vrend_decode_pipe_resource_set_type()
1442 if (length != VIRGL_PIPE_RES_SET_TYPE_SIZE(args.plane_count) || in vrend_decode_pipe_resource_set_type()
1443 !args.plane_count || args.plane_count > VIRGL_GBM_MAX_PLANES) in vrend_decode_pipe_resource_set_type()
1454 for (uint32_t i = 0; i < args.plane_count; i++) { in vrend_decode_pipe_resource_set_type()
Dvrend_renderer.h195 uint32_t plane_count; member
Dvrend_renderer.c10930 for (uint32_t i = 0; i < args->plane_count; i++) in vrend_renderer_pipe_resource_set_type()
10950 args->plane_count, in vrend_renderer_pipe_resource_set_type()
/external/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c635 uint64_t plane_count; in gbm_dri_get_format_modifier_plane_count() local
647 __DRI_IMAGE_FORMAT_MODIFIER_ATTRIB_PLANE_COUNT, &plane_count)) in gbm_dri_get_format_modifier_plane_count()
650 return plane_count; in gbm_dri_get_format_modifier_plane_count()
/external/libgav1/libgav1/src/tile/
Dtile.cc2006 const int plane_count = block.HasChroma() ? PlaneCount() : 1; in ComputePrediction() local
2101 } while (++plane < plane_count); in ComputePrediction()