FFmpeg
|
IEC-61937 encapsulation of various formats, used by S/PDIF. More...
#include "avformat.h"
#include "avio_internal.h"
#include "spdif.h"
#include "libavcodec/ac3.h"
#include "libavcodec/dca.h"
#include "libavcodec/aacadtsdec.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Data Structures | |
struct | IEC61937Context |
Macros | |
#define | SPDIF_FLAG_BIGENDIAN 0x01 |
#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_dts4_subtype (int period) |
static int | spdif_header_dts4 (AVFormatContext *s, AVPacket *pkt, int core_size, int sample_rate, int blocks) |
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 av_always_inline void | spdif_put_16 (IEC61937Context *ctx, AVIOContext *pb, unsigned int val) |
static int | spdif_write_packet (struct AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVOption | options [] |
class { | |
class_name = "spdif" | |
item_name = av_default_item_name | |
option = options | |
version = LIBAVUTIL_VERSION_INT | |
}; | |
static enum IEC61937DataType | mpeg_data_type [2][3] |
AVOutputFormat | ff_spdif_muxer |
IEC-61937 encapsulation of various formats, used by S/PDIF.
Definition in file spdifenc.c.
#define SPDIF_FLAG_BIGENDIAN 0x01 |
Definition at line 79 of file spdifenc.c.
Referenced by spdif_put_16(), and spdif_write_packet().
#define MAT_FRAME_SIZE 61424 |
Definition at line 390 of file spdifenc.c.
Referenced by spdif_header_truehd(), and spdif_write_header().
#define TRUEHD_FRAME_OFFSET 2560 |
Definition at line 391 of file spdifenc.c.
Referenced by spdif_header_truehd().
#define MAT_MIDDLE_CODE_OFFSET -4 |
Definition at line 392 of file spdifenc.c.
Referenced by spdif_header_truehd().
|
static |
Definition at line 102 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 112 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 150 of file spdifenc.c.
Referenced by spdif_header_dts4().
|
static |
Definition at line 163 of file spdifenc.c.
Referenced by spdif_header_dts().
|
static |
Definition at line 240 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 323 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 346 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 394 of file spdifenc.c.
Referenced by spdif_write_header().
|
static |
Definition at line 440 of file spdifenc.c.
|
static |
Definition at line 475 of file spdifenc.c.
|
static |
Definition at line 483 of file spdifenc.c.
Referenced by spdif_write_packet().
|
static |
Definition at line 492 of file spdifenc.c.
|
static |
Definition at line 87 of file spdifenc.c.
class_name = "spdif" |
Definition at line 96 of file spdifenc.c.
item_name = av_default_item_name |
Definition at line 97 of file spdifenc.c.
option = options |
Definition at line 98 of file spdifenc.c.
version = LIBAVUTIL_VERSION_INT |
Definition at line 99 of file spdifenc.c.
const { ... } |
|
static |
Definition at line 317 of file spdifenc.c.
Referenced by spdif_header_mpeg().
AVOutputFormat ff_spdif_muxer |
Definition at line 545 of file spdifenc.c.