avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Go to the source code of this file.
Macros | |
#define | LOGGED_NAME __func__ |
#define | null_log(level, format, ...) av_log(nullptr, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use null context as logging context. More... | |
#define | ptr_log(level, format, ...) av_log(m_raw, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use context ptr as logging context. More... | |
#define | ref_log(level, format, ...) av_log(&m_raw, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use context referenct as logging context. More... | |
#define | ctx_log(ctx, level, format, ...) av_log(ctx, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use specific context as logging context for pretty logging. More... | |
#define | fflog(level, format, ...) _log(level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Default in-class logger. More... | |
#define ctx_log | ( | ctx, | |
level, | |||
format, | |||
... | |||
) | av_log(ctx, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use specific context as logging context for pretty logging.
#define fflog | ( | level, | |
format, | |||
... | |||
) | _log(level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Default in-class logger.
#define LOGGED_NAME __func__ |
#define null_log | ( | level, | |
format, | |||
... | |||
) | av_log(nullptr, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use null context as logging context.
#define ptr_log | ( | level, | |
format, | |||
... | |||
) | av_log(m_raw, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use context ptr as logging context.
#define ref_log | ( | level, | |
format, | |||
... | |||
) | av_log(&m_raw, level, "%s: " format, LOGGED_NAME, ##__VA_ARGS__) |
Use context referenct as logging context.