33 for (i = 0; i < p->
buf_size - 1; i++) {
34 code = (code << 8) + p->
buf[i];
35 if ((code & 0xffffff00) == 0x100) {
37 int type = (code & 0x7E) >> 1;
59 if (vps &&
sps &&
pps && irap)
#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.
static int FUNC() pps(CodedBitstreamContext *ctx, RWContext *rw, H264RawPPS *current)
static int FUNC() sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
This structure contains the data a format has to probe a file.
static int FUNC() vps(CodedBitstreamContext *ctx, RWContext *rw, H265RawVPS *current)