Skip to content

Commit 05a739e

Browse files
committed
include: video: add sizeimage field to video_format structure
Add sizeimage field to video_format structure. This is the maximum size in bytes required for buffer data. Signed-off-by: Hugues Fruchet <[email protected]>
1 parent 435e295 commit 05a739e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/zephyr/drivers/video.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ struct video_format {
7979
* the next row (>=width).
8080
*/
8181
uint32_t pitch;
82+
/**
83+
* @brief size of buffer data.
84+
*
85+
* This is the maximum size in bytes required for buffer data.
86+
*/
87+
uint32_t sizeimage;
8288
};
8389

8490
/**

0 commit comments

Comments
 (0)