Go to the documentation of this file.
28 #define AVS2_ISSQH(x) ((x) == 0xB0)
29 #define AVS2_ISEND(x) ((x) == 0xB1)
30 #define AVS2_ISPIC(x) ((x) == 0xB3 || (x) == 0xB6)
31 #define AVS2_ISUNIT(x) (AVS2_ISSQH(x) || AVS2_ISEND(x) || (x) == 0xB2 || AVS2_ISPIC(x) || (x) == 0xB5 || (x) == 0xB7)
32 #define AVS2_ISPROFILE(x) ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32)
36 uint32_t
code = -1, hds = 0, pic = 0, seq = 0;
38 const uint8_t *ptr = p->
buf, *end = p->
buf + p->
buf_size, *sqb = 0;
46 if ((
code & 0xffffff00) == 0x100) {
64 if (seq && hds >= 21 && pic){
static int avs2_probe(const AVProbeData *p)
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.
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
This structure contains the data a format has to probe a file.
const uint8_t * avpriv_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t *state)
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
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some it can consider them to be part of the FIFO and delay acknowledging a status change accordingly Example code
#define AVS2_ISPROFILE(x)