summaryrefslogtreecommitdiff
path: root/test/v4l2_subdevice/test_formats.cpp
diff options
context:
space:
mode:
authorSebastian Fricke <sebastian.fricke@posteo.net>2021-01-26 19:48:51 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-04 21:00:38 +0200
commit11a946bc22212abd9eef467633e8ab359df57299 (patch)
treebb2bb2c0792ed88e984464f799cb780d555025c8 /test/v4l2_subdevice/test_formats.cpp
parent83e434b2dccbcc3c9653767dce000052e1e52297 (diff)
libcamera: bayer_format: Remove unnecessary constructor
The new `fromV4l2PixelFormat` static member function renders an old BayerFormat constructor useless, remove it together with the `v4l2ToBayer` mapping table. The new function searches for a matching mapped value instead of a matching key, therefore the `bayerToV4l2` table is sufficient. Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice/test_formats.cpp')
0 files changed, 0 insertions, 0 deletions