FFmpeg
|
#include "libavutil/bswap.h"
#include "libavcodec/ac3defs.h"
#include "libavcodec/adts_parser.h"
#include "avformat.h"
#include "internal.h"
#include "spdif.h"
Go to the source code of this file.
Macros | |
#define | SPDIF_MAX_OFFSET 16384 |
Functions | |
static int | spdif_get_offset_and_codec (AVFormatContext *s, enum IEC61937DataType data_type, const char *buf, int *offset, enum AVCodecID *codec) |
static int | spdif_probe (const AVProbeData *p) |
int | ff_spdif_probe (const uint8_t *p_buf, int buf_size, enum AVCodecID *codec) |
static int | spdif_read_header (AVFormatContext *s) |
static int | spdif_get_pkt_size_bits (int type, int code) |
int | ff_spdif_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
const AVInputFormat | ff_spdif_demuxer |
IEC 61937 demuxer, used for compressed data in S/PDIF
Definition in file spdifdec.c.
#define SPDIF_MAX_OFFSET 16384 |
Definition at line 113 of file spdifdec.c.
|
static |
Definition at line 37 of file spdifdec.c.
Referenced by ff_spdif_probe(), and ff_spdif_read_packet().
|
static |
Definition at line 115 of file spdifdec.c.
Definition at line 121 of file spdifdec.c.
Referenced by set_spdif(), and spdif_probe().
|
static |
Definition at line 172 of file spdifdec.c.
Definition at line 178 of file spdifdec.c.
Referenced by ff_spdif_read_packet().
int ff_spdif_read_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) |
Definition at line 188 of file spdifdec.c.
const AVInputFormat ff_spdif_demuxer |
Definition at line 251 of file spdifdec.c.