Lines Matching refs:line
23 data.line = enabled ? 16 : 0; in ivtv_set_vps()
40 data.line = (mode & 1) ? 21 : 0; in ivtv_set_cc()
45 data.line = (mode & 2) ? 21 : 0; in ivtv_set_cc()
68 data.line = enabled ? 23 : 0; in ivtv_set_wss()
89 if (d->id == V4L2_SLICED_CAPTION_525 && d->line == 21) { in ivtv_write_vbi_line()
98 } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { in ivtv_write_vbi_line()
111 d->line == 23 && d->field == 0) { in ivtv_write_vbi_line()
176 int line = 0; in copy_vbi_data() local
196 l = itv->vbi.sliced_data[i].line - 6; in copy_vbi_data()
204 dst[sd + 12 + line * 43] = in copy_vbi_data()
206 memcpy(dst + sd + 12 + line * 43 + 1, itv->vbi.sliced_data[i].data, 42); in copy_vbi_data()
207 line++; in copy_vbi_data()
210 if (line == 36) { in copy_vbi_data()
215 memmove(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data()
216 size = 4 + ((43 * line + 3) & ~3); in copy_vbi_data()
222 size = 12 + ((43 * line + 3) & ~3); in copy_vbi_data()
238 int line = 0; in ivtv_convert_ivtv_vbi() local
279 itv->vbi.sliced_dec_data[line].line = l; in ivtv_convert_ivtv_vbi()
280 itv->vbi.sliced_dec_data[line].field = i >= 18; in ivtv_convert_ivtv_vbi()
281 itv->vbi.sliced_dec_data[line].id = id2; in ivtv_convert_ivtv_vbi()
282 memcpy(itv->vbi.sliced_dec_data[line].data, p + 1, 42); in ivtv_convert_ivtv_vbi()
283 line++; in ivtv_convert_ivtv_vbi()
287 while (line < 36) { in ivtv_convert_ivtv_vbi()
288 itv->vbi.sliced_dec_data[line].id = 0; in ivtv_convert_ivtv_vbi()
289 itv->vbi.sliced_dec_data[line].line = 0; in ivtv_convert_ivtv_vbi()
290 itv->vbi.sliced_dec_data[line].field = 0; in ivtv_convert_ivtv_vbi()
291 line++; in ivtv_convert_ivtv_vbi()
293 return line * sizeof(itv->vbi.sliced_dec_data[0]); in ivtv_convert_ivtv_vbi()
325 static u32 compress_sliced_buf(struct ivtv *itv, u32 line, u8 *buf, u32 size, u8 sav) in compress_sliced_buf() argument
340 return line; in compress_sliced_buf()
351 if (vbi.type && !(lines & (1 << vbi.line))) { in compress_sliced_buf()
352 lines |= 1 << vbi.line; in compress_sliced_buf()
353 itv->vbi.sliced_data[line].id = vbi.type; in compress_sliced_buf()
354 itv->vbi.sliced_data[line].field = vbi.is_second_field; in compress_sliced_buf()
355 itv->vbi.sliced_data[line].line = vbi.line; in compress_sliced_buf()
356 memcpy(itv->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
357 line++; in compress_sliced_buf()
360 return line; in compress_sliced_buf()
408 itv->vbi.sliced_data[0].line = 0; in ivtv_process_vbi_data()