Go to the documentation of this file.
22 #ifndef AVFORMAT_SPDIF_H
23 #define AVFORMAT_SPDIF_H
28 #define SYNCWORD1 0xF872
29 #define SYNCWORD2 0x4E1F
30 #define BURST_HEADER_SIZE 0x8
@ IEC61937_MPEG2_AAC_LSF_4096
MPEG-2 AAC ADTS quarter-rate low sampling frequency.
void ff_spdif_bswap_buf16(uint16_t *dst, const uint16_t *src, int w)
@ IEC61937_MPEG2_LAYER1_LSF
MPEG-2, layer-1 low sampling frequency.
@ IEC61937_ATRAC3
ATRAC3 data.
@ IEC61937_MPEG2_EXT
MPEG-2 data with extension.
@ IEC61937_DTSHD
DTS HD data.
AVCodecID
Identify the syntax and semantics of the bitstream.
@ IEC61937_DTS3
DTS type III (2048 samples)
@ IEC61937_MPEG1_LAYER23
MPEG-1 layer 2 or 3 data or MPEG-2 without extension.
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
@ IEC61937_DTS2
DTS type II (1024 samples)
int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec)
@ IEC61937_DTS1
DTS type I (512 samples)
int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt)
@ IEC61937_MPEG1_LAYER1
MPEG-1 layer 1.
@ IEC61937_EAC3
E-AC-3 data.
@ IEC61937_MPEG2_AAC_LSF_2048
MPEG-2 AAC ADTS half-rate low sampling frequency.
@ IEC61937_TRUEHD
TrueHD data.
@ IEC61937_ATRACX
ATRAC3+ data.
@ IEC61937_ATRAC
ATRAC data.
@ IEC61937_MPEG2_LAYER2_LSF
MPEG-2, layer-2 low sampling frequency.
This structure stores compressed data.
@ IEC61937_MPEG2_AAC
MPEG-2 AAC ADTS.
@ IEC61937_WMAPRO
WMA 9 Professional data.
static const uint16_t spdif_mpeg_pkt_offset[2][3]
@ IEC61937_MPEG2_LAYER3_LSF
MPEG-2, layer-3 low sampling frequency.