Home
last modified time | relevance | path

Searched refs:reserved_size (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferdescriptor.h47 uint64_t reserved_size; member
69 reserved_size(0), in buffer_descriptor_t()
103 reserved_size, in dump()
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_descriptor.h62 void SetReservedSize(uint64_t reserved_size) { reserved_size_ = reserved_size; } in SetReservedSize() argument
DQtiMapper4.h209 uint64_t reserved_size; in Decode() local
210 std::memcpy(&reserved_size, &in[index], sizeof(reserved_size)); in Decode()
211 index += sizeof(reserved_size); in Decode()
213 buf_descriptor->SetReservedSize(reserved_size); in Decode()
DQtiMapper4.cpp377 uint64_t reserved_size = 0; in getReservedRegion() local
379 hidl_cb(Error::BAD_BUFFER, reserved_region, reserved_size); in getReservedRegion()
382 buf_mgr_->GetReservedRegion(hnd, &reserved_region, &reserved_size)); in getReservedRegion()
384 hidl_cb(err, reserved_region, reserved_size); in getReservedRegion()
Dgr_buf_mgr.h91 uint64_t reserved_size = 0; member
Dgr_buf_mgr.cpp108 uint64_t reserved_region_size = handle->reserved_size; in unmapAndReset()
127 uint64_t reserved_region_size = handle->reserved_size; in validateAndMap()
768 auto meta_size = getMetaDataSize(hnd->reserved_size); in FreeBuffer()
810 buffer->reserved_size = hnd->reserved_size; in RegisterHandleLocked()
811 if (buffer->reserved_size > 0) { in RegisterHandleLocked()
819 buffer->reserved_size = metadata->reservedRegion.size; in RegisterHandleLocked()
1092 hnd->reserved_size = static_cast<unsigned int>(descriptor.GetReservedSize()); in AllocateBuffer()
1189 *reserved_region_size = buf->reserved_size; in GetReservedRegion()
/hardware/qcom/sm7250/display/gralloc/
Dgr_buf_descriptor.h61 void SetReservedSize(uint64_t reserved_size) { reserved_size_ = reserved_size; } in SetReservedSize() argument
DQtiMapper4.h208 uint64_t reserved_size; in Decode() local
209 std::memcpy(&reserved_size, &in[index], sizeof(reserved_size)); in Decode()
210 index += sizeof(reserved_size); in Decode()
212 buf_descriptor->SetReservedSize(reserved_size); in Decode()
DQtiMapper4.cpp377 uint64_t reserved_size = 0; in getReservedRegion() local
379 hidl_cb(Error::BAD_BUFFER, reserved_region, reserved_size); in getReservedRegion()
382 buf_mgr_->GetReservedRegion(hnd, &reserved_region, &reserved_size)); in getReservedRegion()
384 hidl_cb(err, reserved_region, reserved_size); in getReservedRegion()
Dgr_buf_mgr.h92 uint64_t reserved_size = 0; member
Dgr_buf_mgr.cpp107 uint64_t reserved_region_size = handle->reserved_size; in unmapAndReset()
125 uint64_t reserved_region_size = handle->reserved_size; in validateAndMap()
753 auto meta_size = getMetaDataSize(hnd->reserved_size); in FreeBuffer()
794 buffer->reserved_size = hnd->reserved_size; in RegisterHandleLocked()
795 if (buffer->reserved_size > 0) { in RegisterHandleLocked()
803 buffer->reserved_size = metadata->reservedRegion.size; in RegisterHandleLocked()
1087 hnd->reserved_size = descriptor.GetReservedSize(); in AllocateBuffer()
1224 *reserved_region_size = buf->reserved_size; in GetReservedRegion()
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp119 hnd->reserved_region_size = bufferDescriptor.reserved_size; in allocate()
DBufferDescriptor.h187 grallocDescriptor.reserved_size = pop_descriptor_uint64(androidDescriptor, &pos); in grallocDecodeBufferDescriptor()
/hardware/google/gchips/gralloc4/src/aidl/
DGrallocAllocator2.cpp99 bufferDescriptor.reserved_size = descriptor.reservedSize; in toInternalDescriptor()