#include <cVideoFS.h>
|
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 )) |
|
Implement the Adobe Flash 'screenshare' (Screen video) codec natively. based on zlib. common for compress, decompress or render. FOURCC(fsv1) http://en.wikipedia.org/wiki/Flash_Video FLV native pixel format = 24 bit D3DCOLOR format/order. (RGB high to low bytes) cColor888
◆ cVideoFS()
◆ ~cVideoFS()
GrayLib::cVideoFS::~cVideoFS |
( |
| ) |
|
|
protected |
◆ BuildCompFrameHeader()
BYTE * GrayLib::cVideoFS::BuildCompFrameHeader |
( |
BYTE * |
pComp | ) |
const |
|
protected |
Build the 4 byte frame header.
◆ get_BlocksTotal()
int GrayLib::cVideoFS::get_BlocksTotal |
( |
| ) |
const |
|
inlineprotectednoexcept |
◆ GetBlockRect()
void GrayLib::cVideoFS::GetBlockRect |
( |
int |
col, |
|
|
int |
row, |
|
|
cRectI & |
rect |
|
) |
| const |
|
inlineprotectednoexcept |
Get pixel rectangle for a particular block.
◆ isReady()
bool GrayLib::cVideoFS::isReady |
( |
| ) |
const |
|
inlineprotectednoexcept |
◆ UNITTEST_FRIEND()
GrayLib::cVideoFS::UNITTEST_FRIEND |
( |
cVideoFS |
| ) |
|
|
protected |
◆ UpdateBlockParams()
void GrayLib::cVideoFS::UpdateBlockParams |
( |
| ) |
|
|
protected |
Once i know the m_BlockSize and m_FrameSize. update the derived properties.
frame number in video.
◆ k_BLOCK_DEF
const int GrayLib::cVideoFS::k_BLOCK_DEF = 32 |
|
static |
◆ k_Form
const FOURCC GrayLib::cVideoFS::k_Form = ((DWORD)(BYTE)( 'F' ) | ((DWORD)(BYTE)( 'S' ) << 8) | ((DWORD)(BYTE)( 'V' ) << 16) | ((DWORD)(BYTE)( '1' ) << 24 )) |
|
static |
◆ m_Blocks
Count of blocks = m_FrameSize / m_BlockSize.
◆ m_BlockSize
Preconfigured size of the dirty block in pixels. (arbitrary 16..256, multiple of 16)
◆ m_BlockTmp
space to hold a block for (de)compression. m_BlockSize
◆ m_FrameSize
total size in pixels in Frame.
◆ m_nFrameNum
UINT GrayLib::cVideoFS::m_nFrameNum |
frame number in video stream so far.
The documentation for this class was generated from the following files: