Lines Matching refs:buf_ptr
2438 const uint8_t *buf_ptr = buf;
2447 buf_ptr = avpriv_find_start_code(buf_ptr, buf_end, &start_code);
2478 return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index);
2480 return FFMAX(0, buf_ptr - buf);
2484 input_size = buf_end - buf_ptr;
2488 start_code, buf_ptr - buf, input_size);
2494 mpeg1_decode_sequence(avctx, buf_ptr, input_size);
2544 if (mpeg1_decode_picture(avctx, buf_ptr, input_size) < 0)
2556 ret = init_get_bits8(&s2->gb, buf_ptr, input_size);
2595 mpeg_decode_user_data(avctx, buf_ptr, input_size);
2600 mpeg_decode_gop(avctx, buf_ptr, input_size);
2644 mb_y += (*buf_ptr&0xE0)<<2;
2650 if (buf_end - buf_ptr < 2) {
2740 init_get_bits(&thread_context->gb, buf_ptr, input_size * 8);
2743 buf_ptr += 2; // FIXME add minimum number of bytes per slice
2745 ret = mpeg_decode_slice(s2, mb_y, &buf_ptr, input_size);