Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.h26 enum class AllocBaseType enum
57 AllocBaseType primary_type{AllocBaseType::UNCOMPRESSED};
86 case AllocBaseType::AFBC: in is_afbc()
87 case AllocBaseType::AFBC_WIDEBLK: in is_afbc()
88 case AllocBaseType::AFBC_EXTRAWIDEBLK: in is_afbc()
Dmali_gralloc_bufferallocation.cpp104 static rect_t get_afbc_sb_size(AllocBaseType alloc_base_type) in get_afbc_sb_size()
117 case AllocBaseType::AFBC: in get_afbc_sb_size()
121 case AllocBaseType::AFBC_WIDEBLK: in get_afbc_sb_size()
125 case AllocBaseType::AFBC_EXTRAWIDEBLK: in get_afbc_sb_size()
144 return get_afbc_sb_size(AllocBaseType::AFBC_EXTRAWIDEBLK); in get_afbc_sb_size()
157 alloc_type->primary_type = AllocBaseType::UNCOMPRESSED; in get_alloc_type()
175 alloc_type->primary_type = AllocBaseType::AFBC; in get_alloc_type()
178 alloc_type->primary_type = AllocBaseType::AFBC_WIDEBLK; in get_alloc_type()
182 alloc_type->primary_type = AllocBaseType::AFBC_EXTRAWIDEBLK; in get_alloc_type()
383 if (AllocBaseType::AFBC_WIDEBLK == alloc_type.primary_type && !alloc_type.is_tiled) in get_pixel_w_h()