Lines Matching refs:p
100 u8 *p; in compress_raw_buf() local
107 p = buf + i * line_size; in compress_raw_buf()
110 if (p[0] != 0xff || p[1] || p[2] || in compress_raw_buf()
111 (p[3] != raw_vbi_sav_rp[0] && in compress_raw_buf()
112 p[3] != raw_vbi_sav_rp[1])) in compress_raw_buf()
116 memcpy(q, p + 4, line_size - 4 - hdr_size); in compress_raw_buf()
118 p += line_size - hdr_size - 1; in compress_raw_buf()
119 memset(q, (int) *p, hdr_size); in compress_raw_buf()
121 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
155 u8 *p = buf + i * line_size; in compress_sliced_buf() local
158 if (p[0] != 0xff || p[1] || p[2] || in compress_sliced_buf()
159 (p[3] != sliced_vbi_eav_rp[0] && in compress_sliced_buf()
160 p[3] != sliced_vbi_eav_rp[1])) in compress_sliced_buf()
162 vbi.p = p + 4; in compress_sliced_buf()
168 memcpy(cx->vbi.sliced_data[line].data, vbi.p, 42); in compress_sliced_buf()
187 u8 *p = (u8 *) buf->buf; in _cx18_process_vbi_data() local
203 compress_raw_buf(cx, p, size, sizeof(struct vbi_data_hdr)); in _cx18_process_vbi_data()
209 p += size - 4; in _cx18_process_vbi_data()
210 memcpy(p, &cx->vbi.frame, 4); in _cx18_process_vbi_data()
220 lines = compress_sliced_buf(cx, p, size, sizeof(struct vbi_data_hdr)); in _cx18_process_vbi_data()
230 memcpy(p, &cx->vbi.sliced_data[0], size); in _cx18_process_vbi_data()