mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
videoio: modify data type of v4l2_buffer from uint32_t to uint16_t
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
This commit is contained in:
parent
fecf2039d8
commit
03c756dd74
1 changed files with 6 additions and 6 deletions
|
@ -777,15 +777,15 @@ typedef struct v4l2_plane v4l2_plane_t;
|
|||
|
||||
struct v4l2_buffer
|
||||
{
|
||||
uint16_t index; /* Buffer id */
|
||||
uint16_t type; /* enum #v4l2_buf_type */
|
||||
uint32_t index; /* Buffer id */
|
||||
uint32_t type; /* enum #v4l2_buf_type */
|
||||
uint32_t bytesused; /* Driver sets the image size */
|
||||
uint16_t flags; /* Buffer flags. */
|
||||
uint16_t field; /* The field order of the image */
|
||||
uint32_t flags; /* Buffer flags. */
|
||||
uint32_t field; /* The field order of the image */
|
||||
struct timeval timestamp; /* Frame timestamp */
|
||||
struct v4l2_timecode timecode; /* Frame timecode */
|
||||
uint16_t sequence; /* Frame sequence number */
|
||||
uint16_t memory; /* enum #v4l2_memory */
|
||||
uint32_t sequence; /* Frame sequence number */
|
||||
uint32_t memory; /* enum #v4l2_memory */
|
||||
union
|
||||
{
|
||||
uint32_t offset;
|
||||
|
|
Loading…
Reference in a new issue