Lines Matching refs:standard
17 V4L2 defines one bit for each analog video standard currently in use
21 standard, although presenting the user a menu of supported standards is
29 standards also contain sets of one or more standard bits.
32 signals. The first enumerated standard is a set of B and G/PAL, switched
38 To query and select the standard used by the current video input or
41 *received* standard can be sensed with the
47 :ref:`v4l2_std_id <v4l2-std-id>` type (a standard set), *not* an
48 index into the standard enumeration. Drivers must implement all video
49 standard ioctls when the device has one or more video inputs or outputs.
56 video standard, or
58 - that does not support the video standard formats at all.
68 standard ioctls can be used with the given input or output.
70 Example: Information about the current video standard
76 struct v4l2_standard standard;
87 memset(&standard, 0, sizeof(standard));
88 standard.index = 0;
90 while (0 == ioctl(fd, VIDIOC_ENUMSTD, &standard)) {
91 if (standard.id & std_id) {
92 printf("Current video standard: %s\\n", standard.name);
96 standard.index++;
102 if (errno == EINVAL || standard.index == 0) {
113 struct v4l2_standard standard;
129 memset(&standard, 0, sizeof(standard));
130 standard.index = 0;
132 while (0 == ioctl(fd, VIDIOC_ENUMSTD, &standard)) {
133 if (standard.id & input.std)
134 printf("%s\\n", standard.name);
136 standard.index++;
142 if (errno != EINVAL || standard.index == 0) {
147 Example: Selecting a new video standard