DDraceNetwork Docs
video.cpp File Reference
#include "video.h"
#include <base/log.h>
#include <engine/graphics.h>
#include <engine/shared/config.h>
#include <engine/sound.h>
#include <engine/storage.h>
#include <libavutil/avutil.h>
#include <libavutil/opt.h>
#include <libswresample/swresample.h>
#include <libswscale/swscale.h>
#include <chrono>
#include <memory>
#include <mutex>
#include <thread>
Include dependency graph for video.cpp:

Macros

#define STREAM_PIX_FMT   AV_PIX_FMT_YUV420P /* default pix_fmt */
 
#define FRAME_NUM   frame_number
 

Functions

static LEVEL AvLevelToLogLevel (int Level)
 
void AvLogCallback (void *pUser, int Level, const char *pFormat, va_list VarArgs) GNUC_ATTRIBUTE((format(printf
 

Variables

const size_t FORMAT_GL_NCHANNELS = 4
 
CLock g_WriteLock
 

Macro Definition Documentation

◆ FRAME_NUM

#define FRAME_NUM   frame_number

◆ STREAM_PIX_FMT

#define STREAM_PIX_FMT   AV_PIX_FMT_YUV420P /* default pix_fmt */

Function Documentation

◆ AvLevelToLogLevel()

static LEVEL AvLevelToLogLevel ( int  Level)
static

◆ AvLogCallback()

void void AvLogCallback ( void *  pUser,
int  Level,
const char *  pFormat,
va_list  VarArgs 
)

Variable Documentation

◆ FORMAT_GL_NCHANNELS

const size_t FORMAT_GL_NCHANNELS = 4

◆ g_WriteLock

CLock g_WriteLock