From: Simon Glass <sjg@chromium.org> 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> --- include/video_defs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/video_defs.h b/include/video_defs.h index 397764a5d3c..ba60765bb4a 100644 --- a/include/video_defs.h +++ b/include/video_defs.h @@ -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 */ -- 2.43.0