include: video: add size field to video_format structure
Add size field to the video_format structure which needs to be set by the
driver and exposed to the application.
For uncompressed formats, this is the size of the raw data buffer in
bytes, which could be the whole raw image or a portion of the raw image
in cases the receiver / dma supports it.
For compressed formats, this is the estimated maximum number of bytes
required to hold a complete compressed frame.
Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
1 file changed