ビデオ > Screen Video V2 ビットストリームフォーマット

Screen Video V2 bitstream format

SCREENV2VIDEOPACKET

フィールド コメント
BlockWidth UB[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.
ImageWidth UB[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.
ImageHeight UB[12] Pixel height of the full image.
Reserved UB[6] Must be 0
HasIFrameImage UB[1] If 1, has IFrameImage
HasPaletteInfo UB[1] If 1, has PaletteInfo
PaletteInfo If HasPaletteInfo,
IMAGEBLOCK
One block of data to describe
the palette.
ImageBlocks IMAGEBLOCKV2[n] Blocks of image data. See
Block format for details of
how to calculate n. Blocks
are ordered from bottom left
to top right in rows and can
be a combination of
keyblocks and interblocks.
IFrameImage If HasIFrameImage,
IMAGEBLOCKV2[n]
Blocks of image data
representing interblocks that
must be combined with the
previous keyblocks to
produce the image. See
Block format for details of
how to calculate n. Blocks
are ordered from bottom left
to top right in rows.

Image Block V2

IMAGEBLOCKV2

フィールド コメント
DataSize UB[16]
Note: UB[16] is not the same as
UI16; there is no byte swapping.
Size of the compressed
block data that follows,
including the ImageFormat,
ImageBlockHeader and Data
fields. If this is an interframe,
and this block has not
changed since the last
keyframe, DataSize is 0 and
the Data field is absent.
Format IMAGEFORMAT Compression format of block
data.
ImageBlockHeader If Format’s HasDiffBlock = 1,
IMAGEDIFFPOSITION
If Format’s
ZlibPrimeCompressCurrent = 1,
IMAGEPRIMEPOSITION
Describes the format and
compression of Data
Data If 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.

Image format

IMAGEFORMAT

フィールド コメント
Reserved UB[3] Must be 0
ColorDepth UB[2] 00: 24-bit RGB image
10: 15/7-bit hybrid color
image
HasDiffBlocks UB[1] If 1, the data starts and stops
on specific rows within the
block and does not represent
the entire block.
ZlibPrimeCompressCurrent UB[1] If 1, the current data block
was produced with the ZLIB
priming technique of
compression.
ZlibPrimeCompressPrevious UB[1] If 1, the previous data block
was produced with the ZLIB
priming technique of
compression.

Image block diff position

IMAGEDIFFPOSITION

フィールド コメント
RowStart UI8 Indicates the first scan line of
the block that contains the
image data.
Height UI8 Indicates the height, in
contiguous scan lines, of the
image data.

Image block prime position

IMAGEPRIMEPOSITION

フィールド コメント
Block column Ui8 Indicates the position of the
source block.
Block row Ui8 Indicates the position

移動

最終更新:2017年02月20日 21:17