44 const char* (*item_name)(
void* ctx);
79 void* (*child_next)(
void *obj,
void *prev);
94 #define AV_LOG_QUIET -8
99 #define AV_LOG_PANIC 0
106 #define AV_LOG_FATAL 8
112 #define AV_LOG_ERROR 16
118 #define AV_LOG_WARNING 24
120 #define AV_LOG_INFO 32
121 #define AV_LOG_VERBOSE 40
126 #define AV_LOG_DEBUG 48
144 void av_vlog(
void *avcl,
int level, const
char *fmt, va_list);
157 # define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
159 # define av_dlog(pctx, ...)
170 #define AV_LOG_SKIP_REPEATED 1
#define av_printf_format(fmtpos, attrpos)
void av_log_set_level(int)
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
void av_log_set_callback(void(*)(void *, int, const char *, va_list))
int log_level_offset_offset
Offset in the structure where log_level_offset is stored.
struct AVClass AVClass
Describe the class of an AVClass context structure.
const char * av_default_item_name(void *ctx)
void av_log_default_callback(void *ptr, int level, const char *fmt, va_list vl)
int av_log_get_level(void)
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...
Describe the class of an AVClass context structure.
int version
LIBAVUTIL_VERSION with which this structure was created.
void av_log_set_flags(int arg)
void void av_vlog(void *avcl, int level, const char *fmt, va_list)
int parent_log_context_offset
Offset in the structure where a pointer to the parent context for logging is stored.