Skip to content

Conversation

@rzerres
Copy link
Contributor

@rzerres rzerres commented Mar 9, 2019

When addressing buffers within V4L2, their types are defined in "enum v4l2_buf_type" in <videodev2.h>.
The enum definitions correspond with human readable names, which are accessible through this new 'buffer_type' structure.

  • define a V4L2 buffer type structure (.name, .type)
  • refer 'v4l2_buf_type' enum values to their lexical names

- define a V4L2 buffer type structure (.name, .type)
- refer 'v4l2_buf_type' enum values to their lexical names

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
@rzerres rzerres changed the title introduce structure buffer_type introduce 'buffer_type' structure Mar 9, 2019
- take the field value in question and output its dereferenced name
  from the referenced structure

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant