avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Namespaces | Macros | Functions
avutils.cpp File Reference
#include <signal.h>
#include "avcompat.h"
#include "av.h"
#include "avutils.h"
#include "packet.h"
#include "frame.h"
Include dependency graph for avutils.cpp:

Namespaces

 av
 
 av::v1
 The AvDeleter struct Unified delete functor for variois FFMPEG/libavformat/libavcodec and so on resource allocators.
 

Macros

#define HEXDUMP_PRINT(...)
 

Functions

void av::set_logging_level (int32_t level)
 This method can be used to turn up or down FFmpeg's logging level. More...
 
void av::set_logging_level (const string &level)
 
void av::dumpBinaryBuffer (uint8_t *buffer, int buffer_size, int width=16)
 dump_binary_buffer Dump binary buffer to std out in HEX view More...
 
static int av::avcpp_lockmgr_cb (void **ctx, enum AVLockOp op)
 
void av::init ()
 Init all subsustems needed by avcpp. More...
 
string av::error2string (int error)
 C++ verstion of the av_err2str() More...
 
static void av::hex_dump_internal (void *avcl, FILE *f, int level, const uint8_t *buf, int size)
 
void av::hex_dump (FILE *f, const uint8_t *buf, std::size_t size)
 
void av::hex_dump_log (void *avcl, int level, const uint8_t *buf, std::size_t size)
 

Macro Definition Documentation

◆ HEXDUMP_PRINT

#define HEXDUMP_PRINT (   ...)
Value:
do { \
if (!f) \
av_log(avcl, level, __VA_ARGS__); \
else \
fprintf(f, __VA_ARGS__); \
} while (0)