From 72ba86487ca9cddcd4a86a63256a6958bb037b19 Mon Sep 17 00:00:00 2001 From: Vaibhav Hiremath Date: Thu, 29 Oct 2009 11:08:19 +0530 Subject: [PATCH 1/1] v4l2 doc: Added CID_ROTATE, CID_BG_COLOR control information Signed-off-by: Vaibhav Hiremath --- v4l2-spec/controls.sgml | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/v4l2-spec/controls.sgml b/v4l2-spec/controls.sgml index 477a970..a675f30 100644 --- a/v4l2-spec/controls.sgml +++ b/v4l2-spec/controls.sgml @@ -281,10 +281,28 @@ minimum value disables backlight compensation. V4L2_COLORFX_SEPIA (2). + V4L2_CID_ROTATE + integer + Rotates the image by specified angle. Common angles are 90, + 270 and 180. Rotating the image to 90 and 270 will reverse the height + and width of the display window. It is necessary to set the new height and + width of the picture using S_FMT ioctl, see according to + the rotation angle selected. + + + V4L2_CID_BG_COLOR + integer + Sets the background color on the current output device. + Background color needs to be specified in the RGB24 format. The + supplied 32 bit value is interpreted as bits 0-7 Red color information, + bits 8-15 Green color information, bits 16-23 Blue color + information and bits 24-31 must be zero. + + V4L2_CID_LASTP1 End of the predefined control IDs (currently -V4L2_CID_COLORFX + 1). +V4L2_CID_BG_COLOR + 1). V4L2_CID_PRIVATE_BASE -- 1.6.2.4