Lines Matching refs:buf_ptr
2192 const uint8_t *buf_ptr;
2197 buf_ptr = *pbuf_ptr;
2198 while (buf_end - buf_ptr > 1) {
2199 v = *buf_ptr++;
2200 v2 = *buf_ptr;
2201 if ((v == 0xff) && (v2 >= SOF0) && (v2 <= COM) && buf_ptr < buf_end) {
2202 val = *buf_ptr++;
2207 buf_ptr = buf_end;
2211 *pbuf_ptr = buf_ptr;
2216 const uint8_t **buf_ptr, const uint8_t *buf_end,
2221 start_code = find_marker(buf_ptr, buf_end);
2223 av_fast_padded_malloc(&s->buffer, &s->buffer_size, buf_end - *buf_ptr);
2229 const uint8_t *src = *buf_ptr;
2284 (buf_end - *buf_ptr) - (dst - s->buffer));
2286 const uint8_t *src = *buf_ptr;
2328 *unescaped_buf_ptr = *buf_ptr;
2329 *unescaped_buf_size = buf_end - *buf_ptr;
2412 const uint8_t *buf_end, *buf_ptr;
2438 buf_ptr = s->pkt->data;
2440 while (buf_ptr < buf_end) {
2442 start_code = ff_mjpeg_find_marker(s, &buf_ptr, buf_end,
2455 start_code, buf_end - buf_ptr);
2516 s->raw_image_buffer = buf_ptr;
2517 s->raw_image_buffer_size = buf_end - buf_ptr;
2616 s->raw_scan_buffer = buf_ptr;
2617 s->raw_scan_buffer_size = buf_end - buf_ptr;
2650 buf_ptr += (get_bits_count(&s->gb) + 7) / 8;
2951 buf_end - buf_ptr);