Screen Video bitstream format

SCREENVIDEOPACKET

FieldTypeComment
BlockWidthUB[4]Pixel width of each block in
the grid. This value is stored
as
(actualWidth / 16) - 1, so
possible block sizes are a
multiple of 16 and not more
than 256.
ImageWidthUB[12]Pixel width of the full image.
BlockHeight UB[4] Pixel height of each block in
the grid. This value is stored
as (actualHeight / 16) - 1, so
possible block sizes are a
multiple of 16 and not more
than 256.
ImageHeightUB[12]Pixel height of the full image.
ImageBlocksIMAGEBLOCK[n]Blocks of image data. See
preceding for details of how
to calculate n. Blocks are
ordered from bottom left to
top right, in rows.

Image block

IMAGEBLOCK

Field Type Comment

DataSize UB[16]Note: UB[16] is not the same
as UI16; no byte swapping
occurs.
Size of the compressed block
data that follows. If this is an
interframe, and this block is not
changed since the last
keyframe, DataSize is 0 and
the Data field is absent.
DataIf DataSize > 0,
UI8[DataSize]
Pixel data compressed using
ZLIB. Pixels are ordered from
bottom left to top right in rows.
Each pixel is three bytes: B,
G, R.

トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS