From 7e5f1e1cedf5bb299cede5418fab5307c3e65441 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Thu, 19 Oct 2023 16:01:32 +0200 Subject: apps: cam: Add option to set stream orientation Add a '--orientation|-o' option to the cam test application to set an orientation to the image stream. Supported values are the ones obtained by applying flips to the camera sensor: - rot0: no rotation - rot180: rotate 180 degrees - flip: vertical flip - mirror: horizontal flip Signed-off-by: Jacopo Mondi Reviewed-by: David Plowman Signed-off-by: Laurent Pinchart --- src/apps/cam/main.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/apps/cam/main.h') diff --git a/src/apps/cam/main.h b/src/apps/cam/main.h index 526aecec..4aa959b3 100644 --- a/src/apps/cam/main.h +++ b/src/apps/cam/main.h @@ -17,6 +17,7 @@ enum { OptList = 'l', OptListProperties = 'p', OptMonitor = 'm', + OptOrientation = 'o', OptSDL = 'S', OptStream = 's', OptListControls = 256, -- cgit v1.2.1