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)
57 #if FF_API_CHILD_CLASS_NEXT
62 void *ifmt_iter =
NULL, *ofmt_iter =
NULL;
100 #define ITER_STATE_SHIFT 16
161 #if FF_API_CHILD_CLASS_NEXT
162 .child_class_next = format_child_class_next,
174 if (!strcmp(url,
s->url) ||
175 s->iformat && !strcmp(
s->iformat->name,
"image2") ||
176 s->oformat && !strcmp(
s->oformat->name,
"image2")
184 #if FF_API_OLD_OPEN_CALLBACKS
225 if (!internal->pkt || !internal->parse_pkt) {
#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
AVFormatInternal * internal
An opaque field for libavformat internal usage.
void av_packet_free(AVPacket **pkt)
Free the packet, if the packet is reference counted, it will be unreferenced first.
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[]
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
#define FF_DISABLE_DEPRECATION_WARNINGS
#define flags(name, subs,...)