QCP format (.qcp) demuxer.
More...
Go to the source code of this file.
QCP format (.qcp) demuxer.
- Author
- Kenan Gillet
- See also
- RFC 3625: "The QCP File Format and Media Types for Speech Data" http://tools.ietf.org/html/rfc3625
Definition in file qcp.c.
◆ QCP_MAX_MODE
Definition at line 38 of file qcp.c.
◆ is_qcelp_13k_guid()
static int is_qcelp_13k_guid |
( |
const uint8_t * |
guid | ) |
|
|
static |
- Parameters
-
guid | contains at least 16 bytes |
- Returns
- 1 if the guid is a qcelp_13k guid, 0 otherwise
Definition at line 77 of file qcp.c.
Referenced by qcp_read_header().
◆ qcp_probe()
Definition at line 82 of file qcp.c.
◆ qcp_read_header()
Definition at line 90 of file qcp.c.
◆ qcp_read_packet()
◆ guid_qcelp_13k_part
const uint8_t guid_qcelp_13k_part[15] |
|
static |
Initial value:= {
0x6d, 0x7f, 0x5e, 0x15, 0xb1, 0xd0, 0x11, 0xba,
0x91, 0x00, 0x80, 0x5f, 0xb4, 0xb9, 0x7e
}
Last 15 out of 16 bytes of QCELP-13K GUID, as stored in the file; the first byte of the GUID can be either 0x41 or 0x42.
Definition at line 47 of file qcp.c.
Referenced by is_qcelp_13k_guid().
◆ guid_evrc
Initial value:= {
0x8d, 0xd4, 0x89, 0xe6, 0x76, 0x90, 0xb5, 0x46,
0x91, 0xef, 0x73, 0x6a, 0x51, 0x00, 0xce, 0xb4
}
EVRC GUID as stored in the file.
Definition at line 55 of file qcp.c.
Referenced by qcp_read_header().
◆ guid_4gv
Initial value:= {
0xca, 0x29, 0xfd, 0x3c, 0x53, 0xf6, 0xf5, 0x4e,
0x90, 0xe9, 0xf4, 0x23, 0x6d, 0x59, 0x9b, 0x61
}
Definition at line 60 of file qcp.c.
Referenced by qcp_read_header().
◆ guid_smv
Initial value:= {
0x75, 0x2b, 0x7c, 0x8d, 0x97, 0xa7, 0x49, 0xed,
0x98, 0x5e, 0xd5, 0x3c, 0x8c, 0xc7, 0x5f, 0x84
}
SMV GUID as stored in the file.
Definition at line 68 of file qcp.c.
Referenced by qcp_read_header().
◆ ff_qcp_demuxer
Initial value:= {
.name = "qcp",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int qcp_probe(const AVProbeData *pd)
static int qcp_read_header(AVFormatContext *s)
static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition at line 198 of file qcp.c.