Go to the documentation of this file.
36 if (p->
buf[
i] == 0x0f) {
37 const uint8_t *ptr = p->
buf +
i;
38 uint8_t histogram[6] = {0};
40 for(j=0; 6 < end - ptr; j++) {
48 }
else if (
type >= 0x10 &&
type <= 0x14) {
49 histogram[
type - 0x10] ++;
52 if (6 +
len > end - ptr)
56 for (k=0; k < 4; k++) {
59 if (
min && j > max_score)
int buf_size
Size of buf except extra allocated bytes.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define FF_DEF_RAWSUB_DEMUXER(shortname, longname, probe, ext, id, flag)
@ AV_CODEC_ID_DVB_SUBTITLE
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.
#define i(width, name, range_min, range_max)
static int dvbsub_probe(const AVProbeData *p)
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_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16