Lines Matching refs:src_size
204 static void jpg_unescape(const uint8_t *src, int src_size, in jpg_unescape() argument
207 const uint8_t *src_end = src + src_size; in jpg_unescape()
269 const uint8_t *src, int src_size, in jpg_decode_data() argument
282 src_size + AV_INPUT_BUFFER_PADDING_SIZE)) < 0) in jpg_decode_data()
284 jpg_unescape(src, src_size, c->buf, &unesc_size); in jpg_decode_data()
863 const uint8_t *src, size_t src_size, in epic_jb_decode_tile() argument
871 if (!src_size) in epic_jb_decode_tile()
876 src_size--; in epic_jb_decode_tile()
879 if (extrabytes > 3 || src_size < extrabytes) { in epic_jb_decode_tile()
887 src_size--; in epic_jb_decode_tile()
890 if (src_size < els_dsize) { in epic_jb_decode_tile()
892 els_dsize, src_size); in epic_jb_decode_tile()
956 if (src_size > els_dsize) { in epic_jb_decode_tile()
964 src_size -= els_dsize; in epic_jb_decode_tile()
986 jpg_decode_data(&c->jc, awidth, aheight, src, src_size, in epic_jb_decode_tile()
1006 return jpg_decode_data(&c->jc, tile_width, tile_height, src, src_size, in epic_jb_decode_tile()
1049 const uint8_t *src, int src_size) in kempf_decode_tile() argument
1054 const uint8_t *src_end = src + src_size; in kempf_decode_tile()
1063 if (src_size < 2) in kempf_decode_tile()