Commit 8fbe91e7 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] videodev2.h: checkpatch cleanup

Format comments according to what checkpatch wants.

No other changes.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent a503ff81
...@@ -1303,33 +1303,43 @@ struct v4l2_bt_timings { ...@@ -1303,33 +1303,43 @@ struct v4l2_bt_timings {
/* Flags */ /* Flags */
/* CVT/GTF specific: timing uses reduced blanking (CVT) or the 'Secondary /*
GTF' curve (GTF). In both cases the horizontal and/or vertical blanking * CVT/GTF specific: timing uses reduced blanking (CVT) or the 'Secondary
intervals are reduced, allowing a higher resolution over the same * GTF' curve (GTF). In both cases the horizontal and/or vertical blanking
bandwidth. This is a read-only flag. */ * intervals are reduced, allowing a higher resolution over the same
* bandwidth. This is a read-only flag.
*/
#define V4L2_DV_FL_REDUCED_BLANKING (1 << 0) #define V4L2_DV_FL_REDUCED_BLANKING (1 << 0)
/* CEA-861 specific: set for CEA-861 formats with a framerate of a multiple /*
of six. These formats can be optionally played at 1 / 1.001 speed. * CEA-861 specific: set for CEA-861 formats with a framerate of a multiple
This is a read-only flag. */ * of six. These formats can be optionally played at 1 / 1.001 speed.
* This is a read-only flag.
*/
#define V4L2_DV_FL_CAN_REDUCE_FPS (1 << 1) #define V4L2_DV_FL_CAN_REDUCE_FPS (1 << 1)
/* CEA-861 specific: only valid for video transmitters, the flag is cleared /*
by receivers. * CEA-861 specific: only valid for video transmitters, the flag is cleared
If the framerate of the format is a multiple of six, then the pixelclock * by receivers.
used to set up the transmitter is divided by 1.001 to make it compatible * If the framerate of the format is a multiple of six, then the pixelclock
with 60 Hz based standards such as NTSC and PAL-M that use a framerate of * used to set up the transmitter is divided by 1.001 to make it compatible
29.97 Hz. Otherwise this flag is cleared. If the transmitter can't generate * with 60 Hz based standards such as NTSC and PAL-M that use a framerate of
such frequencies, then the flag will also be cleared. */ * 29.97 Hz. Otherwise this flag is cleared. If the transmitter can't generate
* such frequencies, then the flag will also be cleared.
*/
#define V4L2_DV_FL_REDUCED_FPS (1 << 2) #define V4L2_DV_FL_REDUCED_FPS (1 << 2)
/* Specific to interlaced formats: if set, then field 1 is really one half-line /*
longer and field 2 is really one half-line shorter, so each field has * Specific to interlaced formats: if set, then field 1 is really one half-line
exactly the same number of half-lines. Whether half-lines can be detected * longer and field 2 is really one half-line shorter, so each field has
or used depends on the hardware. */ * exactly the same number of half-lines. Whether half-lines can be detected
* or used depends on the hardware.
*/
#define V4L2_DV_FL_HALF_LINE (1 << 3) #define V4L2_DV_FL_HALF_LINE (1 << 3)
/* If set, then this is a Consumer Electronics (CE) video format. Such formats /*
* If set, then this is a Consumer Electronics (CE) video format. Such formats
* differ from other formats (commonly called IT formats) in that if RGB * differ from other formats (commonly called IT formats) in that if RGB
* encoding is used then by default the RGB values use limited range (i.e. * encoding is used then by default the RGB values use limited range (i.e.
* use the range 16-235) as opposed to 0-255. All formats defined in CEA-861 * use the range 16-235) as opposed to 0-255. All formats defined in CEA-861
* except for the 640x480 format are CE formats. */ * except for the 640x480 format are CE formats.
*/
#define V4L2_DV_FL_IS_CE_VIDEO (1 << 4) #define V4L2_DV_FL_IS_CE_VIDEO (1 << 4)
/* Some formats like SMPTE-125M have an interlaced signal with a odd /* Some formats like SMPTE-125M have an interlaced signal with a odd
* total height. For these formats, if this flag is set, the first * total height. For these formats, if this flag is set, the first
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment