Home
last modified time | relevance | path

Searched refs:BufferDescriptor (Results 1 – 25 of 67) sorted by relevance

123

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_descriptor.h36 class BufferDescriptor {
38 BufferDescriptor() : id_(next_id_++) {} in BufferDescriptor() function
40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() function
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() function
Dgr_buf_mgr.h53 gralloc1_error_t ValidateBufferSize(private_handle_t const *hnd, BufferDescriptor descriptor);
57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction()
78 int AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle,
82 void CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor,
130 std::shared_ptr<BufferDescriptor>> descriptors_map_ = {};
Dgr_allocator.h61 const std::vector<std::shared_ptr<BufferDescriptor>>& descriptors,
65 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh);
66 void GetBufferSizeAndDimensions(const BufferDescriptor &d, unsigned int *size,
70 void GetAlignedWidthAndHeight(const BufferDescriptor &d, unsigned int *aligned_w,
Dgr_buf_mgr.cpp34 std::atomic<gralloc1_buffer_descriptor_t> BufferDescriptor::next_id_(1);
62 auto descriptor = std::make_shared<BufferDescriptor>(); in CreateBufferDescriptor()
97 std::vector<std::shared_ptr<BufferDescriptor>> descriptors; in AllocateBuffers()
158 void BufferManager::CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor, in CreateSharedHandle()
440 int BufferManager::AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle, in AllocateBuffer()
544 BufferDescriptor descriptor(width, height, format); in Perform()
560 BufferDescriptor descriptor(width, width, format); in Perform()
614 BufferDescriptor descriptor(width, height, format, prod_usage, cons_usage); in Perform()
708 auto descriptor = BufferDescriptor(width, height, format, producer_usage, consumer_usage); in Perform()
723 BufferDescriptor descriptor(width, height, format, producer_usage, consumer_usage); in Perform()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_descriptor.h37 class BufferDescriptor {
39 BufferDescriptor() : id_(next_id_++) {} in BufferDescriptor() function
41 BufferDescriptor(int w, int h, int f) in BufferDescriptor() function
49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() function
Dgr_buf_mgr.h55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction()
76 int AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle,
82 void CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor,
129 std::shared_ptr<BufferDescriptor>> descriptors_map_ = {};
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_descriptor.h37 class BufferDescriptor {
39 BufferDescriptor() : id_(next_id_++) {} in BufferDescriptor() function
41 BufferDescriptor(int w, int h, int f) in BufferDescriptor() function
49 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() function
Dgr_buf_mgr.h55 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction()
76 int AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle,
82 void CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor,
129 std::shared_ptr<BufferDescriptor>> descriptors_map_ = {};
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_descriptor.h36 class BufferDescriptor {
38 BufferDescriptor() : id_(next_id_++) {} in BufferDescriptor() function
40 BufferDescriptor(int w, int h, int f) in BufferDescriptor() function
48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, in BufferDescriptor() function
Dgr_buf_mgr.h53 gralloc1_error_t ValidateBufferSize(private_handle_t const *hnd, BufferDescriptor descriptor);
57 void (BufferDescriptor::*member)(Args...), in CallBufferDescriptorFunction()
78 int AllocateBuffer(const BufferDescriptor &descriptor, buffer_handle_t *handle,
82 void CreateSharedHandle(buffer_handle_t inbuffer, const BufferDescriptor &descriptor,
130 std::shared_ptr<BufferDescriptor>> descriptors_map_ = {};
Dgr_allocator.h61 const std::vector<std::shared_ptr<BufferDescriptor>>& descriptors,
65 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh);
66 void GetBufferSizeAndDimensions(const BufferDescriptor &d, unsigned int *size,
70 void GetAlignedWidthAndHeight(const BufferDescriptor &d, unsigned int *aligned_w,
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapperHal.h29 using V2_0::BufferDescriptor;
38 BufferDescriptor* outDescriptor) override { in createDescriptor()
60 BufferDescriptor* outDescriptor) = 0;
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGrallocBufferDescriptor.h37 inline BufferDescriptor grallocEncodeBufferDescriptor( in grallocEncodeBufferDescriptor()
39 BufferDescriptor descriptor; in grallocEncodeBufferDescriptor()
52 inline bool grallocDecodeBufferDescriptor(const BufferDescriptor& descriptor, in grallocDecodeBufferDescriptor()
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/
DAllocatorHal.h32 using mapper::V2_0::BufferDescriptor;
43 virtual Error allocateBuffers(const BufferDescriptor& descriptor, uint32_t count,
DAllocator.h37 using mapper::V2_0::BufferDescriptor;
57 Return<void> allocate(const BufferDescriptor& descriptor, uint32_t count, in allocate()
/hardware/qcom/sdm845/display/gralloc/
Dgr_buf_descriptor.h44 class BufferDescriptor {
46 BufferDescriptor() {} in BufferDescriptor() function
47 explicit BufferDescriptor(uint64_t id) : id_(id) {} in BufferDescriptor() function
DQtiAllocator.cpp47 using gralloc::BufferDescriptor;
66 gralloc::BufferDescriptor desc; in allocate()
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
DMapperVts.h30 using V2_0::BufferDescriptor;
46 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp82 const mapper2::BufferDescriptor& descriptor, uint32_t count, bool import, uint32_t* outStride) { in allocate()
113 mapper2::BufferDescriptor descriptor = createDescriptor(descriptorInfo); in allocate()
122 mapper2::BufferDescriptor GrallocWrapper::createDescriptor( in createDescriptor()
124 mapper2::BufferDescriptor descriptor; in createDescriptor()
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp97 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
98 BufferDescriptor descriptor; in createDescriptor()
110 BufferDescriptor descriptor = createDescriptor(descriptorInfo); in allocate()
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DGrallocWrapper.h45 std::vector<const native_handle_t*> allocate(const mapper2::BufferDescriptor& descriptor,
51 mapper2::BufferDescriptor createDescriptor(
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h53 std::vector<const native_handle_t*> allocate(const BufferDescriptor& descriptor, uint32_t count,
62 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp78 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
111 BufferDescriptor descriptor = createDescriptor(descriptorInfo); in allocate()
128 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
129 BufferDescriptor descriptor; in createDescriptor()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h30 using V2_0::BufferDescriptor;
63 BufferDescriptor* outDescriptor) override { in createDescriptor_2_1()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h53 std::vector<const native_handle_t*> allocate(const BufferDescriptor& descriptor,
63 BufferDescriptor createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo);

123