28 #define UNCHECKED_BITSTREAM_READER 1
149 if(pos+10>buf_size) pos=buf_size;
176 const int qscale= s->
qscale;
290 }
else if(bits_left != 1){
292 v|= 0x7F >> (7-(bits_count&7));
294 if(v==0x7F && bits_left<=8)
323 max_extra+= 256*256*256*64;
346 void *
data,
int *got_frame,
350 int buf_size = avpkt->
size;
394 for(i=0; i<buf_size-3; i++){
395 if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1){
430 }
else if (CONFIG_MPEG4_DECODER && s->
h263_pred) {
440 }
else if (CONFIG_FLV_DECODER && s->
h263_flv) {
516 #define SET_QPEL_FUNC(postfix1, postfix2) \
517 s->dsp.put_ ## postfix1 = ff_put_ ## postfix2;\
518 s->dsp.put_no_rnd_ ## postfix1 = ff_put_no_rnd_ ## postfix2;\
519 s->dsp.avg_ ## postfix1 = ff_avg_ ## postfix2;
671 if(ret<0)
return ret;
672 if(ret==1)
goto intrax8_decoded;
708 int startcode_found=0;
710 if(buf_size - current_pos > 7){
712 for(i=current_pos; i<buf_size-4; i++){
713 if(buf[i]==0 && buf[i+1]==0 && buf[i+2]==1 && buf[i+3]==0xB6){
714 startcode_found=!(buf[i+4]&0x40);