Skip to content
Commit 9fa1aeea authored by Phi Bang Nguyen's avatar Phi Bang Nguyen Committed by Benjamin Cabé
Browse files

drivers: video: Add video_buf_type



M2M devices like ISPs or PxP have two separate buffer queues, i.e.
incoming and outcoming queues. For each API, the driver needs to
distinguish on which queue it needs to take action.

Add video buffer type to support this kind of devices.

- get_caps(), set/get_format(), enqueue()/dequeue(): the buffer type
is embeded in the video_caps, video_format and video_buffer structs

- video_stream_start/stop() : buffer type needs is sent as a parameter

Signed-off-by: default avatarPhi Bang Nguyen <phibang.nguyen@nxp.com>
parent b63fb916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment