Lines Matching refs:streams
4 * Derived from ivtv-streams.c
32 #include "cx18-streams.h"
248 struct cx18_stream *s = &cx->streams[type];
306 struct cx18_stream *s = &cx->streams[type];
313 * For analog capture related streams, if video_dev == NULL then the
333 /* User explicitly selected 0 buffers for these streams, so don't
395 ret = cx18_stream_alloc(&cx->streams[type]);
402 /* One or more streams could not be initialized. Clean 'em all up. */
409 struct cx18_stream *s = &cx->streams[type];
428 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG];
492 /* One or more streams could not be initialized. Clean 'em all up. */
503 /* Teardown all streams */
508 if (cx->streams[type].dvb != NULL) {
510 cx18_dvb_unregister(&cx->streams[type]);
511 kfree(cx->streams[type].dvb);
512 cx->streams[type].dvb = NULL;
513 cx18_stream_free(&cx->streams[type]);
529 if (cx->streams[type].buffers != 0)
530 cx18_stream_free(&cx->streams[type]);
536 vdev = cx->streams[type].video_dev;
538 cx->streams[type].video_dev = NULL;
543 videobuf_mmap_free(&cx->streams[type].vbuf_q);
545 cx18_stream_free(&cx->streams[type]);
667 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX];
889 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX];
969 struct cx18_stream *s = &cx->streams[i];
1034 struct cx18_stream *s = &cx->streams[i];
1051 s = &cx->streams[i];