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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user