FFmpeg
|
libcdio.c File Reference
libcdio CD grabbing More...
#include "config.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
Include dependency graph for libcdio.c:
Go to the source code of this file.
Data Structures | |
struct | CDIOContext |
Macros | |
#define | OFFSET(x) offsetof(CDIOContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Typedefs | |
typedef struct CDIOContext | CDIOContext |
Functions | |
static av_cold int | read_header (AVFormatContext *ctx) |
static int | read_packet (AVFormatContext *ctx, AVPacket *pkt) |
static av_cold int | read_close (AVFormatContext *ctx) |
static int | read_seek (AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags) |
Variables | |
static const AVOption | options [] |
static const AVClass | libcdio_class |
AVInputFormat | ff_libcdio_demuxer |
Detailed Description
libcdio CD grabbing
Definition in file libcdio.c.
Macro Definition Documentation
#define DEC AV_OPT_FLAG_DECODING_PARAM |
#define OFFSET | ( | x | ) | offsetof(CDIOContext, x) |
Typedef Documentation
typedef struct CDIOContext CDIOContext |
Function Documentation
|
static |
Definition at line 145 of file libcdio.c.
Referenced by audio_read_close(), dv_probe(), and ff_rtsp_open_transport_ctx().
|
static |
|
static |
Definition at line 114 of file libcdio.c.
Referenced by audio_read_close(), avio_alloc_context(), dv_probe(), ff_rtsp_open_transport_ctx(), ffio_init_context(), and mmf_read_packet().
|
static |
Definition at line 153 of file libcdio.c.
Referenced by dv_probe().
Variable Documentation
AVInputFormat ff_libcdio_demuxer |
Initial value:
= {
.name = "libcdio",
.read_header = read_header,
.read_packet = read_packet,
.read_close = read_close,
.read_seek = read_seek,
.priv_data_size = sizeof(CDIOContext),
.flags = AVFMT_NOFILE,
.priv_class = &libcdio_class,
}
struct CDIOContext CDIOContext
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:345
|
static |
Initial value:
= {
.class_name = "libcdio indev",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
|
static |
Initial value:
= {
{ "paranoia_mode", "Error recovery mode.", OFFSET(paranoia_mode), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX, DEC, "paranoia_mode" },
{ "verify", "Verify data integrity in overlap area", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_VERIFY }, 0, 0, DEC, "paranoia_mode" },
{ "overlap", "Perform overlapped reads.", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_OVERLAP }, 0, 0, DEC, "paranoia_mode" },
{ "neverskip", "Do not skip failed reads.", 0, AV_OPT_TYPE_CONST, { .i64 = PARANOIA_MODE_NEVERSKIP }, 0, 0, DEC, "paranoia_mode" },
{ NULL },
}
Definition: opt.h:222
Definition: opt.h:221
Definition: opt.h:229
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11