Lines Matching full:standard
24 V4L2 defines one bit for each analog video standard currently in use
28 standard, although presenting the user a menu of supported standards is
36 standards also contain sets of one or more standard bits.
39 signals. The first enumerated standard is a set of B and G/PAL, switched
45 To query and select the standard used by the current video input or
48 *received* standard can be sensed with the
54 :ref:`v4l2_std_id <v4l2-std-id>` type (a standard set), *not* an
55 index into the standard enumeration. Drivers must implement all video
56 standard ioctls when the device has one or more video inputs or outputs.
63 video standard, or
65 - that does not support the video standard formats at all.
75 standard ioctls can be used with the given input or output.
77 Example: Information about the current video standard
83 struct v4l2_standard standard;
94 memset(&standard, 0, sizeof(standard));
95 standard.index = 0;
97 while (0 == ioctl(fd, VIDIOC_ENUMSTD, &standard)) {
98 if (standard.id & std_id) {
99 printf("Current video standard: %s\\n", standard.name);
103 standard.index++;
109 if (errno == EINVAL || standard.index == 0) {
120 struct v4l2_standard standard;
136 memset(&standard, 0, sizeof(standard));
137 standard.index = 0;
139 while (0 == ioctl(fd, VIDIOC_ENUMSTD, &standard)) {
140 if (standard.id & input.std)
141 printf("%s\\n", standard.name);
143 standard.index++;
149 if (errno != EINVAL || standard.index == 0) {
154 Example: Selecting a new video standard