Lines Matching refs:curr
61 u8 *curr; member
68 if (stream->curr >= stream->end) in jpeg_get_byte()
71 return *stream->curr++; in jpeg_get_byte()
79 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
82 word = get_unaligned_be16(stream->curr); in jpeg_get_word_be()
83 stream->curr += sizeof(__be16); in jpeg_get_word_be()
90 if (stream->curr + len > stream->end) in jpeg_skip()
93 stream->curr += len; in jpeg_skip()
119 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment()
122 len = get_unaligned_be16(stream->curr); in jpeg_reference_segment()
123 if (stream->curr + len > stream->end) in jpeg_reference_segment()
126 segment->start = stream->curr; in jpeg_reference_segment()
341 qk = stream->curr; in jpeg_parse_quantization_tables()
390 table = stream->curr; in jpeg_parse_huffman_tables()
408 tables[(tc << 1) | th].length = stream->curr - table; in jpeg_parse_huffman_tables()
461 if (stream->curr + 6 > stream->end || in jpeg_parse_app14_data()
462 strncmp(stream->curr, "Adobe\0", 6)) in jpeg_parse_app14_data()
500 stream.curr = buf; in v4l2_jpeg_parse_header()
501 stream.end = stream.curr + len; in v4l2_jpeg_parse_header()
577 out->ecs_offset = stream.curr - (u8 *)buf; in v4l2_jpeg_parse_header()
612 stream.curr = buf; in v4l2_jpeg_parse_frame_header()
613 stream.end = stream.curr + len; in v4l2_jpeg_parse_frame_header()
631 stream.curr = buf; in v4l2_jpeg_parse_scan_header()
632 stream.end = stream.curr + len; in v4l2_jpeg_parse_scan_header()
652 stream.curr = buf; in v4l2_jpeg_parse_quantization_tables()
653 stream.end = stream.curr + len; in v4l2_jpeg_parse_quantization_tables()
673 stream.curr = buf; in v4l2_jpeg_parse_huffman_tables()
674 stream.end = stream.curr + len; in v4l2_jpeg_parse_huffman_tables()