Lines Matching defs:line_ptr
199 uint8_t *line_ptr;
213 line_ptr = frame;
217 if (frame - line_ptr <= bytestream2_peek_byte(gb))
219 line_ptr += bytestream2_get_byte(gb);
222 if (frame - line_ptr < count)
224 if (bytestream2_get_buffer(gb, line_ptr, count) != count)
228 if (frame - line_ptr < count)
230 memset(line_ptr, bytestream2_get_byte(gb), count);
232 line_ptr += count;
242 uint8_t *line_ptr;
270 line_ptr = frame;
276 if (frame - line_ptr <= bytestream2_peek_byte(gb))
278 line_ptr += bytestream2_get_byte(gb);
281 if (frame - line_ptr < count * 2)
283 if (bytestream2_get_buffer(gb, line_ptr, count * 2) != count * 2)
285 line_ptr += count * 2;
288 if (frame - line_ptr < count * 2)
292 bytestream_put_le16(&line_ptr, v);