![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cVideoFS.h>
Public Member Functions | |
virtual HRESULT | DecompStart (const cSurfaceBitmapInfo *pbiInp, cSurfaceInfo *pFrameInfo) override |
virtual HRESULT | DecompFrame (const void *pCompData, size_t nSizeComp, cSurfaceBase &frame) override |
![]() | |
virtual | ~IVideoDecompress () |
virtual void | DecompEnd () |
Additional Inherited Members | |
![]() | |
cWinSize | m_BlockSize |
Preconfigured size of the dirty block in pixels. (arbitrary 16..256, multiple of 16) More... | |
cWinSize | m_FrameSize |
total size in pixels in Frame. More... | |
cWinSize | m_Blocks |
Count of blocks = m_FrameSize / m_BlockSize. More... | |
UINT | m_nFrameNum |
frame number in video stream so far. More... | |
cArrayVal< cColor888 > | m_BlockTmp |
space to hold a block for (de)compression. m_BlockSize More... | |
![]() | |
static const int | k_BLOCK_DEF = 32 |
static const FOURCC | k_Form = ((DWORD)(BYTE)( 'F' ) | ((DWORD)(BYTE)( 'S' ) << 8) | ((DWORD)(BYTE)( 'V' ) << 16) | ((DWORD)(BYTE)( '1' ) << 24 )) |
![]() | |
cVideoFS (int nBlockX=k_BLOCK_DEF, int nBlockY=k_BLOCK_DEF) | |
~cVideoFS () | |
void | UpdateBlockParams () |
BYTE * | BuildCompFrameHeader (BYTE *pComp) const |
bool | isReady () const noexcept |
int | get_BlocksTotal () const noexcept |
void | GetBlockRect (int col, int row, cRectI &rect) const noexcept |
UNITTEST_FRIEND (cVideoFS) | |
the Adobe Flash 'screenshare' decompresser. FOURCC(fsv1) IVideoDecompress
|
overridevirtual |
Implements GrayLib::IVideoDecompress.
|
overridevirtual |
IVideoDecompress Must call this again if the image size changes or the block size changes.
Implements GrayLib::IVideoDecompress.