28 #define UNCHECKED_BITSTREAM_READER 1
151 if(pos+10>buf_size) pos=buf_size;
178 const int qscale= s->
qscale;
292 }
else if(bits_left != 1){
294 v|= 0x7F >> (7-(bits_count&7));
296 if(v==0x7F && bits_left<=8)
325 max_extra+= 256*256*256*64;
348 void *
data,
int *got_frame,
352 int buf_size = avpkt->
size;
357 #ifdef PRINT_FRAME_TIME
358 uint64_t time= rdtsc();
398 for(i=0; i<buf_size-3; i++){
399 if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1){
434 }
else if (CONFIG_MPEG4_DECODER && s->
h263_pred) {
444 }
else if (CONFIG_FLV_DECODER && s->
h263_flv) {
520 #define SET_QPEL_FUNC(postfix1, postfix2) \
521 s->dsp.put_ ## postfix1 = ff_put_ ## postfix2;\
522 s->dsp.put_no_rnd_ ## postfix1 = ff_put_no_rnd_ ## postfix2;\
523 s->dsp.avg_ ## postfix1 = ff_avg_ ## postfix2;
674 if(ret<0)
return ret;
675 if(ret==1)
goto intrax8_decoded;
711 int startcode_found=0;
713 if(buf_size - current_pos > 7){
715 for(i=current_pos; i<buf_size-4; i++){
716 if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1 && buf[i+3]==0xB6){
717 startcode_found=!(buf[i+4]&0x40);
758 #ifdef PRINT_FRAME_TIME