AVClass Struct Reference

Describes the class of an AVClass context structure. More...

#include <log.h>


Data Fields

const char * class_name
 The name of the class; usually it is the same name as the context structure type to which the AVClass is associated.
const char *(* item_name )(void *ctx)
 A pointer to a function which returns the name of a context instance ctx associated with the class.
struct AVOptionoption
 a pointer to the first option specified in the class if any or NULL
int version
 LIBAVUTIL_VERSION with which this structure was created.


Detailed Description

Describes the class of an AVClass context structure.

That is an arbitrary struct of which the first field is a pointer to an AVClass struct (e.g. AVCodecContext, AVFormatContext etc.).

Definition at line 32 of file log.h.


Field Documentation

const char* AVClass::class_name

The name of the class; usually it is the same name as the context structure type to which the AVClass is associated.

Definition at line 37 of file log.h.

const char*(* AVClass::item_name)(void *ctx)

A pointer to a function which returns the name of a context instance ctx associated with the class.

Referenced by av_log_default_callback(), and http_av_log().

struct AVOption* AVClass::option [read]

a pointer to the first option specified in the class if any or NULL

See also:
av_set_default_options()

Definition at line 50 of file log.h.

Referenced by av_find_opt().

LIBAVUTIL_VERSION with which this structure was created.

This is used to allow fields to be added without requiring major version bumps everywhere.

Definition at line 58 of file log.h.


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8