libcamera/src
Laurent Pinchart b3987620aa libcamera: camera_sensor: Relax restriction on sizes
The CameraSensor class assumes that camera sensors support the exact
same list of sizes of all media bus codes. While allowing a simpler API,
this assumption is incorrect and is blocking usage of some camera
sensors.

Relaxing the constraint is possible without changes to the CameraSensor
API syntax, but requires changing its semantics. The sizes() function
now returns the list of all sizes for all media bus codes, and the
getFormat() function now searches in all supported media bus codes. The
former is likely not the most useful option for pipeline handlers, but
the sizes() function is currently unused. Designing a better API will
require inspecting current and expected future use cases in pipeline
handlers to determine proper heuristics.

While at it, fix a small typo in an unrelated comment.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-05-03 17:49:51 +03:00
..
android android: camera_device: Use Camera properties for static Metadata 2020-02-14 16:27:42 +01:00
cam cam: Make use of StreamKeyValueParser 2020-05-01 12:24:07 +02:00
gstreamer libcamera: framebuffer_allocator: Lift camera restrictions on allocator 2020-03-18 19:15:18 +02:00
ipa libcamera: Build IPA module signatures by default 2020-04-30 13:18:05 +03:00
libcamera libcamera: camera_sensor: Relax restriction on sizes 2020-05-03 17:49:51 +03:00
qcam qcam: dng_writer: Remove colon from \todo 2020-05-03 03:35:16 +02:00
v4l2 libcamera: framebuffer_allocator: Lift camera restrictions on allocator 2020-03-18 19:15:18 +02:00
meson.build libcamera: Make IPA module signing mandatory for the meantime 2020-04-16 17:37:41 +03:00