Home
last modified time | relevance | path

Searched refs:hal_buffer_descriptor (Results 1 – 3 of 3) sorted by relevance

/hardware/google/camera/common/hal/utils/
Dgralloc_buffer_allocator.cc47 const HalBufferDescriptor& hal_buffer_descriptor, in ConvertHalBufferDescriptor() argument
52 if (hal_buffer_descriptor.format == HAL_PIXEL_FORMAT_BLOB) { in ConvertHalBufferDescriptor()
54 hal_buffer_descriptor.width * hal_buffer_descriptor.height; in ConvertHalBufferDescriptor()
57 gralloc_buffer_descriptor->width = hal_buffer_descriptor.width; in ConvertHalBufferDescriptor()
58 gralloc_buffer_descriptor->height = hal_buffer_descriptor.height; in ConvertHalBufferDescriptor()
60 gralloc_buffer_descriptor->format = hal_buffer_descriptor.format; in ConvertHalBufferDescriptor()
62 hal_buffer_descriptor.producer_flags; in ConvertHalBufferDescriptor()
64 hal_buffer_descriptor.consumer_flags; in ConvertHalBufferDescriptor()
66 hal_buffer_descriptor.immediate_num_buffers; in ConvertHalBufferDescriptor()
Dgralloc_buffer_allocator.h64 const HalBufferDescriptor& hal_buffer_descriptor,
Dstream_buffer_cache_manager.cc534 HalBufferDescriptor hal_buffer_descriptor{ in AllocateDummyBufferLocked() local
547 dummy_buffer_allocator_->AllocateBuffers(hal_buffer_descriptor, &buffers); in AllocateDummyBufferLocked()
553 if (buffers.size() != hal_buffer_descriptor.immediate_num_buffers) { in AllocateDummyBufferLocked()