44 const char* (*item_name)(
void* ctx);
79 void* (*child_next)(
void *obj,
void *prev);
105 #define AV_LOG_QUIET -8
110 #define AV_LOG_PANIC 0
117 #define AV_LOG_FATAL 8
123 #define AV_LOG_ERROR 16
129 #define AV_LOG_WARNING 24
134 #define AV_LOG_INFO 32
139 #define AV_LOG_VERBOSE 40
144 #define AV_LOG_DEBUG 48
182 void av_vlog(
void *avcl,
int level, const
char *fmt, va_list vl);
242 # define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
244 # define av_dlog(pctx, ...)
255 #define AV_LOG_SKIP_REPEATED 1
void av_log_set_level(int level)
Set the log level.
const char * av_default_item_name(void *ctx)
Return the context name.
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
Macro definitions for various function/variable attributes.
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 struct AVOption * option
a pointer to the first option specified in the class if any or NULL
int log_level_offset_offset
Offset in the structure where log_level_offset is stored.
int av_log_get_level(void)
Get the current log level.
void av_log_default_callback(void *avcl, int level, const char *fmt, va_list vl)
Default logging callback.
#define av_printf_format(fmtpos, attrpos)
void av_log_set_callback(void(*callback)(void *, int, const char *, va_list))
Set the logging callback.
Describe the class of an AVClass context structure.
void void av_vlog(void *avcl, int level, const char *fmt, va_list vl)
Send the specified message to the log if the level is less than or equal to the current av_log_level...
int version
LIBAVUTIL_VERSION with which this structure was created.
int parent_log_context_offset
Offset in the structure where a pointer to the parent context for logging is stored.
void av_log_set_flags(int arg)