|
@@ -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
|
|
|
|
- intervals are reduced, allowing a higher resolution over the same
|
|
|
|
- bandwidth. This is a read-only flag. */
|
|
|
|
|
|
+/*
|
|
|
|
+ * CVT/GTF specific: timing uses reduced blanking (CVT) or the 'Secondary
|
|
|
|
+ * GTF' curve (GTF). In both cases the horizontal and/or vertical blanking
|
|
|
|
+ * 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.
|
|
|
|
- This is a read-only flag. */
|
|
|
|
|
|
+/*
|
|
|
|
+ * 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.
|
|
|
|
+ * 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.
|
|
|
|
- If the framerate of the format is a multiple of six, then the pixelclock
|
|
|
|
- used to set up the transmitter is divided by 1.001 to make it compatible
|
|
|
|
- with 60 Hz based standards such as NTSC and PAL-M that use a framerate of
|
|
|
|
- 29.97 Hz. Otherwise this flag is cleared. If the transmitter can't generate
|
|
|
|
- such frequencies, then the flag will also be cleared. */
|
|
|
|
|
|
+/*
|
|
|
|
+ * CEA-861 specific: only valid for video transmitters, the flag is cleared
|
|
|
|
+ * by receivers.
|
|
|
|
+ * If the framerate of the format is a multiple of six, then the pixelclock
|
|
|
|
+ * used to set up the transmitter is divided by 1.001 to make it compatible
|
|
|
|
+ * with 60 Hz based standards such as NTSC and PAL-M that use a framerate of
|
|
|
|
+ * 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
|
|
|
|
- exactly the same number of half-lines. Whether half-lines can be detected
|
|
|
|
- or used depends on the hardware. */
|
|
|
|
|
|
+/*
|
|
|
|
+ * 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
|
|
|
|
+ * 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
|