Home
last modified time | relevance | path

Searched refs:npln (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dformat_info.cpp41 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGB_565), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = …
42 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGB_888), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = …
43 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGBA_8888), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = …
44 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_BGRA_8888), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = …
45 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGBX_8888), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = …
46 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGBA_1010102), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = …
47 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_RGBA_16161616), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = …
48 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_Y8), .npln = 1, .ncmp = { 1, 0, 0 }, .bps = …
49 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_Y16), .npln = 1, .ncmp = { 1, 0, 0 }, .bps = …
51 …{ ID(MALI_GRALLOC_FORMAT_INTERNAL_YUV420_8BIT_I), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = …
[all …]
Dmali_gralloc_bufferallocation.cpp158 alloc_type->is_multi_plane = formats[format_idx].npln > 1; in get_alloc_type()
189 if (formats[format_idx].npln > 1 && in get_alloc_type()
204 if (formats[format_idx].npln > 1) in get_alloc_type()
226 if (formats[format_idx].npln == 1 && in get_alloc_type()
603 for (uint8_t plane = 0; plane < format.npln; plane++) in calc_allocation_size()
733 if (format.npln > 1 && plane < 2) in calc_allocation_size()
816 if (((format->npln == 1 && alloc_type.is_multi_plane) || in validate_format()
817 (format->npln > 1 && !alloc_type.is_multi_plane))) in validate_format()
820 …format_name(format->id), format->id, format->npln, (alloc_type.is_multi_plane) ? "multi" : "single… in validate_format()
Dformat_info.h56 uint8_t npln; /* Number of planes. */ member
Dmali_gralloc_formats.cpp608 if (formats[fmt_idx].npln > 1 && in is_format_supported()
1063 if (formats[fmt_idx].npln > 1 && alloc_type.is_multi_plane == false) in get_supported_format()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp413 for (int i = 0; i < formats[format_idx].npln; i++) in validateBufferSize()