Lines Matching refs:hdr_size
95 static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size, u32 hdr_size)
104 buf += hdr_size;
115 /* last line is hdr_size bytes short - extrapolate it */
116 memcpy(q, p + 4, line_size - 4 - hdr_size);
117 q += line_size - 4 - hdr_size;
118 p += line_size - hdr_size - 1;
119 memset(q, (int) *p, hdr_size);
129 const u32 hdr_size)
138 for (i = hdr_size, buf += hdr_size; i < size; i++, buf++) {
146 * The last line is short by hdr_size bytes, but for the remaining
150 size -= (i - hdr_size);