148 if(pos+10>buf_size) pos=buf_size;
156 const int mb_size = 16;
173 const int qscale= s->
qscale;
287 }
else if(bits_left != 1){
289 v|= 0x7F >> (7-(bits_count&7));
291 if(v==0x7F && bits_left<=8)
320 max_extra+= 256*256*256*64;
343 void *
data,
int *got_frame,
347 int buf_size = avpkt->
size;
352 #ifdef PRINT_FRAME_TIME
353 uint64_t time= rdtsc();
491 #define SET_QPEL_FUNC(postfix1, postfix2) \
492 s->dsp.put_ ## postfix1 = ff_put_ ## postfix2;\
493 s->dsp.put_no_rnd_ ## postfix1 = ff_put_no_rnd_ ## postfix2;\
494 s->dsp.avg_ ## postfix1 = ff_avg_ ## postfix2;
637 if(ret<0)
return ret;
638 if(ret==1)
goto intrax8_decoded;
674 int startcode_found=0;
676 if(buf_size - current_pos > 5){
678 for(i=current_pos; i<buf_size-3; i++){
679 if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1 && buf[i+3]==0xB6){
725 #ifdef PRINT_FRAME_TIME