29 int seq = 0, entry = 0,
frame = 0, i;
31 for (i = 0; i < p->
buf_size + 5; i++) {
33 if ((code & 0xffffffe0) == 0x100) {
34 int type = code & 0x11f;
39 profile = (p->
buf[i] & 0xc0) >> 6;
44 level = (p->
buf[i] & 0x38) >> 3;
49 chromaformat = (p->
buf[i] & 0x6) >> 1;
50 if (chromaformat != 1) {
#define FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, flag)
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
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.