#include <video.h>
|
void | RunVideoThread (size_t ParentThreadIndex, size_t ThreadIndex) REQUIRES(!g_WriteLock) |
|
void | FillVideoFrame (size_t ThreadIndex) REQUIRES(!g_WriteLock) |
|
void | UpdateVideoBufferFromGraphics (size_t ThreadIndex) |
|
void | RunAudioThread (size_t ParentThreadIndex, size_t ThreadIndex) REQUIRES(!g_WriteLock) |
|
void | FillAudioFrame (size_t ThreadIndex) |
|
bool | OpenVideo () |
|
bool | OpenAudio () |
|
AVFrame * | AllocPicture (enum AVPixelFormat PixFmt, int Width, int Height) |
|
AVFrame * | AllocAudioFrame (enum AVSampleFormat SampleFmt, uint64_t ChannelLayout, int SampleRate, int NbSamples) |
|
void | WriteFrame (COutputStream *pStream, size_t ThreadIndex) REQUIRES(g_WriteLock) |
|
void | FinishFrames (COutputStream *pStream) |
|
void | CloseStream (COutputStream *pStream) |
|
bool | AddStream (COutputStream *pStream, AVFormatContext *pFormatContext, const AVCodec **ppCodec, enum AVCodecID CodecId) const |
|
◆ CVideo()
CVideo::CVideo |
( |
IGraphics * |
pGraphics, |
|
|
ISound * |
pSound, |
|
|
IStorage * |
pStorage, |
|
|
int |
Width, |
|
|
int |
Height, |
|
|
const char * |
pName |
|
) |
| |
◆ ~CVideo()
◆ AddStream()
bool CVideo::AddStream |
( |
COutputStream * |
pStream, |
|
|
AVFormatContext * |
pFormatContext, |
|
|
const AVCodec ** |
ppCodec, |
|
|
enum AVCodecID |
CodecId |
|
) |
| const |
|
private |
◆ AllocAudioFrame()
AVFrame * CVideo::AllocAudioFrame |
( |
enum AVSampleFormat |
SampleFmt, |
|
|
uint64_t |
ChannelLayout, |
|
|
int |
SampleRate, |
|
|
int |
NbSamples |
|
) |
| |
|
private |
◆ AllocPicture()
AVFrame * CVideo::AllocPicture |
( |
enum AVPixelFormat |
PixFmt, |
|
|
int |
Width, |
|
|
int |
Height |
|
) |
| |
|
private |
◆ CloseStream()
◆ Current()
static IVideo * CVideo::Current |
( |
| ) |
|
|
inlinestatic |
◆ FillAudioFrame()
void CVideo::FillAudioFrame |
( |
size_t |
ThreadIndex | ) |
|
|
private |
◆ FillVideoFrame()
void CVideo::FillVideoFrame |
( |
size_t |
ThreadIndex | ) |
|
|
private |
◆ FinishFrames()
◆ Init()
◆ IsRecording()
bool CVideo::IsRecording |
( |
| ) |
|
|
inlineoverridevirtual |
◆ NextAudioFrame()
◆ NextAudioFrameTimeline()
◆ NextVideoFrame()
void CVideo::NextVideoFrame |
( |
| ) |
|
|
overridevirtual |
◆ NextVideoFrameThread()
void CVideo::NextVideoFrameThread |
( |
| ) |
|
|
overridevirtual |
◆ OpenAudio()
bool CVideo::OpenAudio |
( |
| ) |
|
|
private |
◆ OpenVideo()
bool CVideo::OpenVideo |
( |
| ) |
|
|
private |
◆ Pause()
void CVideo::Pause |
( |
bool |
Pause | ) |
|
|
overridevirtual |
◆ RunAudioThread()
void CVideo::RunAudioThread |
( |
size_t |
ParentThreadIndex, |
|
|
size_t |
ThreadIndex |
|
) |
| |
|
private |
◆ RunVideoThread()
void CVideo::RunVideoThread |
( |
size_t |
ParentThreadIndex, |
|
|
size_t |
ThreadIndex |
|
) |
| |
|
private |
◆ Start()
◆ Stop()
◆ UpdateVideoBufferFromGraphics()
void CVideo::UpdateVideoBufferFromGraphics |
( |
size_t |
ThreadIndex | ) |
|
|
private |
◆ WriteFrame()
void CVideo::WriteFrame |
( |
COutputStream * |
pStream, |
|
|
size_t |
ThreadIndex |
|
) |
| |
|
private |
◆ m_aName
char CVideo::m_aName[256] |
|
private |
◆ m_AudioFrameIndex
uint64_t CVideo::m_AudioFrameIndex = 0 |
|
private |
◆ m_AudioStream
◆ m_AudioThreads
size_t CVideo::m_AudioThreads = 2 |
|
private |
◆ m_CurAudioThreadIndex
size_t CVideo::m_CurAudioThreadIndex = 0 |
|
private |
◆ m_CurVideoThreadIndex
size_t CVideo::m_CurVideoThreadIndex = 0 |
|
private |
◆ m_FPS
◆ m_HasAudio
◆ m_Height
◆ m_pAudioCodec
const AVCodec* CVideo::m_pAudioCodec |
|
private |
◆ m_pFormat
const AVOutputFormat* CVideo::m_pFormat |
|
private |
◆ m_pFormatContext
AVFormatContext* CVideo::m_pFormatContext |
|
private |
◆ m_pGraphics
◆ m_pOptDict
AVDictionary* CVideo::m_pOptDict |
|
private |
◆ m_ProcessingAudioFrame
std::atomic<int32_t> CVideo::m_ProcessingAudioFrame |
|
private |
◆ m_ProcessingVideoFrame
std::atomic<int32_t> CVideo::m_ProcessingVideoFrame |
|
private |
◆ m_pSound
◆ m_pStorage
◆ m_pVideoCodec
const AVCodec* CVideo::m_pVideoCodec |
|
private |
◆ m_Recording
◆ m_Started
◆ m_Stopped
◆ m_vAudioBuffers
◆ m_VideoFrameIndex
uint64_t CVideo::m_VideoFrameIndex = 0 |
|
private |
◆ m_VideoStream
◆ m_VideoThreads
size_t CVideo::m_VideoThreads = 2 |
|
private |
◆ m_vpAudioThreads
◆ m_vpVideoThreads
◆ m_vVideoBuffers
◆ m_Width
The documentation for this class was generated from the following files: