/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 61 p_buffer->alloc.len = p_buffer->size; in buffer_allocate() 62 p_buffer->alloc.align = 4096; in buffer_allocate() 63 p_buffer->alloc.flags = (cached) ? ION_FLAG_CACHED : 0; in buffer_allocate() 64 p_buffer->alloc.heap_id_mask = 0x1 << ION_IOMMU_HEAP_ID; in buffer_allocate() 73 p_buffer->alloc.len = (p_buffer->alloc.len + 4095U) & (~4095U); in buffer_allocate() 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate() 77 p_buffer->alloc.len); in buffer_allocate() 81 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate() 91 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE, in buffer_allocate()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3Test.cpp | 98 struct ion_allocation_data alloc; in allocateBuffers() local 108 memset(&alloc, 0, sizeof(alloc)); in allocateBuffers() 110 alloc.len = (size_t)(buf_size); in allocateBuffers() 111 alloc.len = (alloc.len + 4095U) & (~4095U); in allocateBuffers() 112 alloc.align = 4096; in allocateBuffers() 113 alloc.flags = ION_FLAG_CACHED; in allocateBuffers() 114 alloc.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); in allocateBuffers() 115 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); in allocateBuffers() 121 ion_info_fd.handle = alloc.handle; in allocateBuffers() 129 LOGD("%s ION FD %d len %d\n", __func__, ion_info_fd.fd, alloc.len); in allocateBuffers() [all …]
|
/hardware/google/av/codec2/vndk/ |
D | C2Buffer.cpp | 120 _C2Block1DImpl(const std::shared_ptr<C2LinearAllocation> &alloc, in _C2Block1DImpl() argument 123 : _C2LinearRangeAspect(alloc.get(), offset, size), in _C2Block1DImpl() 124 mAllocation(alloc), in _C2Block1DImpl() 336 std::shared_ptr<C2LinearAllocation> alloc; in fetchLinearBlock() local 337 c2_status_t err = mAllocator->newLinearAllocation(capacity, usage, &alloc); in fetchLinearBlock() 342 *block = _C2BlockFactory::CreateLinearBlock(alloc); in fetchLinearBlock() 378 const std::shared_ptr<C2LinearAllocation> &alloc, in CreateLinearBlock() argument 381 std::make_shared<C2Block1D::Impl>(alloc, data, offset, size); in CreateLinearBlock() 398 std::shared_ptr<C2LinearAllocation> alloc; in CreateLinearBlock() local 400 c2_status_t err = sAllocator->priorLinearAllocation(handle, &alloc); in CreateLinearBlock() [all …]
|
D | C2AllocatorIon.cpp | 523 std::shared_ptr<C2AllocationIon> alloc in newLinearAllocation() local 525 ret = alloc->status(); in newLinearAllocation() 527 *allocation = alloc; in newLinearAllocation() 545 std::shared_ptr<C2AllocationIon> alloc in priorLinearAllocation() local 547 c2_status_t ret = alloc->status(); in priorLinearAllocation() 549 *allocation = alloc; in priorLinearAllocation()
|
/hardware/google/av/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 147 std::shared_ptr<C2GraphicAllocation> alloc; in CreateGraphicBlock() local 159 c2_status_t err = sAllocator->priorGraphicAllocation(handle, &alloc); in CreateGraphicBlock() 168 block = _C2BlockFactory::CreateGraphicBlock(alloc, poolData); in CreateGraphicBlock() 170 block = _C2BlockFactory::CreateGraphicBlock(alloc); in CreateGraphicBlock() 283 std::shared_ptr<C2GraphicAllocation> alloc; in fetchFromIgbp_l() local 284 c2_status_t err = mAllocator->priorGraphicAllocation(c2Handle, &alloc); in fetchFromIgbp_l() 292 *block = _C2BlockFactory::CreateGraphicBlock(alloc, poolData); in fetchFromIgbp_l() 340 std::shared_ptr<C2GraphicAllocation> alloc; in fetchGraphicBlock() local 342 width, height, format, usage, &alloc); in fetchGraphicBlock() 350 *block = _C2BlockFactory::CreateGraphicBlock(alloc, poolData); in fetchGraphicBlock()
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsCamera.cpp | 90 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 95 alloc.free(rec.handle); in forceShutdown() 308 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 314 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, in increaseAvailableFrames_Locked() 351 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 359 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
D | EvsDisplay.cpp | 75 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 76 alloc.free(mBuffer.memHandle); in forceShutdown() 168 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local 169 status_t result = alloc.allocate( in getTargetBuffer()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 380 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id) in alloc() function in qcamera::QCameraMemory 468 struct ion_allocation_data alloc; in allocOneBuffer() local 478 memset(&alloc, 0, sizeof(alloc)); in allocOneBuffer() 479 alloc.len = size; in allocOneBuffer() 481 alloc.len = (alloc.len + 4095U) & (~4095U); in allocOneBuffer() 482 alloc.align = 4096; in allocOneBuffer() 484 alloc.flags = ION_FLAG_CACHED; in allocOneBuffer() 486 alloc.heap_id_mask = heap_id; in allocOneBuffer() 489 alloc.flags = ION_FLAG_SECURE | ION_FLAG_CP_CAMERA; in allocOneBuffer() 490 alloc.heap_id_mask = ION_HEAP(ION_SECURE_DISPLAY_HEAP_ID); in allocOneBuffer() [all …]
|
/hardware/google/av/media/sfplugin/ |
D | Codec2Buffer.h | 222 std::function<sp<ABuffer>(size_t)> alloc); 258 const sp<AMessage> &format, const std::shared_ptr<C2Allocator> &alloc); 292 std::function<sp<ABuffer>(size_t)> alloc); 304 std::function<sp<ABuffer>(size_t)> alloc);
|
D | Codec2Buffer.cpp | 502 std::function<sp<ABuffer>(size_t)> alloc) { in Allocate() argument 520 buffer = alloc(converter.backBufferSize()); in Allocate() 564 const std::shared_ptr<C2Allocator> &alloc) in GraphicMetadataBuffer() argument 566 mAlloc(alloc) { in GraphicMetadataBuffer() 587 std::shared_ptr<C2GraphicAllocation> alloc; in asC2Buffer() local 588 c2_status_t err = mAlloc->priorGraphicAllocation(handle, &alloc); in asC2Buffer() 593 std::shared_ptr<C2GraphicBlock> block = _C2BlockFactory::CreateGraphicBlock(alloc); in asC2Buffer() 611 std::function<sp<ABuffer>(size_t)> alloc) { in Allocate() argument 633 aBuffer = alloc(converter.backBufferSize()); in Allocate() 655 std::function<sp<ABuffer>(size_t)> alloc) { in AllocateEmpty() argument [all …]
|
D | C2OMXNode.cpp | 227 std::shared_ptr<C2GraphicAllocation> alloc; in emptyBuffer() local 235 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in emptyBuffer() 239 block = _C2BlockFactory::CreateGraphicBlock(alloc); in emptyBuffer()
|
/hardware/google/av/codec2/vndk/internal/ |
D | C2BlockInternal.h | 74 const std::shared_ptr<C2LinearAllocation> &alloc, 91 const std::shared_ptr<C2GraphicAllocation> &alloc,
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_ionbuf.h | 41 struct ion_allocation_data alloc; member
|
/hardware/broadcom/libbt/src/ |
D | hardware.c | 639 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback() 1002 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback() 1036 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback() 1135 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_start() 1180 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_lpm_enable() 1356 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + cmd_u16); in hw_sco_i2spcm_config() 1424 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_set_SCO_codec() 1620 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayWriteback.cpp | 49 return alloc(size, isSecure); in manageMem() 52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
|
D | overlayWriteback.h | 51 bool alloc(uint32_t size, bool isSecure);
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayWriteback.cpp | 49 return alloc(size, isSecure); in manageMem() 52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
|
D | overlayWriteback.h | 51 bool alloc(uint32_t size, bool isSecure);
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayWriteback.cpp | 49 return alloc(size, isSecure); in manageMem() 52 bool WritebackMem::alloc(uint32_t size, bool isSecure) { in alloc() function in overlay::WritebackMem
|
D | overlayWriteback.h | 51 bool alloc(uint32_t size, bool isSecure);
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hardware.c | 152 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
|
/hardware/qcom/bt/msm8960/libbt-vendor/src/ |
D | hardware.c | 153 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
|
/hardware/interfaces/renderscript/1.0/default/ |
D | Context.h | 57 …Return<void> allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) override; 64 Return<void> allocationSetupBufferQueue(Allocation alloc, uint32_t numBuffer) override; 111 … Return<void> scriptGroupSetOutput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc) override; 112 Return<void> scriptGroupSetInput(ScriptGroup sg, ScriptKernelID kid, Allocation alloc) override;
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | bt_vendor_lib.h | 350 malloc_cb alloc; member
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 169 std::shared_ptr<C2GraphicAllocation> alloc; in submitBuffer() local 175 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in submitBuffer() 181 _C2BlockFactory::CreateGraphicBlock(alloc); in submitBuffer()
|