lcameraDev: honor opt-planar when selecting YUV capture format.

Pass fullPlanarIsOptional through session configure so optional planar
mode can succeed with packed YUYV; extend unit and configure HIL coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-14 11:01:40 -04:00
parent 5f3d5c7818
commit 7a47f2bd49
8 changed files with 126 additions and 42 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ struct BakedCameraProfile
// Configure HIL note (2026-06-10): both cameras expose MJPEG and packed YUYV
// via libcamera VideoRecording/Viewfinder — no fully planar YUV420/NV12 at
// 640x480. configureSessionModeCReq correctly throws when fullPlanarIsOptional
// is false; success-path HIL tests skip on this machine.
// is false; with opt-planar / fullPlanarIsOptional=true configure succeeds
// selecting YUYV (Yuv422). lcameraBuff Stage 2 attach HIL uses v-res=480p.
inline constexpr BakedCameraProfile bakedCameraProfiles[] = {
{
"dell-laptop",