[libcamera-devel,v2,0/6] android: Report frame durations
mbox series

Message ID 20210126173008.446321-1-jacopo@jmondi.org
Headers show
Series
  • android: Report frame durations
Related show

Message

Jacopo Mondi Jan. 26, 2021, 5:30 p.m. UTC
The only difference compared to v1 is [4/6] which I left un-squashed
to ease review.

The issue is subtle and manifests itself with a number of CTS tests
that "fail to open camera". The culprit is the ov13858 minimum frame
duration that is registered as 33389 microseconds, and the android
camera framework filters away all streams intended for preview/record
with a minimum frame duration larger than 33366 microseconds.

The rounding criteria are quite arbitrary, so I expect someone to
scream to those.

Thanks
   j

Jacopo Mondi (6):
  libcamera: camera_sensor: Make VBLANK mandatory
  libcamera: ipu3: Register FrameDurations control
  android: camera_device: Compute frame durations
  fixup! android: camera_device: Compute frame durations
  android: camera_device: Use AE FPS range in template
  android: camera_device: Return AE FPS range

 Documentation/sensor_driver_requirements.rst |   6 +-
 src/android/camera_device.cpp                | 137 +++++++++++++++----
 src/libcamera/camera_sensor.cpp              |   1 +
 src/libcamera/pipeline/ipu3/ipu3.cpp         |  35 ++++-
 4 files changed, 147 insertions(+), 32 deletions(-)

--
2.30.0