Lines Matching refs:vbi
45 int idx = cx->vbi.frame % CX18_VBI_FRAMES; in copy_vbi_data()
46 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data()
49 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i; in copy_vbi_data()
89 cx->vbi.sliced_mpeg_size[idx] = sd + size; in copy_vbi_data()
98 u32 lines = cx->vbi.count * 2; in compress_raw_buf()
131 struct v4l2_decode_vbi_line vbi; in compress_sliced_buf() local
162 vbi.p = p + 4; in compress_sliced_buf()
163 v4l2_subdev_call(cx->sd_av, vbi, decode_vbi_line, &vbi); in compress_sliced_buf()
164 if (vbi.type) { in compress_sliced_buf()
165 cx->vbi.sliced_data[line].id = vbi.type; in compress_sliced_buf()
166 cx->vbi.sliced_data[line].field = vbi.is_second_field; in compress_sliced_buf()
167 cx->vbi.sliced_data[line].line = vbi.line; in compress_sliced_buf()
168 memcpy(cx->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
210 memcpy(p, &cx->vbi.frame, 4); in _cx18_process_vbi_data()
211 cx->vbi.frame++; in _cx18_process_vbi_data()
224 cx->vbi.sliced_data[0].id = 0; in _cx18_process_vbi_data()
225 cx->vbi.sliced_data[0].line = 0; in _cx18_process_vbi_data()
226 cx->vbi.sliced_data[0].field = 0; in _cx18_process_vbi_data()
229 buf->bytesused = size = lines * sizeof(cx->vbi.sliced_data[0]); in _cx18_process_vbi_data()
230 memcpy(p, &cx->vbi.sliced_data[0], size); in _cx18_process_vbi_data()
232 if (cx->vbi.insert_mpeg) in _cx18_process_vbi_data()
234 cx->vbi.frame++; in _cx18_process_vbi_data()