FFmpeg
|
Options definition for AVFormatContext. More...
#include "avformat.h"
#include "avio_internal.h"
#include "libavutil/opt.h"
#include "options_table.h"
Include dependency graph for libavformat/options.c:
Go to the source code of this file.
Functions | |
static const char * | format_to_name (void *ptr) |
static void * | format_child_next (void *obj, void *prev) |
static const AVClass * | format_child_class_next (const AVClass *prev) |
static AVClassCategory | get_category (void *ptr) |
static void | avformat_get_context_defaults (AVFormatContext *s) |
AVFormatContext * | avformat_alloc_context (void) |
Allocate an AVFormatContext. More... | |
enum AVDurationEstimationMethod | av_fmt_ctx_get_duration_estimation_method (const AVFormatContext *ctx) |
Returns the method used to set ctx->duration. More... | |
const AVClass * | avformat_get_class (void) |
Get the AVClass for AVFormatContext. More... | |
Variables | |
static const AVClass | av_format_context_class |
Detailed Description
Options definition for AVFormatContext.
Definition in file libavformat/options.c.
Function Documentation
enum AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method | ( | const AVFormatContext * | ctx | ) |
Returns the method used to set ctx->duration.
- Returns
- AVFMT_DURATION_FROM_PTS, AVFMT_DURATION_FROM_STREAM, or AVFMT_DURATION_FROM_BITRATE.
Definition at line 115 of file libavformat/options.c.
|
static |
Definition at line 97 of file libavformat/options.c.
Referenced by avformat_alloc_context().
Definition at line 51 of file libavformat/options.c.
Definition at line 39 of file libavformat/options.c.
|
static |
Definition at line 31 of file libavformat/options.c.
|
static |
Definition at line 79 of file libavformat/options.c.
Variable Documentation
|
static |
Initial value:
= {
.class_name = "AVFormatContext",
.item_name = format_to_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.child_next = format_child_next,
.child_class_next = format_child_class_next,
.get_category = get_category,
}
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
Definition: log.h:113
static const AVClass * format_child_class_next(const AVClass *prev)
Definition: libavformat/options.c:51
Definition: log.h:32
static void * format_child_next(void *obj, void *prev)
Definition: libavformat/options.c:39
Definition at line 86 of file libavformat/options.c.
Referenced by avformat_get_class(), and avformat_get_context_defaults().
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11