#include "avformat.h"
#include "spdif.h"
#include "libavcodec/ac3.h"
#include "libavcodec/dca.h"
#include "libavcodec/aacadtsdec.h"
Go to the source code of this file.
Data Structures | |
| struct | IEC61937Context |
Defines | |
| #define | MAT_FRAME_SIZE 61424 |
| #define | TRUEHD_FRAME_OFFSET 2560 |
| #define | MAT_MIDDLE_CODE_OFFSET -4 |
Functions | |
| static int | spdif_header_ac3 (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_header_eac3 (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_header_dts (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_header_mpeg (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_header_aac (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_header_truehd (AVFormatContext *s, AVPacket *pkt) |
| static int | spdif_write_header (AVFormatContext *s) |
| static int | spdif_write_trailer (AVFormatContext *s) |
| static int | spdif_write_packet (struct AVFormatContext *s, AVPacket *pkt) |
Variables | |
| static enum IEC61937DataType | mpeg_data_type [2][3] |
| AVOutputFormat | spdif_muxer |
Definition in file spdifenc.c.
| #define MAT_FRAME_SIZE 61424 |
Definition at line 240 of file spdifenc.c.
Referenced by spdif_header_truehd(), and spdif_write_header().
| #define MAT_MIDDLE_CODE_OFFSET -4 |
| #define TRUEHD_FRAME_OFFSET 2560 |
| static int spdif_header_aac | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_header_ac3 | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_header_dts | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_header_eac3 | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_header_mpeg | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_header_truehd | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int spdif_write_header | ( | AVFormatContext * | s | ) | [static] |
Definition at line 290 of file spdifenc.c.
| static int spdif_write_packet | ( | struct AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
Definition at line 333 of file spdifenc.c.
| static int spdif_write_trailer | ( | AVFormatContext * | s | ) | [static] |
Definition at line 325 of file spdifenc.c.
enum IEC61937DataType mpeg_data_type[2][3] [static] |
Initial value:
{
{ IEC61937_MPEG2_LAYER1_LSF, IEC61937_MPEG2_LAYER2_LSF, IEC61937_MPEG2_LAYER3_LSF },
{ IEC61937_MPEG1_LAYER1, IEC61937_MPEG1_LAYER23, IEC61937_MPEG1_LAYER23 },
}
Definition at line 167 of file spdifenc.c.
Referenced by spdif_header_mpeg().
Initial value:
{
"spdif",
NULL_IF_CONFIG_SMALL("IEC 61937 (used on S/PDIF - IEC958)"),
NULL,
"spdif",
sizeof(IEC61937Context),
CODEC_ID_AC3,
CODEC_ID_NONE,
spdif_write_header,
spdif_write_packet,
spdif_write_trailer,
}
Definition at line 385 of file spdifenc.c.
1.5.6