[v2,0/1] libcamera: camera_sensor: Fix imageStream() for CameraSensorLegacy class
mbox series

Message ID 20260123125903.2469016-1-julien.vuillaumier@nxp.com
Headers show
Series
  • libcamera: camera_sensor: Fix imageStream() for CameraSensorLegacy class
Related show

Message

Julien Vuillaumier Jan. 23, 2026, 12:59 p.m. UTC
Hello,

This is an updated version of that patch, fixing the image source pad index
reported by a legacy camera when it is not the pad 0. It may be the case
when a raw sensor subdevice is linked to an external ISP, then the external
ISP subdevice is acting as the sensor subdevice. As it has both sink and
source pads, the image source pad may no longer be zero.

Changes in v2:
- Fixes the documentation warning

Thanks

[1] https://patchwork.libcamera.org/project/libcamera/list/?series=5507

Julien Vuillaumier (1):
  libcamera: camera_sensor: Fix imageStream() for CameraSensorLegacy
    class

 include/libcamera/internal/camera_sensor.h    | 2 +-
 src/libcamera/sensor/camera_sensor.cpp        | 5 +----
 src/libcamera/sensor/camera_sensor_legacy.cpp | 6 ++++++
 3 files changed, 8 insertions(+), 5 deletions(-)