Searched refs:jpeg_buffer (Results 1 – 2 of 2) sorted by relevance
769 struct s5p_jpeg_buffer jpeg_buffer; in exynos4_jpeg_parse_decode_h_tbl() local773 jpeg_buffer.size = 2; /* Ls */ in exynos4_jpeg_parse_decode_h_tbl()774 jpeg_buffer.data = in exynos4_jpeg_parse_decode_h_tbl()776 jpeg_buffer.curr = 0; in exynos4_jpeg_parse_decode_h_tbl()780 if (get_word_be(&jpeg_buffer, &word)) in exynos4_jpeg_parse_decode_h_tbl()782 jpeg_buffer.size = (long)word - 2; in exynos4_jpeg_parse_decode_h_tbl()783 jpeg_buffer.data += 2; in exynos4_jpeg_parse_decode_h_tbl()784 jpeg_buffer.curr = 0; in exynos4_jpeg_parse_decode_h_tbl()786 components = get_byte(&jpeg_buffer); in exynos4_jpeg_parse_decode_h_tbl()790 c = get_byte(&jpeg_buffer); in exynos4_jpeg_parse_decode_h_tbl()[all …]
291 struct jpeg_buffer { struct578 static int get_byte(struct jpeg_buffer *buf) in get_byte()586 static int get_word_be(struct jpeg_buffer *buf, unsigned int *word) in get_word_be()597 static void skip(struct jpeg_buffer *buf, unsigned long len) in skip()605 struct jpeg_buffer jpeg_buffer; in jpu_parse_hdr() local609 jpeg_buffer.end = buffer + size; in jpu_parse_hdr()610 jpeg_buffer.curr = buffer; in jpu_parse_hdr()624 c = get_byte(&jpeg_buffer); in jpu_parse_hdr()635 skip(&jpeg_buffer, 3); /* segment length and bpp */ in jpu_parse_hdr()636 if (get_word_be(&jpeg_buffer, height) || in jpu_parse_hdr()[all …]