lib: configfs: Move uvc_formats to dedicated file

UVC Gadget can support more formats than the MJPEG and YUYV that we
currently list; move the uvc_formats array and the definitions of
the UVC GUIDs to a separate file to keep things neat in configfs.c
and list some extra supported formats.

The listed ones are those which I could easily verify support for
via vivid, but in principle any uncompressed format ought to work.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
2 files changed
tree: 72ecfc80114deb155768818a3f7bb0f84323c810
  1. include/
  2. lib/
  3. scripts/
  4. src/
  5. .gitignore
  6. Makefile
  7. meson.build
  8. README.md
README.md

uvcgadget - UVC gadget C library

uvcgadget is a pure C library that implements handling of UVC gadget functions.

Utilities

  • uvc-gadget - Sample test application

Build instructions:

To compile:

$ meson build
$ ninja -C build

Cross compiling instructions:

Cross compilation can be managed by meson. Please read the directions at https://mesonbuild.com/Cross-compilation.html for detailed guidance on using meson.

In brief summary:

$ meson build --cross <meson cross file>
$ ninja -C build