Home
last modified time | relevance | path

Searched refs:planeNum (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/
H A Dcamera_buffer.c134 int32_t planeNum; in CameraBufferAllocMmapPlanes() local
137 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferAllocMmapPlanes()
146 for (; planeNum > 0; --planeNum) { in CameraBufferAllocMmapPlanes()
296 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferPrepareMmap()
340 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferPrepareUserPtr()
350 planes[planeNum].memory.userPtr, planes[planeNum].length); in CameraBufferPrepareUserPtr()
375 if (planes[planeNum].length < buffer->planes[planeNum].minLength) { in CameraBufferAttachDmaPlane()
380 …if (dmaBuf == buffer->planes[planeNum].dmaBuf && buffer->planes[planeNum].length == planes[planeNu… in CameraBufferAttachDmaPlane()
408 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferAttachDmaBuffer()
423 for (planeNum = 0; planeNum < buffer->numPlanes; ++planeNum) { in CameraBufferMapDmaBuffer()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/camera/src/
H A Dcontig_dma.c73 static void *ContigMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in ContigMmapAlloc() argument
79 if (queueImp->allocDev[planeNum] != NULL) { in ContigMmapAlloc()
80 dev = queueImp->allocDev[planeNum]; in ContigMmapAlloc()
145 uint32_t planeNum, unsigned long vaddr, unsigned long size) in ContigAllocUserPtr() argument
159 if (queueImp->allocDev[planeNum] != NULL) { in ContigAllocUserPtr()
160 dev = queueImp->allocDev[planeNum]; in ContigAllocUserPtr()
328 static void *ContigAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigne… in ContigAttachDmaBuf() argument
336 if (queueImp->allocDev[planeNum] != NULL) { in ContigAttachDmaBuf()
337 dev = queueImp->allocDev[planeNum]; in ContigAttachDmaBuf()
H A Dsg_dma.c99 static void *SgMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in SgMmapAlloc() argument
108 if (queueImp->allocDev[planeNum] != NULL) { in SgMmapAlloc()
109 dev = queueImp->allocDev[planeNum]; in SgMmapAlloc()
189 uint32_t planeNum, unsigned long vaddr, unsigned long size) in SgAllocUserPtr() argument
197 if (queueImp->allocDev[planeNum] != NULL) { in SgAllocUserPtr()
198 dev = queueImp->allocDev[planeNum]; in SgAllocUserPtr()
343 static void *SgAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned lo… in SgAttachDmaBuf() argument
351 if (queueImp->allocDev[planeNum] != NULL) { in SgAttachDmaBuf()
352 dev = queueImp->allocDev[planeNum]; in SgAttachDmaBuf()
H A Dvirtual_malloc.c34 static void *VmallocMmapAlloc(struct BufferQueue *queue, uint32_t planeNum, unsigned long size) in VmallocMmapAlloc() argument
62 uint32_t planeNum, unsigned long vaddr, unsigned long size) in VmallocAllocUserPtr() argument
222 static void *VmallocAttachDmaBuf(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsign… in VmallocAttachDmaBuf() argument
229 if (queueImp->allocDev[planeNum] != NULL) { in VmallocAttachDmaBuf()
230 dev = queueImp->allocDev[planeNum]; in VmallocAttachDmaBuf()
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/include/
H A Dbuffer_queue.h42 void *(*mmapAlloc)(struct BufferQueue *queue, uint32_t planeNum, unsigned long size);
45 …void *(*allocUserPtr)(struct BufferQueue *queue, uint32_t planeNum, unsigned long vaddr, unsigned …
49 …void *(*attachDmaBuf)(struct BufferQueue *queue, uint32_t planeNum, void *dmaBuf, unsigned long si…