Lines Matching refs:Allocator

80 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) {  in Allocator()  function in gralloc1::Allocator
83 bool Allocator::Init() { in Init()
95 Allocator::~Allocator() { in ~Allocator()
105 int Allocator::AllocateMem(AllocData *alloc_data, gralloc1_producer_usage_t prod_usage, in AllocateMem()
125 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { in MapBuffer()
133 int Allocator::ImportBuffer(int fd) { in ImportBuffer()
140 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, in FreeBuffer()
149 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) { in CleanBuffer()
157 bool Allocator::CheckForBufferSharing(uint32_t num_descriptors, in CheckForBufferSharing()
198 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, in GetSize()
298 void Allocator::GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, in GetBufferSizeAndDimensions()
306 void Allocator::GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, in GetBufferSizeAndDimensions()
313 void Allocator::GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, in GetYuvUbwcSPPlaneInfo()
341 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo()
354 int Allocator::GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) { in GetYUVPlaneInfo()
448 int Allocator::GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, in GetImplDefinedFormat()
487 bool Allocator::IsUBwcFormat(int format) { in IsUBwcFormat()
497 bool Allocator::IsUBwcSupported(int format) { in IsUBwcSupported()
519 bool Allocator::UseUncached(gralloc1_producer_usage_t prod_usage, in UseUncached()
546 void Allocator::GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, in GetIonHeapInfo()
603 bool Allocator::IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, in IsUBwcEnabled()
635 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight()
657 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize()
681 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize()
704 unsigned int Allocator::GetUBwcSize(int width, int height, int format, unsigned int alignedw, in GetUBwcSize()
734 int Allocator::GetRgbDataAddress(private_handle_t *hnd, void **rgb_data) { in GetRgbDataAddress()
768 void Allocator::GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, in GetAlignedWidthAndHeight()