libcamera: v4l2_videodevice: Pass memory type to reqbufs()
To prepare for the rework of buffer export, pass the memory type explicitly to the V4L2VideoDevice::reqbufs() function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -226,7 +226,7 @@ private:
|
||||
|
||||
int setSelection(unsigned int target, Rectangle *rect);
|
||||
|
||||
int requestBuffers(unsigned int count);
|
||||
int requestBuffers(unsigned int count, enum v4l2_memory memoryType);
|
||||
std::unique_ptr<FrameBuffer> createBuffer(const struct v4l2_buffer &buf);
|
||||
FileDescriptor exportDmabufFd(unsigned int index, unsigned int plane);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user