Go to the source code of this file.
Classes | |
| struct | AVCLASS |
Typedefs | |
| typedef struct AVCLASS | AVClass |
| Used by av_log. | |
Functions | |
| void | av_log (void *, int level, const char *fmt,...) __attribute__((__format__(__printf__ |
| Send the specified message to the log if the level is less than or equal to the current av_log_level. | |
| void | av_vlog (void *, int level, const char *fmt, va_list) |
| int | av_log_get_level (void) |
| void | av_log_set_level (int) |
| void | av_log_set_callback (void(*)(void *, int, const char *, va_list)) |
| void | av_log_default_callback (void *ptr, int level, const char *fmt, va_list vl) |
Variables | |
| int | av_log_level |
| void(* | av_vlog )(void *, int, const char *, va_list) |
| void av_log | ( | void * | , | |
| int | level, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
Send the specified message to the log if the level is less than or equal to the current av_log_level.
By default, all logging messages are sent to stderr. This behavior can be altered by setting a different av_vlog callback function.
| avcl | A pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct. | |
| level | The importance level of the message, lower values signifying higher importance. | |
| fmt | The format string (printf-compatible) that specifies how subsequent arguments are converted to output. |
| void av_log_set_level | ( | int | ) |
| void av_log_set_callback | ( | void(*)(void *, int, const char *, va_list) | ) |
Definition at line 78 of file log.c.
Referenced by AvFormatDecoder::AvFormatDecoder(), and MPEG2fixup::MPEG2fixup().
| void av_log_default_callback | ( | void * | ptr, | |
| int | level, | |||
| const char * | fmt, | |||
| va_list | vl | |||
| ) |
| int av_log_level |
Definition at line 29 of file log.c.
Referenced by av_adler32_update(), av_log_default_callback(), av_log_get_level(), av_log_set_level(), avcodec_string(), and main().
| void(* av_vlog)(void *, int, const char *, va_list) |
Referenced by av_log(), and X264_log().
1.5.5