Lines Matching defs:line_ptr
192 uint8_t *line_ptr;
206 line_ptr = frame;
210 if (frame - line_ptr <= bytestream2_peek_byte(gb))
212 line_ptr += bytestream2_get_byte(gb);
215 if (frame - line_ptr < count)
217 if (bytestream2_get_buffer(gb, line_ptr, count) != count)
221 if (frame - line_ptr < count)
223 memset(line_ptr, bytestream2_get_byte(gb), count);
225 line_ptr += count;
235 uint8_t *line_ptr;
260 line_ptr = frame;
266 if (frame - line_ptr <= bytestream2_peek_byte(gb))
268 line_ptr += bytestream2_get_byte(gb);
271 if (frame - line_ptr < count * 2)
273 if (bytestream2_get_buffer(gb, line_ptr, count * 2) != count * 2)
275 line_ptr += count * 2;
278 if (frame - line_ptr < count * 2)
282 bytestream_put_le16(&line_ptr, v);