Lines Matching defs:standard
497 struct v4l2_standard standard;
518 if(ap->standard) {
519 av_log(s1, AV_LOG_DEBUG, "The V4L2 driver set standard: %s\n",
520 ap->standard );
521 /* set tv standard */
522 memset (&standard, 0, sizeof (standard));
524 standard.index = i;
525 if (ioctl(s->fd, VIDIOC_ENUMSTD, &standard) < 0) {
526 av_log(s1, AV_LOG_ERROR, "The V4L2 driver ioctl set standard(%s) failed\n",
527 ap->standard);
531 if(!strcasecmp(standard.name, ap->standard)) {
536 av_log(s1, AV_LOG_DEBUG, "The V4L2 driver set standard: %s, id: %"PRIu64"\n",
537 ap->standard, (uint64_t)standard.id);
538 if (ioctl(s->fd, VIDIOC_S_STD, &standard.id) < 0) {
539 av_log(s1, AV_LOG_ERROR, "The V4L2 driver ioctl set standard(%s) failed\n",
540 ap->standard);