diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-15 10:02:27 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-23 10:53:58 +0200 |
commit | b979c7c99ff029202724f4bdd235e29bd724ec23 (patch) | |
tree | 69a8cf5f372eb26686dc881ec456bfac6510e55b /src/qcam/viewfinder_gl.cpp | |
parent | 5bb87f0f3a3876b8cc9331e881155467a7474a2a (diff) |
libcamera: formats: Support multiple V4L2 pixel formats
Associate a list of V4L2PixelFormat entries to a libcamera Format in
the PixelFormatInfo. This change prepares for supporting through a
single libcamera Format devices which use different but equivalent
versions of the same format, like V4L2_PIX_FMT_MJPEG and
V4L2_PIX_FMT_JPEG.
Change the existing users to always use the first entry to not break
the build.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/viewfinder_gl.cpp')
0 files changed, 0 insertions, 0 deletions