Gnurou / v4l2r

Rust bindings for V4L2
MIT License
21 stars 10 forks source link

Add ENUM_FRAMESIZES and {G|S}_INPUT IOCTL support. #16

Closed dwlsalmeida closed 1 year ago

dwlsalmeida commented 1 year ago

Add ENUM_FRAMESIZES and {G|S}_INPUT IOCTL support. This helps with basic camera support through v4l2r.

dwlsalmeida commented 1 year ago

@Gnurou this was tested with the prototype I had for the V4L2 on VirtIO device, before you rewrote it in C.

Gnurou commented 1 year ago

Thanks! There is support for input already (see https://github.com/Gnurou/v4l2r/blob/master/lib/src/ioctl/g_input.rs), but I'll be glad to merge the ENUM_FRAMESIZE support if you can resend this PR with this change only. 👍

dwlsalmeida commented 1 year ago

@Gnurou done

Gnurou commented 1 year ago

Merged, thank you!