Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: video: introduce buffer flags for fragmented frames
Video buffers did not precise whether they contained a whole frame, or a fragment of a frame. Adding a flag struct as well as a total frame field allows video devices to tell whether they produced - a complete frame (with VIDEO_BUF_EOF and no VIDEO_BUF_FRAG), - a partial frame (with VIDEO_BUF_FRAG), - a last frame (with VIDEO_BUF_EOF), The video devices that do not support fragmentation currently ignore this flag. As discussed in zephyrproject-rtos#66994 and zephyrproject-rtos#72827. Co-authored-by: Lee <admin@arducam.com> Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com> Signed-off-by: Josuah Demangeon <me@josuah.net>
- Loading branch information