50 #define AV_IS_INPUT_DEVICE(category) \ 51 (((category) == AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT) || \ 52 ((category) == AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT) || \ 53 ((category) == AV_CLASS_CATEGORY_DEVICE_INPUT)) 55 #define AV_IS_OUTPUT_DEVICE(category) \ 56 (((category) == AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT) || \ 57 ((category) == AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT) || \ 58 ((category) == AV_CLASS_CATEGORY_DEVICE_OUTPUT)) 78 const char* (*item_name)(
void* ctx);
113 void* (*child_next)(
void *obj,
void *prev);
158 #define AV_LOG_QUIET -8 163 #define AV_LOG_PANIC 0 170 #define AV_LOG_FATAL 8 176 #define AV_LOG_ERROR 16 182 #define AV_LOG_WARNING 24 187 #define AV_LOG_INFO 32 192 #define AV_LOG_VERBOSE 40 197 #define AV_LOG_DEBUG 48 202 #define AV_LOG_TRACE 56 204 #define AV_LOG_MAX_OFFSET (AV_LOG_TRACE - AV_LOG_QUIET) 218 #define AV_LOG_C(x) ((x) << 8) 252 void av_vlog(
void *avcl,
int level, const
char *fmt, va_list vl);
318 char *line,
int line_size,
int *print_prefix);
335 char *line,
int line_size,
int *print_prefix);
345 # define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) 347 # define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) 359 #define AV_LOG_SKIP_REPEATED 1 367 #define AV_LOG_PRINT_LEVEL 2
void av_log_set_level(int level)
const char * av_default_item_name(void *ctx)
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
int parent_log_context_offset
Definition: log.h:108
const char * class_name
Definition: log.h:72
void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
int av_log_get_level(void)
void av_log_default_callback(void *avcl, int level, const char *fmt, va_list vl)
#define av_printf_format(fmtpos, attrpos)
Definition: attributes.h:159
int av_log_format_line2(void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
void av_log_set_callback(void(*callback)(void *, int, const char *, va_list))
not part of ABI/API
Definition: log.h:47
int log_level_offset_offset
Definition: log.h:99
int av_log_get_flags(void)
void void av_vlog(void *avcl, int level, const char *fmt, va_list vl)
const struct AVOption * option
Definition: log.h:85
AVClassCategory(* get_category)(void *ctx)
Definition: log.h:136
AVClassCategory av_default_get_category(void *ptr)
int version
Definition: log.h:93
AVClassCategory
Definition: log.h:29
void av_log_set_flags(int arg)
AVClassCategory category
Definition: log.h:130
int(* query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags)
Definition: log.h:142