Searched refs:streaming (Results 1 - 25 of 91) sorted by relevance

1234

/drivers/media/video/uvc/
H A Duvc_driver.c303 struct uvc_streaming *streaming, struct uvc_format *format,
306 struct usb_interface *intf = streaming->intf;
547 struct uvc_streaming *streaming = NULL; local
562 "video streaming interface\n", dev->udev->devnum,
574 streaming = kzalloc(sizeof *streaming, GFP_KERNEL);
575 if (streaming == NULL) {
580 mutex_init(&streaming->mutex);
581 streaming->dev = dev;
582 streaming
302 uvc_parse_format(struct uvc_device *dev, struct uvc_streaming *streaming, struct uvc_format *format, __u32 **intervals, unsigned char *buffer, int buflen) argument
1633 struct uvc_streaming *streaming; local
[all...]
/drivers/staging/media/as102/
H A Das102_drv.h99 int streaming; member in struct:as102_dev_t
H A Das102_drv.c164 if (as102_dev->streaming++ == 0)
182 if (--as102_dev->streaming == 0)
/drivers/media/video/
H A Dvideobuf-core.c189 if (q->streaming) {
190 dprintk(1, "busy: streaming active\n");
224 * This function can only be called if streaming/reading is off, i.e. no buffers
236 if (q->streaming || q->reading) {
237 dprintk(1, "Cannot free buffers when streaming or reading\n");
266 q->streaming = 0;
465 if (q->streaming) {
466 dprintk(1, "reqbufs: streaming already exists\n");
621 if (q->streaming) {
646 if (!q->streaming) {
[all...]
H A Dmt9m032.c140 struct mutex lock; /* Protects streaming, format, interval and crop */
142 bool streaming; member in struct:mt9m032
231 static int update_formatter2(struct mt9m032 *sensor, bool streaming) argument
238 if (streaming)
389 if (sensor->streaming && fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
428 if (sensor->streaming && crop->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
491 if (sensor->streaming) {
509 static int mt9m032_s_stream(struct v4l2_subdev *subdev, int streaming) argument
515 ret = update_formatter2(sensor, streaming);
517 sensor->streaming
[all...]
H A Dvideobuf2-core.c454 * vb2_reqbufs() - Initiate streaming
460 * 1) verifies streaming parameters passed from the userspace,
463 * to be used during streaming,
497 if (q->streaming) {
498 dprintk(1, "reqbufs: streaming active\n");
1071 * 3) if streaming is on, queues the buffer in driver by the means of buf_queue
1159 * If already streaming, give the buffer to driver for processing.
1162 if (q->streaming)
1196 if (!q->streaming) {
1215 * We are streaming an
[all...]
H A Dv4l2-mem2mem.c194 * 3) streaming has to be on.
210 if (!m2m_ctx->out_q_ctx.q.streaming
211 || !m2m_ctx->cap_q_ctx.q.streaming) {
369 * v4l2_m2m_streamon() - turn on streaming for a video queue
387 * v4l2_m2m_streamoff() - turn off streaming for a video queue
423 if ((!src_q->streaming || list_empty(&src_q->queued_list))
424 && (!dst_q->streaming || list_empty(&dst_q->queued_list))) {
H A Domap24xxcam.c393 struct omap24xxcam_fh *fh = cam->streaming->private_data;
487 * streaming is on (and we only get called then).
686 * Reset and continue streaming.
725 return sprintf(buf, "%s\n", cam->streaming ? "active" : "inactive");
727 static DEVICE_ATTR(streaming, S_IRUGO, omap24xxcam_streaming_show, NULL);
1035 if (cam->streaming) {
1079 if (cam->streaming) {
1169 if (cam->streaming) {
1182 cam->streaming = file;
1183 sysfs_notify(&cam->dev->kobj, NULL, "streaming");
[all...]
H A Dtvp514x.c93 * @streaming: TVP5146/47 decoder streaming - enabled or disabled.
107 int streaming; member in struct:tvp514x_decoder
644 if (!decoder->streaming)
898 * @enable: streaming enable or disable
900 * Sets streaming to enable or disable, if possible.
908 if (decoder->streaming == enable)
920 decoder->streaming = enable;
945 decoder->streaming = enable;
989 .streaming
[all...]
/drivers/media/video/omap3isp/
H A Dispqueue.h146 * @streaming: Queue state, indicates whether the queue is streaming
160 unsigned int streaming:1; member in struct:isp_video_queue
H A Dispvideo.h84 /* The pipeline is currently streaming. */
144 * @queue: Resume streaming when a buffer is queued. Called on VIDIOC_QBUF
168 /* Entity video node streaming */
169 unsigned int streaming:1; member in struct:isp_video
H A Dispqueue.c597 * Buffers can only be freed if the queue isn't streaming and if no buffer is
606 if (queue->streaming)
769 * -EBUSY if the queue is busy (streaming or buffers mapped)
841 * queue is streaming, to the IRQ queue.
893 if (queue->streaming) {
913 * queue is streaming, to the IRQ queue.
952 * omap3isp_video_queue_streamon - Start streaming
955 * starts streaming on the queue and calls the buffer_queue operation for all
967 if (queue->streaming)
970 queue->streaming
[all...]
/drivers/media/video/gspca/
H A Dfinepix.c97 while (gspca_dev->present && gspca_dev->streaming) {
105 if (!gspca_dev->present || !gspca_dev->streaming)
120 if (!gspca_dev->present || !gspca_dev->streaming)
213 /* Start the workqueue function to do the streaming */
H A Dkonica.c356 pressed when streaming is stopped */
375 if (!gspca_dev->streaming)
487 if (gspca_dev->streaming) {
510 if (gspca_dev->streaming) {
533 if (gspca_dev->streaming) {
555 if (gspca_dev->streaming) {
577 if (gspca_dev->streaming) {
H A Dpac207.c419 if (gspca_dev->streaming)
437 if (gspca_dev->streaming)
455 if (gspca_dev->streaming)
480 if (gspca_dev->streaming) {
H A Dspca1528.c465 if (gspca_dev->streaming)
483 if (gspca_dev->streaming)
501 if (gspca_dev->streaming)
519 if (gspca_dev->streaming)
537 if (gspca_dev->streaming)
H A Dgspca.c362 if (!gspca_dev->streaming)
376 if (!gspca_dev->streaming)
594 gspca_dev->streaming = 0;
858 /* reset the streaming variables */
942 gspca_dev->streaming = 1;
1250 if (gspca_dev->streaming) {
1364 /* if the file did the capture, free the streaming resources */
1366 if (gspca_dev->streaming) {
1518 && gspca_dev->streaming)
1599 int i, ret = 0, streaming; local
[all...]
H A Dt613.c1150 if (gspca_dev->streaming)
1168 if (gspca_dev->streaming)
1205 if (gspca_dev->streaming)
1223 if (gspca_dev->streaming)
1241 if (gspca_dev->streaming)
1259 if (gspca_dev->streaming)
1277 if (gspca_dev->streaming)
1295 if (gspca_dev->streaming)
1313 if (gspca_dev->streaming)
1331 if (gspca_dev->streaming)
[all...]
H A Dgspca.h192 __u8 streaming; member in struct:gspca_dev
H A Dpac7311.c676 if (gspca_dev->streaming)
694 if (gspca_dev->streaming)
712 if (gspca_dev->streaming)
737 if (gspca_dev->streaming) {
761 if (gspca_dev->streaming)
779 if (gspca_dev->streaming)
H A Dspca561.c828 if (gspca_dev->streaming)
847 if (gspca_dev->streaming)
865 if (gspca_dev->streaming)
883 if (gspca_dev->streaming)
902 if (gspca_dev->streaming)
921 if (gspca_dev->streaming)
/drivers/media/video/omap/
H A Domap_voutdef.h141 /* non-NULL means streaming is in progress. */
142 bool streaming; member in struct:omap_vout_device
/drivers/media/video/cpia2/
H A Dcpia2_usb.c110 /* Always skip the first image after streaming
217 DBG("Stopping streaming\n");
221 if (!cam->streaming || !cam->present || cam->open_count == 0) {
222 LOG("Will now stop the streaming: streaming = %d, "
224 cam->streaming, cam->present, cam->open_count);
367 if(cam->streaming) {
709 if(cam->streaming)
740 cam->streaming = 1;
754 if(cam->streaming) {
[all...]
/drivers/media/video/usbvision/
H A Dusbvision-video.c258 YES_NO(usbvision->streaming == stream_on ? 1 : 0));
260 static DEVICE_ATTR(streaming, S_IRUGO, show_streaming, NULL);
414 * stops streaming and deallocates all buffers that were earlier
733 if (usbvision->streaming == stream_on) {
821 if (usbvision->streaming == stream_idle)
855 usbvision->streaming = stream_on;
869 if (usbvision->streaming == stream_on) {
943 if (usbvision->streaming == stream_on) {
985 if (usbvision->streaming != stream_on) {
987 usbvision->streaming
[all...]
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c83 if (go->streaming) {
84 go->streaming = 0;
449 /* pretty sure we can't change any of these while streaming */
450 if (go->streaming)
678 if (go->streaming)
692 if (go->streaming)
828 /* offset will be 0 until we really support USERPTR streaming */
947 if (!go->streaming) {
948 go->streaming = 1;
1124 if (go->streaming)
[all...]

Completed in 2275 milliseconds

1234