Home
last modified time | relevance | path

Searched refs:probe_packet (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavformat/
Dyop.c39 static int yop_probe(const AVProbeData *probe_packet) in yop_probe() argument
41 if (AV_RB16(probe_packet->buf) == AV_RB16("YO") && in yop_probe()
42 probe_packet->buf[2]<10 && in yop_probe()
43 probe_packet->buf[3]<10 && in yop_probe()
44 probe_packet->buf[6] && in yop_probe()
45 probe_packet->buf[7] && in yop_probe()
46 !(probe_packet->buf[8] & 1) && in yop_probe()
47 !(probe_packet->buf[10] & 1) && in yop_probe()
48 AV_RL16(probe_packet->buf + 12 + 6) >= 920 && in yop_probe()
49 … AV_RL16(probe_packet->buf + 12 + 6) < probe_packet->buf[12] * 3 + 4 + probe_packet->buf[7] * 2048 in yop_probe()
Dncdec.c29 static int nc_probe(const AVProbeData *probe_packet) in nc_probe() argument
33 if (AV_RB32(probe_packet->buf) != NC_VIDEO_FLAG) in nc_probe()
36 size = AV_RL16(probe_packet->buf + 5); in nc_probe()
38 if (size + 20 > probe_packet->buf_size) in nc_probe()
41 if (AV_RB32(probe_packet->buf+16+size) == NC_VIDEO_FLAG) in nc_probe()
Dm4vdec.c33 static int mpeg4video_probe(const AVProbeData *probe_packet) in mpeg4video_probe() argument
40 for (i = 0; i < probe_packet->buf_size; i++) { in mpeg4video_probe()
41 temp_buffer = (temp_buffer << 8) + probe_packet->buf[i]; in mpeg4video_probe()
Dvqf.c35 static int vqf_probe(const AVProbeData *probe_packet) in vqf_probe() argument
37 if (AV_RL32(probe_packet->buf) != MKTAG('T','W','I','N')) in vqf_probe()
40 if (!memcmp(probe_packet->buf + 4, "97012000", 8)) in vqf_probe()
43 if (!memcmp(probe_packet->buf + 4, "00052200", 8)) in vqf_probe()
46 if (AV_RL32(probe_packet->buf + 12) > (1<<27)) in vqf_probe()