Lines Matching refs:line_ptr
195 uint8_t *line_ptr;
209 line_ptr = frame;
213 if (frame - line_ptr <= bytestream2_peek_byte(gb))
215 line_ptr += bytestream2_get_byte(gb);
218 if (frame - line_ptr < count)
220 if (bytestream2_get_buffer(gb, line_ptr, count) != count)
224 if (frame - line_ptr < count)
226 memset(line_ptr, bytestream2_get_byte(gb), count);
228 line_ptr += count;
238 uint8_t *line_ptr;
266 line_ptr = frame;
272 if (frame - line_ptr <= bytestream2_peek_byte(gb))
274 line_ptr += bytestream2_get_byte(gb);
277 if (frame - line_ptr < count * 2)
279 if (bytestream2_get_buffer(gb, line_ptr, count * 2) != count * 2)
281 line_ptr += count * 2;
284 if (frame - line_ptr < count * 2)
288 bytestream_put_le16(&line_ptr, v);