38 if ((code & 0xffff0000) == 0x10000) {
39 int gn= (code>>12)&0xf;
42 if(gn != next_gn) invalid_psc++;
46 static const int lut[16]={1,2,3,4,5,6,7,8,9,10,11,12,0,16,16,16};
49 static const int lut[16]={1,3,16,5,16,0,16,16,16,16,16,16,16,16,16,16};
55 if(valid_psc > 2*invalid_psc + 6){
57 }
else if(valid_psc > 2*invalid_psc + 2)
static int shift(int a, int b)
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
bitstream reader API header.
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.