#include <stdarg.h>
#include "avutil.h"
#include "attributes.h"
Go to the source code of this file.
|
enum | AVClassCategory {
AV_CLASS_CATEGORY_NA = 0,
AV_CLASS_CATEGORY_INPUT,
AV_CLASS_CATEGORY_OUTPUT,
AV_CLASS_CATEGORY_MUXER,
AV_CLASS_CATEGORY_DEMUXER,
AV_CLASS_CATEGORY_ENCODER,
AV_CLASS_CATEGORY_DECODER,
AV_CLASS_CATEGORY_FILTER,
AV_CLASS_CATEGORY_BITSTREAM_FILTER,
AV_CLASS_CATEGORY_SWSCALER,
AV_CLASS_CATEGORY_SWRESAMPLER,
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40,
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT,
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT,
AV_CLASS_CATEGORY_DEVICE_OUTPUT,
AV_CLASS_CATEGORY_DEVICE_INPUT,
AV_CLASS_CATEGORY_NB
} |
|
|
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.
|
|
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 | av_log_get_level (void) |
| Get the current log level.
|
|
void | av_log_set_level (int level) |
| Set the log level.
|
|
void | av_log_set_callback (void(*callback)(void *, int, const char *, va_list)) |
| Set the logging callback.
|
|
void | av_log_default_callback (void *avcl, int level, const char *fmt, va_list vl) |
| Default logging callback.
|
|
const char * | av_default_item_name (void *ctx) |
| Return the context name.
|
|
AVClassCategory | av_default_get_category (void *ptr) |
|
void | av_log_format_line (void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix) |
| Format a line of log the same way as the default callback.
|
|
void | av_log_set_flags (int arg) |
|
int | av_log_get_flags (void) |
|
- Enumerator:
AV_CLASS_CATEGORY_NA |
|
AV_CLASS_CATEGORY_INPUT |
|
AV_CLASS_CATEGORY_OUTPUT |
|
AV_CLASS_CATEGORY_MUXER |
|
AV_CLASS_CATEGORY_DEMUXER |
|
AV_CLASS_CATEGORY_ENCODER |
|
AV_CLASS_CATEGORY_DECODER |
|
AV_CLASS_CATEGORY_FILTER |
|
AV_CLASS_CATEGORY_BITSTREAM_FILTER |
|
AV_CLASS_CATEGORY_SWSCALER |
|
AV_CLASS_CATEGORY_SWRESAMPLER |
|
AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT |
|
AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT |
|
AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT |
|
AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT |
|
AV_CLASS_CATEGORY_DEVICE_OUTPUT |
|
AV_CLASS_CATEGORY_DEVICE_INPUT |
|
AV_CLASS_CATEGORY_NB |
not part of ABI/API
|
Definition at line 28 of file log.h.