videoio: modify the v4l2_pix_format type is the same as mplane

Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
shizhenghui 2024-04-12 21:19:20 +08:00 committed by Xiang Xiao
parent 360c2fc44c
commit fecf2039d8

View File

@ -899,8 +899,8 @@ struct v4l2_frmivalenum
struct v4l2_pix_format
{
uint16_t width; /* Image width in pixels */
uint16_t height; /* Image height in pixels */
uint32_t width; /* Image width in pixels */
uint32_t height; /* Image height in pixels */
uint32_t pixelformat; /* The pixel format or type of compression. */
uint32_t field; /* enum #v4l2_field */
uint32_t bytesperline; /* For padding, zero if unused */