FFmpeg
|
libavformat/cdxl.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/parseutils.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for libavformat/cdxl.c:
Go to the source code of this file.
Data Structures | |
struct | CDXLDemuxContext |
Macros | |
#define | CDXL_HEADER_SIZE 32 |
#define | OFFSET(x) offsetof(CDXLDemuxContext, x) |
Typedefs | |
typedef struct CDXLDemuxContext | CDXLDemuxContext |
Functions | |
static int | cdxl_read_probe (AVProbeData *p) |
static int | cdxl_read_header (AVFormatContext *s) |
static int | cdxl_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVOption | cdxl_options [] |
static const AVClass | cdxl_demuxer_class |
AVInputFormat | ff_cdxl_demuxer |
Macro Definition Documentation
#define CDXL_HEADER_SIZE 32 |
Definition at line 29 of file libavformat/cdxl.c.
Referenced by cdxl_read_packet(), and cdxl_read_probe().
#define OFFSET | ( | x | ) | offsetof(CDXLDemuxContext, x) |
Definition at line 207 of file libavformat/cdxl.c.
Typedef Documentation
typedef struct CDXLDemuxContext CDXLDemuxContext |
Function Documentation
|
static |
Definition at line 84 of file libavformat/cdxl.c.
|
static |
Definition at line 104 of file libavformat/cdxl.c.
|
static |
Definition at line 42 of file libavformat/cdxl.c.
Variable Documentation
|
static |
Initial value:
= {
.class_name = "CDXL demuxer",
.item_name = av_default_item_name,
.option = cdxl_options,
.version = LIBAVUTIL_VERSION_INT,
}
Definition at line 214 of file libavformat/cdxl.c.
|
static |
Initial value:
= {
{ "sample_rate", "", OFFSET(sample_rate), AV_OPT_TYPE_INT, { .i64 = 11025 }, 1, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
Definition: opt.h:222
Definition: opt.h:226
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:282
Definition at line 208 of file libavformat/cdxl.c.
AVInputFormat ff_cdxl_demuxer |
Initial value:
= {
.name = "cdxl",
.long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
.priv_data_size = sizeof(CDXLDemuxContext),
.extensions = "cdxl,xl",
.priv_class = &cdxl_demuxer_class,
}
static int cdxl_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/cdxl.c:104
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct CDXLDemuxContext CDXLDemuxContext
Definition at line 221 of file libavformat/cdxl.c.
Generated on Fri Dec 20 2024 06:56:11 for FFmpeg by 1.8.11