22 #ifndef AVFORMAT_SPDIF_H 23 #define AVFORMAT_SPDIF_H 28 #define SYNCWORD1 0xF872 29 #define SYNCWORD2 0x4E1F 30 #define BURST_HEADER_SIZE 0x8 MPEG-2 AAC ADTS half-rate low sampling frequency.
int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec)
MPEG-2, layer-1 low sampling frequency.
DTS type II (1024 samples)
int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt)
AVCodecID
Identify the syntax and semantics of the bitstream.
DTS type III (2048 samples)
MPEG-1 layer 2 or 3 data or MPEG-2 without extension.
MPEG-2, layer-3 low sampling frequency.
MPEG-2, layer-2 low sampling frequency.
MPEG-2 data with extension.
MPEG-2 AAC ADTS quarter-rate low sampling frequency.
static const uint16_t spdif_mpeg_pkt_offset[2][3]
void ff_spdif_bswap_buf16(uint16_t *dst, const uint16_t *src, int w)
This structure stores compressed data.