Searched refs:memoryType_ (Results 1 – 14 of 14) sorted by relevance
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
H A D | camera_buffer.cpp | 22 : memoryType_(memType) in CameraBuffer() 112 if (memoryType_ == MEMTYPE_MMAP) { in CameraQueryMemory() 121 } else if (memoryType_ == MEMTYPE_USERPTR) { in CameraQueryMemory() 126 } else if (memoryType_ == MEMTYPE_DMABUF) { in CameraQueryMemory() 143 buf.memType = memoryType_; in CameraAllocBuffer() 151 switch (memoryType_) { in CameraAllocBuffer() 200 if (memoryType_ == MEMTYPE_USERPTR) { in CameraStreamQueue() 202 } else if (memoryType_ == MEMTYPE_MMAP) { in CameraStreamQueue() 204 } else if (memoryType_ == MEMTYPE_DMABUF) { in CameraStreamQueue() 265 buf.memType = memoryType_; in CameraReleaseBuffers() [all …]
|
H A D | camera_dev.cpp | 215 myBuffers_ = std::make_shared<CameraBuffer>(memoryType_); in ReqBuffers() 303 myBuffers_ = std::make_shared<CameraBuffer>(memoryType_); in ReleaseBuffers() 725 myBuffers_ = std::make_shared<CameraBuffer>(memoryType_); in SetCallback() 745 myBuffers_ = std::make_shared<CameraBuffer>(memoryType_); in Flush() 764 memoryType_ = MEMTYPE_MMAP; in SetMemoryType() 766 memoryType_ = MEMTYPE_DMABUF; in SetMemoryType()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_buffer.cpp | 70 : memoryType_(memType), bufferType_(bufferType) in HosV4L2Buffers() 80 auto executeRet = executor.Execute(result, fd, buffCont, bufferType_, memoryType_); in V4L2ReqBuffers() 133 buf.memory = memoryType_; in MakeInqueueBuffer() 135 switch (memoryType_) { in MakeInqueueBuffer() 202 buf.memory = memoryType_; in V4L2DequeueBuffer() 215 if (memoryType_ == V4L2_MEMORY_MMAP || memoryType_ == V4L2_MEMORY_DMABUF) { in V4L2DequeueBuffer() 263 buf.memory = memoryType_; in V4L2AllocBuffer() 282 if (memoryType_ == V4L2_MEMORY_MMAP || memoryType_ == V4L2_MEMORY_DMABUF) { in V4L2AllocBuffer() 302 switch (memoryType_) { in SetAdapterBuffer()
|
H A D | v4l2_dev.cpp | 136 myBuffers_ = HosV4L2Buffers::CreateHosV4L2Buffers(memoryType_, bufferType_); in ReqBuffers() 764 memoryType_ = V4L2_MEMORY_MMAP; in SetMemoryType() 766 memoryType_ = V4L2_MEMORY_DMABUF; in SetMemoryType()
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/ |
H A D | avbuffer_queue.cpp | 93 …: AVBufferQueue(), name_(name), size_(0), memoryType_(MemoryType::UNKNOWN_MEMORY), disableAlloc_(f… in AVBufferQueueImpl() 96 : AVBufferQueue(), name_(name), size_(size), memoryType_(type), disableAlloc_(disableAlloc) in AVBufferQueueImpl() 257 if (memoryType_ != MemoryType::UNKNOWN_MEMORY && config.memoryType != memoryType_) { in CheckConfig() 261 memoryType_ = config.memoryType; in CheckConfig() 285 "memoryType_ = %u", static_cast<uint32_t>(memoryType_)); in RequestBuffer() 286 configCopy.memoryType = memoryType_; in RequestBuffer()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | camera_buffer.h | 46 enum CameraMemType memoryType_; variable
|
H A D | camera_dev.h | 93 enum CameraMemType memoryType_ = MEMTYPE_MMAP; variable
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/ |
H A D | v4l2_buffer.h | 90 enum v4l2_memory memoryType_; variable
|
H A D | v4l2_dev.h | 124 enum v4l2_memory memoryType_ = V4L2_MEMORY_MMAP; variable
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include/ |
H A D | avbuffer_queue_impl.h | 118 MemoryType memoryType_; variable
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-yangfan-on_standard-demo.md | 936 INFO:V4L2AllocBuffer:memoryType_ = 2 1074 switch (memoryType_) { 1081 buf.memory = memoryType_;
|
H A D | porting-dayu200-on_standard-demo.md | 1713 switch (memoryType_) { 1719 buf.memory = memoryType_;
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-yangfan-on_standard-demo.md | 936 INFO:V4L2AllocBuffer:memoryType_ = 2 1073 switch (memoryType_) { 1080 buf.memory = memoryType_;
|
H A D | porting-dayu200-on_standard-demo.md | 1726 switch (memoryType_) { 1732 buf.memory = memoryType_;
|