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
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) {
static double val(void *priv, double ch)
simple assert() macros that are a bit more flexible than ISO C assert().
#define av_assert0(cond)
assert() equivalent, that is always enabled.
#define AVIO_FLAG_WRITE
write-only
int avio_close(AVIOContext *s)
Close the resource accessed by the AVIOContext s and free it.
int ffio_open_whitelist(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options, const char *whitelist, const char *blacklist)
const AVClass ff_avio_class
#define flags(name, subs,...)
#define fc(width, name, range_min, range_max)
const OptionDef options[]
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
void av_packet_free(AVPacket **pkt)
Free the packet, if the packet is reference counted, it will be unreferenced first.
AVPacket * av_packet_alloc(void)
Allocate an AVPacket and set its fields to default values.
const AVOutputFormat * av_muxer_iterate(void **opaque)
Iterate over all registered muxers.
const AVClass * avformat_get_class(void)
Get the AVClass for AVFormatContext.
AVFormatContext * avformat_alloc_context(void)
Allocate an AVFormatContext.
const AVInputFormat * av_demuxer_iterate(void **opaque)
Iterate over all registered demuxers.
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
#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...
#define AV_NOPTS_VALUE
Undefined timestamp value.
#define LIBAVUTIL_VERSION_INT
common internal API header
#define FF_DISABLE_DEPRECATION_WARNINGS
#define FF_ENABLE_DEPRECATION_WARNINGS
@ AV_CLASS_CATEGORY_MUXER
@ AV_CLASS_CATEGORY_DEMUXER
Describe the class of an AVClass context structure.
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
const struct AVClass *(* child_class_iterate)(void **iter)
Iterate over the AVClasses corresponding to potential AVOptions-enabled children.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
AVFormatInternal * internal
An opaque field for libavformat internal usage.
enum AVDurationEstimationMethod duration_estimation_method
The duration field can be estimated through various ways, and this field can be used to know how the ...