Discussion of CameraConfiguration with extra information: target fps/CaptureIntent
Cheng-Hao Yang
chenghaoyang at chromium.org
Wed Oct 23 10:59:26 CEST 2024
Hi libcamera developers,
I found a patch in cros mtkisp7 branch that I don't think you'd like:
https://chromium-review.googlesource.com/c/chromiumos/third_party/libcamera/+/5675025/comments/458a308a_be91eda8
This patch adds the information in CameraConfiguration that the
intention is StillCapture or Preview/Video, which is determined by the
target fps in Android adaptor [1]. The information is needed to
configure modes in the proprietary libraries.
I understand that it doesn't meet the design of CameraConfiguration,
but have we considered passing target fps as an argument when doing
configuration?
I'd also like to know if there are other approaches to satisfy
mtkisp7's requirements. Thanks!
BR,
Harvey
[1]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/libcamera/mtkisp7/src/android/camera_device.cpp;l=900
More information about the libcamera-devel
mailing list