Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cVideoBZRateController Class Reference

#include <cVideoBZ.h>

Inheritance diagram for GrayLib::cVideoBZRateController:
GrayLib::cAVRateController GrayLib::cVideoBZ GrayLib::cAVSink

Classes

struct  cBlock
 

Public Member Functions

 cVideoBZRateController ()
 
virtual HRESULT OnHeaderStream (const cAVHeaderStream &head, const void *pForm, size_t nSizeForm) override
 
virtual HRESULT OnFrame (const cAVHeaderFrame &head, const void *pData, size_t nSizeData) override
 
virtual HRESULT BuildCompFrame (TIMESYS_t tWhenLast, const void *&rpCompRet, size_t &rnSizeRet) override
 
- Public Member Functions inherited from GrayLib::cAVSink
virtual ~cAVSink ()
 
virtual HRESULT OnHeaderOpen (const cAVHeader &head)
 
virtual HRESULT OnHeaderClose ()
 
virtual HRESULT OnClose ()
 

Protected Member Functions

void UpdateBlockParams ()
 
- Protected Member Functions inherited from GrayLib::cVideoBZ
 cVideoBZ ()
 
virtual ~cVideoBZ ()
 
void UpdateBlockParams ()
 
bool isReady () const noexcept
 
int get_BlocksTotal () const noexcept
 
void GetBlockRect (const BLOCK_COORD &coord, cRectI &rect) const noexcept
 
 UNITTEST_FRIEND (cVideoBZ)
 

Protected Attributes

cArrayStruct< cBlockm_aBlocks
 the blocks making up the current frame. More...
 
cSurface m_FrameLast
 Last Full uncompressed frame. More...
 
cStreamQueue m_CompFrame
 holder for the last compressed frame. key or diff. persisted for BuildCompFrame( rpCompRet ) More...
 
cTimeSys m_tUpdateOldest
 When was this last FULLY built/current. More...
 

Additional Inherited Members

- Public Attributes inherited from GrayLib::cVideoBZ
cWinSize m_Blocks
 Count of blocks = m_FrameSize / k_BLOCK_SIZE. More...
 
UINT m_nFrameNum
 
cSurfaceInfo m_Info
 i was init to use this format + size. CompStart() or DecompStart() More...
 
- Static Public Attributes inherited from GrayLib::cVideoBZ
static const int k_BLOCK_SIZE = 32
 
static const FOURCC k_Form = ((DWORD)(BYTE)( 'G' ) | ((DWORD)(BYTE)( 'V' ) << 8) | ((DWORD)(BYTE)( 'B' ) << 16) | ((DWORD)(BYTE)( 'Z' ) << 24 ))
 
- Static Protected Member Functions inherited from GrayLib::cVideoBZ
static HRESULT GRAYCALL CoordWrite (cStreamOutput &out, const BLOCK_COORD &coord)
 
static HRESULT GRAYCALL CoordRead (cStreamInput &stmIn, BLOCK_COORD &coord)
 

Constructor & Destructor Documentation

◆ cVideoBZRateController()

GrayLib::cVideoBZRateController::cVideoBZRateController ( )

Member Function Documentation

◆ BuildCompFrame()

virtual HRESULT GrayLib::cVideoBZRateController::BuildCompFrame ( TIMESYS_t  tWhenLast,
const void *&  rpCompRet,
size_t &  rnSizeRet 
)
overridevirtual

◆ OnFrame()

virtual HRESULT GrayLib::cVideoBZRateController::OnFrame ( const cAVHeaderFrame head,
const void *  pData,
size_t  nSizeData 
)
overridevirtual

Reimplemented from GrayLib::cAVSink.

◆ OnHeaderStream()

virtual HRESULT GrayLib::cVideoBZRateController::OnHeaderStream ( const cAVHeaderStream head,
const void *  pForm,
size_t  nSizeForm 
)
overridevirtual

Reimplemented from GrayLib::cAVSink.

◆ UpdateBlockParams()

void GrayLib::cVideoBZRateController::UpdateBlockParams ( )
protected

Member Data Documentation

◆ m_aBlocks

cArrayStruct<cBlock> GrayLib::cVideoBZRateController::m_aBlocks
protected

the blocks making up the current frame.

◆ m_CompFrame

cStreamQueue GrayLib::cVideoBZRateController::m_CompFrame
protected

holder for the last compressed frame. key or diff. persisted for BuildCompFrame( rpCompRet )

◆ m_FrameLast

cSurface GrayLib::cVideoBZRateController::m_FrameLast
protected

Last Full uncompressed frame.

◆ m_tUpdateOldest

cTimeSys GrayLib::cVideoBZRateController::m_tUpdateOldest
protected

When was this last FULLY built/current.


The documentation for this class was generated from the following file: