32 int src_fmt, last_src_fmt=-1;
37 code = (code<<8) + p->
buf[i];
38 if ((code & 0xfffffc000000) == 0x80000000) {
39 tr = (code >> 18) & 0xFF;
40 src_fmt= (code>>10)&7;
41 if( src_fmt != last_src_fmt
42 && last_src_fmt>0 && last_src_fmt<6
51 if (src_fmt != 7 && !(code&(1<<9)) && (code&(1<<5))) {
56 if((code&0x30000)==0x20000 && src_fmt){
61 last_src_fmt= src_fmt;
63 }
else if((code & 0xffff80000000) == 0x80000000) {
64 int gn= (code>>(31-5)) & 0x1F;
71 if(valid_psc > 2*invalid_psc + 2*res_change + 3){
73 }
else if(valid_psc > 2*invalid_psc)
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
int buf_size
Size of buf except extra allocated bytes.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
This structure contains the data a format has to probe a file.