/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/ |
D | frame_buffer.cc | 166 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()
|
D | frame_buffer.h | 236 const int plane_count() const { return planes_.size(); } in plane_count() function
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 1353 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/ |
D | vk_format.h | 142 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()
|
D | radv_image.c | 423 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 …]
|
D | vk_format_table.py | 143 print(" %u,\t/* plane_count */" % (format.plane_count))
|
D | radv_nir_lower_ycbcr_textures.c | 278 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()
|
D | vk_format_parse.py | 127 self.plane_count = len(plane_formats)
|
D | radv_meta_copy.c | 487 …ount = region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image->plane_count : 1; in copy_image()
|
D | radv_formats.c | 1285 if (desc->plane_count > 1) in radv_get_image_format_properties()
|
D | radv_private.h | 1896 unsigned plane_count; member
|
D | radv_device.c | 5294 if (mem->image && mem->image->plane_count == 1 && in radv_alloc_memory()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | libyuv_frame_buffer_utils.cc | 410 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 …]
|
D | frame_buffer_common_utils.cc | 169 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/ |
D | vrend_winsys_egl.c | 414 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()
|
D | vrend_winsys_egl.h | 64 uint32_t plane_count,
|
D | vrend_winsys_gbm.c | 332 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()
|
D | vrend_decode.c | 1440 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()
|
D | vrend_renderer.h | 195 uint32_t plane_count; member
|
D | vrend_renderer.c | 10930 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/ |
D | gbm_dri.c | 635 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/ |
D | tile.cc | 2006 const int plane_count = block.HasChroma() ? PlaneCount() : 1; in ComputePrediction() local 2101 } while (++plane < plane_count); in ComputePrediction()
|