Lines Matching refs:vbi
74 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream()
195 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl()
246 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_setup_sliced_vbi_mdl()
247 struct cx18_buffer *buf = &cx->vbi.sliced_mpeg_buf; in cx18_setup_sliced_vbi_mdl()
248 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_setup_sliced_vbi_mdl()
250 buf->buf = cx->vbi.sliced_mpeg_data[idx]; in cx18_setup_sliced_vbi_mdl()
251 buf->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
255 mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
268 if (cx->vbi.insert_mpeg && s->type == CX18_ENC_STREAM_TYPE_MPG && in cx18_copy_buf_to_user()
269 !cx18_raw_vbi(cx) && buf != &cx->vbi.sliced_mpeg_buf) { in cx18_copy_buf_to_user()
358 buf != &cx->vbi.sliced_mpeg_buf) in cx18_copy_buf_to_user()
448 if (mdl != &cx->vbi.sliced_mpeg_mdl) { in cx18_read()
454 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_read()
456 cx->vbi.sliced_mpeg_size[idx] = 0; in cx18_read()
457 cx->vbi.inserted_frame++; in cx18_read()