/hardware/google/gchips/gralloc3/src/ |
D | format_info.cpp | 37 …{ .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 …]
|
D | mali_gralloc_bufferallocation.cpp | 134 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()
|
D | format_info.h | 50 uint8_t npln; /* Number of planes. */ member
|
D | mali_gralloc_formats.cpp | 785 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/ |
D | format_info.cpp | 41 …{ 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 …]
|
D | mali_gralloc_bufferallocation.cpp | 150 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()
|
D | format_info.h | 56 uint8_t npln; /* Number of planes. */ member
|
D | mali_gralloc_formats.cpp | 597 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/ |
D | Mapper.cpp | 481 for (int i = 0; i < formats[format_idx].npln; i++) in validateBufferSize()
|