video: Add struct vid_size for width/height

Add struct vid_size with w and h members to represent dimensions in
video operations, complementing struct vid_pos for positions and struct
vid_bbox for bounding boxes.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-10-03 12:27:34 -06:00
parent ff8905943b
commit c5b187a8f5

View File

@@ -59,6 +59,17 @@ struct vid_pos {
int y;
};
/**
* struct vid_size - Represents a size for video operations
*
* @w: Width in pixels
* @h: Height in pixels
*/
struct vid_size {
int w;
int h;
};
#endif /* __ASSEMBLY__ */
#endif /* __VIDEO_DEFS_H */