Home
last modified time | relevance | path

Searched refs:bpp_afbc (Results 1 – 7 of 7) sorted by relevance

/aosp12/hardware/google/gchips/gralloc4/src/core/
H A Dformat_info.cpp41 …AL_RGB_565), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 6, .bpp_afbc = { 16, 0, 0 }, …
42 …AL_RGB_888), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 24, 0, 0 }, …
43 …AL_RGBA_8888), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
44 …AL_BGRA_8888), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
45 …AL_RGBX_8888), .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
46 …AL_RGBA_1010102), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 10, .bpp_afbc = { 32, 0, 0 }, …
47 …AL_RGBA_16161616), .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 16, .bpp_afbc = { 64, 0, 0 }, …
482 if (format->afbc && (format->bps > format->bpp_afbc[0])) in sanitize_formats()
512 if (format->afbc && (pln < format->npln) && (format->bpp_afbc[pln] == 0)) in sanitize_formats()
517 else if (format->afbc && (pln >= format->npln) && (format->bpp_afbc[pln] != 0)) in sanitize_formats()
[all …]
H A Dmali_gralloc_bufferallocation.cpp365 afbc_tile.width = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.width : 8 * afbc_tile.width; in get_pixel_w_h()
366 afbc_tile.height = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.height : 8 * afbc_tile.height; in get_pixel_w_h()
544 assert((plane_info[plane].alloc_width * format.bpp_afbc[plane]) % 8 == 0); in calc_allocation_size()
545 plane_info[plane].byte_stride = (plane_info[plane].alloc_width * format.bpp_afbc[plane]) / 8; in calc_allocation_size()
635 const int sb_bytes = GRALLOC_ALIGN((format.bpp_afbc[plane] * sb.width * sb.height) / 8, 128); in calc_allocation_size()
H A Dformat_info.h59 …uint8_t bpp_afbc[MAX_PLANES]; /* Bits per pixel (AFBC), without implicit padding. 'X' in RGBX is… member
/aosp12/hardware/google/gchips/gralloc3/src/
H A Dformat_info.cpp37 …RMAT_INTERNAL_RGB_565, .npln = 1, .ncmp = 3, .bps = 6, .bpp_afbc = { 16, 0, 0 }, …
38 …RMAT_INTERNAL_RGB_888, .npln = 1, .ncmp = 3, .bps = 8, .bpp_afbc = { 24, 0, 0 }, …
39 …RMAT_INTERNAL_RGBA_8888, .npln = 1, .ncmp = 4, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
40 …RMAT_INTERNAL_BGRA_8888, .npln = 1, .ncmp = 4, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
41 …RMAT_INTERNAL_RGBX_8888, .npln = 1, .ncmp = 3, .bps = 8, .bpp_afbc = { 32, 0, 0 }, …
47 …RMAT_INTERNAL_Y8, .npln = 1, .ncmp = 1, .bps = 8, .bpp_afbc = { 8, 0, 0 }, …
48 …RMAT_INTERNAL_Y16, .npln = 1, .ncmp = 1, .bps = 16, .bpp_afbc = { 16, 0, 0 }, …
52 …RMAT_INTERNAL_NV12, .npln = 2, .ncmp = 3, .bps = 8, .bpp_afbc = { 8, 16, 0 }, …
456 if (format->afbc && (format->bps > format->bpp_afbc[0])) in sanitize_formats()
486 if (format->afbc && (pln < format->npln) && (format->bpp_afbc[pln] == 0)) in sanitize_formats()
[all …]
H A Dformat_info.h53 …uint8_t bpp_afbc[MAX_PLANES]; /* Bits per pixel (AFBC), without implicit padding. 'X' in RGBX is… member
H A Dmali_gralloc_bufferallocation.cpp354 afbc_tile.width = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.width : 8 * afbc_tile.width; in get_pixel_w_h()
355 afbc_tile.height = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.height : 8 * afbc_tile.height; in get_pixel_w_h()
501 assert((plane_info[plane].alloc_width * format.bpp_afbc[plane]) % 8 == 0); in calc_allocation_size()
502 plane_info[plane].byte_stride = (plane_info[plane].alloc_width * format.bpp_afbc[plane]) / 8; in calc_allocation_size()
577 const int sb_bytes = GRALLOC_ALIGN((format.bpp_afbc[plane] * sb.width * sb.height) / 8, 128); in calc_allocation_size()
/aosp12/hardware/google/gchips/gralloc4/src/hidl_common/
H A DMapperMetadata.cpp361 sample_increment_in_bits = format_info.bpp_afbc[plane_index]; in get_plane_layouts()