Lines Matching refs:video_fd
56 int video_fd; member
99 int format, int *video_fd, int *tuner_fd, int idev, double frequency) in bktr_init() argument
146 *video_fd = avpriv_open(video_device, O_RDONLY); in bktr_init()
147 if (*video_fd < 0) { in bktr_init()
172 if (ioctl(*video_fd, METEORSETGEO, &geo) < 0) { in bktr_init()
179 if (ioctl(*video_fd, BT848SFMT, &c) < 0) { in bktr_init()
187 if (ioctl(*video_fd, METEORSINPUT, &c) < 0) { in bktr_init()
197 PROT_READ, MAP_SHARED, *video_fd, (off_t)0); in bktr_init()
216 ioctl(*video_fd, METEORCAPTUR, &c); in bktr_init()
219 ioctl(*video_fd, METEORSSIGNAL, &c); in bktr_init()
298 &s->video_fd, &s->tuner_fd, -1, 0.0) < 0) { in grab_read_header()
316 ioctl(s->video_fd, METEORCAPTUR, &c); in grab_read_close()
317 close(s->video_fd); in grab_read_close()