Go to the documentation of this file.
40 if(
fc->iformat)
return fc->iformat->name;
41 else if(
fc->oformat)
return fc->oformat->name;
48 if (!prev &&
s->priv_data &&
49 ((
s->iformat &&
s->iformat->priv_class) ||
50 s->oformat &&
s->oformat->priv_class))
52 if (
s->pb &&
s->pb->av_class && prev !=
s->pb)
65 #define ITER_STATE_SHIFT 16
136 if (!strcmp(url,
s->url) ||
137 s->iformat && !strcmp(
s->iformat->name,
"image2") ||
138 s->oformat && !strcmp(
s->oformat->name,
"image2")
#define FF_ENABLE_DEPRECATION_WARNINGS
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
int avio_close(AVIOContext *s)
Close the resource accessed by the AVIOContext s and free it.
const AVClass * avformat_get_class(void)
Get the AVClass for AVFormatContext.
enum AVDurationEstimationMethod duration_estimation_method
The duration field can be estimated through various ways, and this field can be used to know how the ...
int ffio_open_whitelist(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options, const char *whitelist, const char *blacklist)
#define fc(width, name, range_min, range_max)
const AVClass ff_avio_class
int64_t shortest_end
Timestamp of the end of the shortest stream.
static double val(void *priv, double ch)
#define av_assert0(cond)
assert() equivalent, that is always enabled.
#define AVIO_FLAG_WRITE
write-only
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
@ AV_CLASS_CATEGORY_DEMUXER
#define LIBAVUTIL_VERSION_INT
Describe the class of an AVClass context structure.
const OptionDef options[]
AVPacket * parse_pkt
The generic code uses this as a temporary packet to parse packets or for muxing, especially flushing.
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
#define AV_NOPTS_VALUE
Undefined timestamp value.
const AVInputFormat * av_demuxer_iterate(void **opaque)
Iterate over all registered demuxers.
AVPacket * av_packet_alloc(void)
Allocate an AVPacket and set its fields to default values.
#define AV_LOG_INFO
Standard information.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
const AVOutputFormat * av_muxer_iterate(void **opaque)
Iterate over all registered muxers.
@ AV_CLASS_CATEGORY_MUXER
void avformat_free_context(AVFormatContext *s)
Free an AVFormatContext and all its streams.
int64_t offset
Offset to remap timestamps to be non-negative.
#define FF_DISABLE_DEPRECATION_WARNINGS
AVPacket * pkt
Used to hold temporary packets for the generic demuxing code.
#define flags(name, subs,...)
AVFormatContext pub
The public context.