Lines Matching refs:capture
48 container_of(ctx, V4L2m2mContext, capture);
133 /* update the sizes to handle the reconfiguration of the capture stream at runtime */
179 struct v4l2_format cap_fmt = s->capture.format;
199 av_log(logger(ctx), AV_LOG_ERROR, "%s VIDIOC_G_FMT\n", s->capture.name);
203 if (v4l2_resolution_changed(&s->capture, &cap_fmt)) {
204 s->capture.height = v4l2_get_height(&cap_fmt);
205 s->capture.width = v4l2_get_width(&cap_fmt);
206 s->capture.sample_aspect_ratio = v4l2_get_sar(&s->capture);
215 ret = ff_set_dimensions(s->avctx, s->capture.width, s->capture.height);
275 .events = POLLIN | POLLRDNORM | POLLPRI | POLLOUT | POLLWRNORM, /* default blocking capture */
286 av_log(logger(ctx), AV_LOG_WARNING, "All capture buffers returned to "
292 /* if we are draining and there are no more capture buffers queued in the driver we are done */
295 /* capture buffer initialization happens during decode hence
352 * since we had to reconfigure capture (unmap all buffers)
362 /* there is a capture buffer ready */
366 /* the driver is ready to accept more input; instead of waiting for the capture