aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-09-16 06:47:08 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 10:32:04 -0500
commit8fbe91e7918af8adfad45828ae8acfc2f01cb6a5 (patch)
tree29d5c34b549f1e2a276170d2945a19850666acb0 /include/uapi/linux
parenta503ff812430e104f591287b512aa4e3a83f20b1 (diff)
[media] videodev2.h: checkpatch cleanup
Format comments according to what checkpatch wants. No other changes. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/videodev2.h50
1 files changed, 30 insertions, 20 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 4364ce6b0aa6..7d3e2e9673af 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1303,33 +1303,43 @@ struct v4l2_bt_timings {
1303 1303
1304/* Flags */ 1304/* Flags */
1305 1305
1306/* CVT/GTF specific: timing uses reduced blanking (CVT) or the 'Secondary 1306/*
1307 GTF' curve (GTF). In both cases the horizontal and/or vertical blanking 1307 * CVT/GTF specific: timing uses reduced blanking (CVT) or the 'Secondary
1308 intervals are reduced, allowing a higher resolution over the same 1308 * GTF' curve (GTF). In both cases the horizontal and/or vertical blanking
1309 bandwidth. This is a read-only flag. */ 1309 * intervals are reduced, allowing a higher resolution over the same
1310 * bandwidth. This is a read-only flag.
1311 */
1310#define V4L2_DV_FL_REDUCED_BLANKING (1 << 0) 1312#define V4L2_DV_FL_REDUCED_BLANKING (1 << 0)
1311/* CEA-861 specific: set for CEA-861 formats with a framerate of a multiple 1313/*
1312 of six. These formats can be optionally played at 1 / 1.001 speed. 1314 * CEA-861 specific: set for CEA-861 formats with a framerate of a multiple
1313 This is a read-only flag. */ 1315 * of six. These formats can be optionally played at 1 / 1.001 speed.
1316 * This is a read-only flag.
1317 */
1314#define V4L2_DV_FL_CAN_REDUCE_FPS (1 << 1) 1318#define V4L2_DV_FL_CAN_REDUCE_FPS (1 << 1)
1315/* CEA-861 specific: only valid for video transmitters, the flag is cleared 1319/*
1316 by receivers. 1320 * CEA-861 specific: only valid for video transmitters, the flag is cleared
1317 If the framerate of the format is a multiple of six, then the pixelclock 1321 * by receivers.
1318 used to set up the transmitter is divided by 1.001 to make it compatible 1322 * If the framerate of the format is a multiple of six, then the pixelclock
1319 with 60 Hz based standards such as NTSC and PAL-M that use a framerate of 1323 * used to set up the transmitter is divided by 1.001 to make it compatible
1320 29.97 Hz. Otherwise this flag is cleared. If the transmitter can't generate 1324 * with 60 Hz based standards such as NTSC and PAL-M that use a framerate of
1321 such frequencies, then the flag will also be cleared. */ 1325 * 29.97 Hz. Otherwise this flag is cleared. If the transmitter can't generate
1326 * such frequencies, then the flag will also be cleared.
1327 */
1322#define V4L2_DV_FL_REDUCED_FPS (1 << 2) 1328#define V4L2_DV_FL_REDUCED_FPS (1 << 2)
1323/* Specific to interlaced formats: if set, then field 1 is really one half-line 1329/*
1324 longer and field 2 is really one half-line shorter, so each field has 1330 * Specific to interlaced formats: if set, then field 1 is really one half-line
1325 exactly the same number of half-lines. Whether half-lines can be detected 1331 * longer and field 2 is really one half-line shorter, so each field has
1326 or used depends on the hardware. */ 1332 * exactly the same number of half-lines. Whether half-lines can be detected
1333 * or used depends on the hardware.
1334 */
1327#define V4L2_DV_FL_HALF_LINE (1 << 3) 1335#define V4L2_DV_FL_HALF_LINE (1 << 3)
1328/* If set, then this is a Consumer Electronics (CE) video format. Such formats 1336/*
1337 * If set, then this is a Consumer Electronics (CE) video format. Such formats
1329 * differ from other formats (commonly called IT formats) in that if RGB 1338 * differ from other formats (commonly called IT formats) in that if RGB
1330 * encoding is used then by default the RGB values use limited range (i.e. 1339 * encoding is used then by default the RGB values use limited range (i.e.
1331 * use the range 16-235) as opposed to 0-255. All formats defined in CEA-861 1340 * use the range 16-235) as opposed to 0-255. All formats defined in CEA-861
1332 * except for the 640x480 format are CE formats. */ 1341 * except for the 640x480 format are CE formats.
1342 */
1333#define V4L2_DV_FL_IS_CE_VIDEO (1 << 4) 1343#define V4L2_DV_FL_IS_CE_VIDEO (1 << 4)
1334/* Some formats like SMPTE-125M have an interlaced signal with a odd 1344/* Some formats like SMPTE-125M have an interlaced signal with a odd
1335 * total height. For these formats, if this flag is set, the first 1345 * total height. For these formats, if this flag is set, the first