Lines Matching full:streams
5 * Derived from ivtv-streams.c
18 #include "cx18-streams.h"
236 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
303 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
311 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the in cx18_prep_dev()
331 /* User explicitly selected 0 buffers for these streams, so don't in cx18_prep_dev()
394 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
401 /* One or more streams could not be initialized. Clean 'em all up. */ in cx18_streams_setup()
408 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
428 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
490 /* One or more streams could not be initialized. Clean 'em all up. */ in cx18_streams_register()
501 /* Teardown all streams */ in cx18_streams_cleanup()
506 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
508 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
509 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
510 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
511 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
527 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup()
528 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
534 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
539 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
660 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stream_rotate_idx_mdls()
882 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
962 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures()
1027 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle()
1044 s = &cx->streams[i]; in cx18_handle_to_stream()