Home
last modified time | relevance | path

Searched refs:plane_index (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp306 for (size_t plane_index = 0; plane_index < num_planes; ++plane_index) in get_plane_layouts() local
308 int64_t plane_size = handle->plane_info[plane_index].size; in get_plane_layouts()
309 int64_t sample_increment_in_bits = format_info.bpp[plane_index]; in get_plane_layouts()
310 int64_t offset = handle->plane_info[plane_index].offset; in get_plane_layouts()
325 … .strideInBytes = static_cast<int64_t>(handle->plane_info[plane_index].byte_stride), in get_plane_layouts()
326 … .widthInSamples = static_cast<int64_t>(handle->plane_info[plane_index].alloc_width), in get_plane_layouts()
327 … .heightInSamples = static_cast<int64_t>(handle->plane_info[plane_index].alloc_height), in get_plane_layouts()
329 .horizontalSubsampling = (plane_index == 0 ? 1 : format_info.hsub), in get_plane_layouts()
330 .verticalSubsampling = (plane_index == 0 ? 1 : format_info.vsub), in get_plane_layouts()
331 .components = components.size() > plane_index ? components[plane_index] : in get_plane_layouts()
[all …]
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp152 for (size_t plane_index = 0; plane_index < num_planes; ++plane_index) { in getStandardMetadataHelper() local
155 .right = static_cast<int32_t>(hnd->plane_info[plane_index].alloc_width), in getStandardMetadataHelper()
156 .bottom = static_cast<int32_t>(hnd->plane_info[plane_index].alloc_height)}; in getStandardMetadataHelper()
157 if (plane_index == 0) { in getStandardMetadataHelper()
166 crops[plane_index] = rect; in getStandardMetadataHelper()