Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc3/src/
Dformat_info.cpp37 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGB_565, .npln = 1, .ncmp = 3, .bps = 6, .bpp…
38 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGB_888, .npln = 1, .ncmp = 3, .bps = 8, .bpp…
39 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGBA_8888, .npln = 1, .ncmp = 4, .bps = 8, .bpp…
40 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_BGRA_8888, .npln = 1, .ncmp = 4, .bps = 8, .bpp…
41 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGBX_8888, .npln = 1, .ncmp = 3, .bps = 8, .bpp…
43 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGBA_1010102, .npln = 1, .ncmp = 4, .bps = 10, .bpp…
44 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_RGBA_16161616, .npln = 1, .ncmp = 4, .bps = 16, .bpp…
47 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_Y8, .npln = 1, .ncmp = 1, .bps = 8, .bpp…
48 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_Y16, .npln = 1, .ncmp = 1, .bps = 16, .bpp…
51 …{ .id = MALI_GRALLOC_FORMAT_INTERNAL_YUV420_8BIT_I, .npln = 1, .ncmp = 3, .bps = 8, .bpp…
[all …]
Dmali_gralloc_bufferallocation.cpp134 alloc_type->is_multi_plane = formats[format_idx].npln > 1; in get_alloc_type()
165 if (formats[format_idx].npln > 1 && in get_alloc_type()
180 if (formats[format_idx].npln > 1) in get_alloc_type()
202 if (formats[format_idx].npln == 1 && in get_alloc_type()
483 for (uint8_t plane = 0; plane < format.npln; plane++) in calc_allocation_size()
582 if (format.npln > 1 && plane < 2) in calc_allocation_size()
658 if (((format->npln == 1 && alloc_type.is_multi_plane) || in validate_format()
659 (format->npln > 1 && !alloc_type.is_multi_plane))) in validate_format()
662 …format_name(format->id), format->id, format->npln, (alloc_type.is_multi_plane) ? "multi" : "single… in validate_format()
1285 bufDescriptor->plane_count = formats[format_idx].npln; in mali_gralloc_derive_format_and_size()
Dformat_info.h50 uint8_t npln; /* Number of planes. */ member
Dmali_gralloc_formats.cpp785 if (formats[fmt_idx].npln > 1 && in is_format_supported()
1231 if (formats[fmt_idx].npln > 1 && alloc_type.is_multi_plane == false) in get_supported_format()
1502 (formats[fmt_idx].npln == 1 || is_multiplane_enabled(format_ext))) in get_base_format_for_modifiers()
/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.cpp150 alloc_type->is_multi_plane = formats[format_idx].npln > 1; in get_alloc_type()
181 if (formats[format_idx].npln > 1 && in get_alloc_type()
196 if (formats[format_idx].npln > 1) in get_alloc_type()
218 if (formats[format_idx].npln == 1 && in get_alloc_type()
526 for (uint8_t plane = 0; plane < format.npln; plane++) in calc_allocation_size()
640 if (format.npln > 1 && plane < 2) in calc_allocation_size()
716 if (((format->npln == 1 && alloc_type.is_multi_plane) || in validate_format()
717 (format->npln > 1 && !alloc_type.is_multi_plane))) in validate_format()
720 …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.cpp597 if (formats[fmt_idx].npln > 1 && in is_format_supported()
1073 if (formats[fmt_idx].npln > 1 && alloc_type.is_multi_plane == false) in get_supported_format()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp481 for (int i = 0; i < formats[format_idx].npln; i++) in validateBufferSize()