Lines Matching refs:curr
177 u8 *curr; member
184 if (stream->curr >= stream->end) in jpeg_get_byte()
187 return *stream->curr++; in jpeg_get_byte()
195 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
198 word = get_unaligned_be16(stream->curr); in jpeg_get_word_be()
199 stream->curr += sizeof(__be16); in jpeg_get_word_be()
206 if (stream->curr + len > stream->end) in jpeg_skip()
209 stream->curr += len; in jpeg_skip()
235 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment()
238 len = get_unaligned_be16(stream->curr); in jpeg_reference_segment()
239 if (stream->curr + len > stream->end) in jpeg_reference_segment()
242 segment->start = stream->curr; in jpeg_reference_segment()
457 qk = stream->curr; in jpeg_parse_quantization_tables()
506 table = stream->curr; in jpeg_parse_huffman_tables()
524 tables[(tc << 1) | th].length = stream->curr - table; in jpeg_parse_huffman_tables()
577 if (stream->curr + 6 > stream->end || in jpeg_parse_app14_data()
578 strncmp(stream->curr, "Adobe\0", 6)) in jpeg_parse_app14_data()
616 stream.curr = buf; in v4l2_jpeg_parse_header()
617 stream.end = stream.curr + len; in v4l2_jpeg_parse_header()
693 out->ecs_offset = stream.curr - (u8 *)buf; in v4l2_jpeg_parse_header()
728 stream.curr = buf; in v4l2_jpeg_parse_frame_header()
729 stream.end = stream.curr + len; in v4l2_jpeg_parse_frame_header()
747 stream.curr = buf; in v4l2_jpeg_parse_scan_header()
748 stream.end = stream.curr + len; in v4l2_jpeg_parse_scan_header()
768 stream.curr = buf; in v4l2_jpeg_parse_quantization_tables()
769 stream.end = stream.curr + len; in v4l2_jpeg_parse_quantization_tables()
789 stream.curr = buf; in v4l2_jpeg_parse_huffman_tables()
790 stream.end = stream.curr + len; in v4l2_jpeg_parse_huffman_tables()