Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v4l2 ioctl decoder #63

Open
esyr opened this issue Apr 11, 2018 · 0 comments
Open

Update v4l2 ioctl decoder #63

esyr opened this issue Apr 11, 2018 · 0 comments

Comments

@esyr
Copy link
Member

esyr commented Apr 11, 2018

It has gotten quite a lot of new commands in the past several years.

esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printfing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 29, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 30, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 30, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 30, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 30, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 30, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
esyr added a commit that referenced this issue Mar 30, 2020
* xlat/v4l2_buf_flags.in: Add fallback values.
* xlat/v4l2_buf_flags_masks.in: New file.
* xlat/v4l2_buf_flags_ts_src.in: Likewise.
* xlat/v4l2_buf_flags_ts_type.in: Likewise.
* v4l2.c: Include xlat/v4l2_buf_flags_ts_type.h,
xlat/v4l2_buf_flags_ts_src.h, xlat/v4l2_buf_flags_masks.h.
(print_v4l2_buffer_flags): New function.
(print_v4l2_buffer): Call print_v4l2_buffer_flags for printing flags field.
* tests/ioctl_v4l2-success.c: Update expected output.

References: #63
esyr added a commit that referenced this issue Mar 30, 2020
…4l2_cid

* v4l2.c: Move "xlat/v4l2_control_query_flags.h" inclusion before
print_v4l2_cid.
(print_v4l2_cid): Remove const qualifier from cid, add bool next_flags
argument; print v4l2_control_query_flags and NAND them from cid if they
are present.
(print_v4l2_control): Pass false as next_flags to the print_v4l2_cid
call.

References: #63
esyr added a commit that referenced this issue Mar 30, 2020
* v4l2.c (print_v4l2_queryctrl): Use PRINT_FIELD_XVAL for the type field
printing; use PRINT_FIELD_D for minimum, maximum, step, and
default_value fields printing; use PRINT_FIELD_FLAGS for the flags field
printing; print minimum, maximum, step, default_value, and flags fields
only if abbrev(tcp) is not set.
* tests/ioctl_v4l2-success.c: Update expected output.

Suggested-by: Philippe De Muyter <phdm@macqel.be>
References: #63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant