Lines Matching refs:vbi
89 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream()
210 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl()
261 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_setup_sliced_vbi_mdl()
262 struct cx18_buffer *buf = &cx->vbi.sliced_mpeg_buf; in cx18_setup_sliced_vbi_mdl()
263 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_setup_sliced_vbi_mdl()
265 buf->buf = cx->vbi.sliced_mpeg_data[idx]; in cx18_setup_sliced_vbi_mdl()
266 buf->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
270 mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
283 if (cx->vbi.insert_mpeg && s->type == CX18_ENC_STREAM_TYPE_MPG && in cx18_copy_buf_to_user()
284 !cx18_raw_vbi(cx) && buf != &cx->vbi.sliced_mpeg_buf) { in cx18_copy_buf_to_user()
373 buf != &cx->vbi.sliced_mpeg_buf) in cx18_copy_buf_to_user()
463 if (mdl != &cx->vbi.sliced_mpeg_mdl) { in cx18_read()
469 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_read()
471 cx->vbi.sliced_mpeg_size[idx] = 0; in cx18_read()
472 cx->vbi.inserted_frame++; in cx18_read()