media: sun6i-csi: Improve capture and bridge
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: sun6i-csi: capture: Align size to 16 for NV12_16L16drivers/ | +14 | 0 replies | |
| 2/3 | media: sun6i-csi: capture: Add enum_framesizes supportdrivers/ | +25 | 0 replies | |
| 3/3 | media: sun6i-csi: bridge: Remove duplicate mbus format entriesdrivers/ | +0 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Paul Kocialkowski |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] media: sun6i-csi: Improve capture and bridge
Hi,
This series improves sun6i-csi capture and bridge.
Patch 1 fixes sun6i_csi_capture_format_prepare() to align both width and height to 16 for NV12_16L16, as its 16x16 tiles require.
Patch 2 adds vidioc_enum_framesizes() to sun6i-csi-capture, using the same alignment.
Patch 3 removes duplicated mbus codes from sun6i-csi-bridge. It was posted earlier and carries Paul's Reviewed-by.
Tested on LicheePi Zero Dock (Allwinner V3s) with:
ov5647 -> sun6i-mipi-csi2 -> sun6i-csi-bridge -> sun6i-csi-capture
As ov5647 only outputs Bayer, streaming HM12/NV12 is not possible on this setup, so I did not test real streaming. I checked that v4l2-ctl --try-fmt-video, --set-fmt-video, --get-fmt-video and --list-framesizes report the expected sizes for HM12 (16 aligned) and NV12 (2 aligned).
Arash Golgol (3):
media: sun6i-csi: capture: Align size to 16 for NV12_16L16
media: sun6i-csi: capture: Add enum_framesizes support
media: sun6i-csi: bridge: Remove duplicate mbus format entries
.../sunxi/sun6i-csi/sun6i_csi_bridge.c | 12 ----- .../sunxi/sun6i-csi/sun6i_csi_capture.c | 45 ++++++++++++++++--- 2 files changed, 39 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1