diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-30 21:31:44 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-10-01 22:23:25 +0200 |
commit | 1455bd0dc25d6c5a2cc8ef99dc030b9dca3df77d (patch) | |
tree | 461688f804d68216d62d68c853ec3bfb74a965b1 /src/qcam/assets/shader/shaders.qrc | |
parent | d687b004d1d4a5f95b5acbe44a79f2933f72525f (diff) |
libcamera: pipeline: rkisp1: Fix media bus propagation for NV{12,21}
The upstream driver has changed how the link formats are validated when
starting to stream [1]. This revealed that libcamera did not adjust the
media bus format from the link between {main,self} resizer source pad
and the capture video device as expected by the driver.
The media bus code YUYV8_2X8 was hardcoded to MEDIA_BUS_FMT_YUYV8_2X8
for all pixel formats while it must be adjusted to YUYV8_1_5X8 for NV12
and NV21, fix this.
1. 6803a9e0e1e43e9e ("media: staging: rkisp1: cap: simplify link validation by comparing media bus code")
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/shader/shaders.qrc')
0 files changed, 0 insertions, 0 deletions