FFmpeg
|
IEC 61937 demuxer, used for compressed data in S/PDIF. More...
#include "avformat.h"
#include "spdif.h"
#include "libavcodec/ac3.h"
#include "libavcodec/aacadtsdec.h"
Include dependency graph for spdifdec.c:

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 (AVProbeData *p) |
int | ff_spdif_probe (const uint8_t *p_buf, int buf_size, enum AVCodecID *codec) |
static int | spdif_read_header (AVFormatContext *s) |
int | ff_spdif_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVInputFormat | ff_spdif_demuxer |
Detailed Description
IEC 61937 demuxer, used for compressed data in S/PDIF.
Definition in file spdifdec.c.
Macro Definition Documentation
#define SPDIF_MAX_OFFSET 16384 |
Definition at line 104 of file spdifdec.c.
Referenced by ff_spdif_probe().
Function Documentation
Definition at line 112 of file spdifdec.c.
Referenced by spdif_probe().
int ff_spdif_read_packet | ( | AVFormatContext * | s, |
AVPacket * | pkt | ||
) |
Definition at line 169 of file spdifdec.c.
|
static |
Definition at line 33 of file spdifdec.c.
Referenced by ff_spdif_probe(), and ff_spdif_read_packet().
|
static |
Definition at line 106 of file spdifdec.c.
|
static |
Definition at line 163 of file spdifdec.c.
Variable Documentation
AVInputFormat ff_spdif_demuxer |
Initial value:
= {
.name = "spdif",
.long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"),
.read_probe = spdif_probe,
.read_header = spdif_read_header,
.read_packet = ff_spdif_read_packet,
.flags = AVFMT_GENERIC_INDEX,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: spdifdec.c:169
Definition at line 233 of file spdifdec.c.
Generated on Thu Feb 20 2025 06:53:48 for FFmpeg by
