C# Класс Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RFX_PROGRESSIVE_BlockManager

The RFX_PROGRESSIVE_BlockManager is responsible for the construct blocks into byte array
Наследование: Microsoft.Protocols.TestTools.StackSdk.BasePDU
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
blkList List
maxblkFrameIndex ushort

Открытые методы

Метод Описание
BuildRegionBlock ( bool bReduceExtrapolate, EncodedTile>.Dictionary TileDict, uint tileDataLength, RFXProgCodecBlockType tileBlockType ) : RFX_Progressive_REGION

Create region block.

BuildTileDataBlock ( byte quantIdx, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.TileIndex tileIdx, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile tileData, RFXProgCodecBlockType tileBlockType ) : RFX_Progressive_DataBlock

Build tile data blocks(tile simple or tile first or tile upgrade).

CreateBeginBlocks ( bool bSync, bool bContext, bool bSubDiff, ushort regionNum ) : void

Create frame_begin and previous blocks(sync or context block) if needed

CreateContextBlock ( bool bContext, bool bSubDiff ) : void

Create context block if needed.

CreateFrameBeginBlock ( ushort regionNum ) : void

Create frame_begin block

CreateFrameEndBlock ( ) : void

Create frame_end block.

CreateRegionTileBlocks ( bool bReduceExtrapolate, EncodedTile>.Dictionary tileDict, RFXProgCodecBlockType tileBlockType ) : void

Create region blocks and tile data blocks(tile simple or tile first or tile upgrade).

CreateSyncBlock ( bool bSync ) : void

Create sync block if needed

Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool

Decode this PDU from the PduMarshaler.

Encode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : void

Encode this PDU to the PduMarshaler.

GetFrameIndex ( ) : uint

Get frameIndex of fram_begin_block

PackRfxProgCodecDataBlock ( bool bSync, bool bContext, bool bSubDiff ) : byte[]

Return a binary array which is encoded by Rfx Progressive Codec without region/tile data.

PackRfxProgCodecDataBlock ( bool bSync, bool bContext, bool bSubDiff, bool bReduceExtrapolate, EncodedTile>.Dictionary tileDict, RFXProgCodecBlockType tileDataType ) : byte[]

Return a binary array for a tile data which is encoded by Rfx Progressive Codec.

RFX_PROGRESSIVE_BlockManager ( ) : System

Constructor

ToBytes ( ) : byte[]

Описание методов

BuildRegionBlock() публичный Метод

Create region block.
public BuildRegionBlock ( bool bReduceExtrapolate, EncodedTile>.Dictionary TileDict, uint tileDataLength, RFXProgCodecBlockType tileBlockType ) : RFX_Progressive_REGION
bReduceExtrapolate bool This is used to indicate if DWT uses the "Reduce Extrapolate" method.
TileDict EncodedTile>.Dictionary
tileDataLength uint This is used to indicate the encoded tile data length.
tileBlockType RFXProgCodecBlockType This is used to indicate the tile data block type(simple, first, or upgrade).
Результат RFX_Progressive_REGION

BuildTileDataBlock() публичный Метод

Build tile data blocks(tile simple or tile first or tile upgrade).
public BuildTileDataBlock ( byte quantIdx, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.TileIndex tileIdx, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile tileData, RFXProgCodecBlockType tileBlockType ) : RFX_Progressive_DataBlock
quantIdx byte This is used to indicate index in TS_RFX_CODEC_QUANT array of region block
tileIdx Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.TileIndex This is used to indicate the tile index.
tileData Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile This is used to indicate the encoded tile data.
tileBlockType RFXProgCodecBlockType This is used to indicate the tile data block type(simple, first, or upgrade).
Результат RFX_Progressive_DataBlock

CreateBeginBlocks() публичный Метод

Create frame_begin and previous blocks(sync or context block) if needed
public CreateBeginBlocks ( bool bSync, bool bContext, bool bSubDiff, ushort regionNum ) : void
bSync bool This is used to indicate if sync block needed.
bContext bool This is used to indicate if context block needed.
bSubDiff bool This is used to indicate if subband_diffing flag is enabled in context block.
regionNum ushort This is used to indicate the number of region block followed.
Результат void

CreateContextBlock() публичный Метод

Create context block if needed.
public CreateContextBlock ( bool bContext, bool bSubDiff ) : void
bContext bool This is used to indicate if context block needed.
bSubDiff bool This is used to indicate if subband_diffing flag is enabled in context block.
Результат void

CreateFrameBeginBlock() публичный Метод

Create frame_begin block
public CreateFrameBeginBlock ( ushort regionNum ) : void
regionNum ushort This is used to indicate the number of region block followed.
Результат void

CreateFrameEndBlock() публичный Метод

Create frame_end block.
public CreateFrameEndBlock ( ) : void
Результат void

CreateRegionTileBlocks() публичный Метод

Create region blocks and tile data blocks(tile simple or tile first or tile upgrade).
public CreateRegionTileBlocks ( bool bReduceExtrapolate, EncodedTile>.Dictionary tileDict, RFXProgCodecBlockType tileBlockType ) : void
bReduceExtrapolate bool This is used to indicate if DWT uses the "Reduce Extrapolate" method.
tileDict EncodedTile>.Dictionary This is used to indicate the dictionary of tile index and encoded data.
tileBlockType RFXProgCodecBlockType This is used to indicate the tile data block type(simple, first, or upgrade).
Результат void

CreateSyncBlock() публичный Метод

Create sync block if needed
public CreateSyncBlock ( bool bSync ) : void
bSync bool This is used to indicate if sync block needed.
Результат void

Decode() публичный Метод

Decode this PDU from the PduMarshaler.
public Decode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : bool
marshaler Microsoft.Protocols.TestTools.StackSdk.PduMarshaler This is used to decode the fields of this PDU.
Результат bool

Encode() публичный Метод

Encode this PDU to the PduMarshaler.
public Encode ( Microsoft.Protocols.TestTools.StackSdk.PduMarshaler marshaler ) : void
marshaler Microsoft.Protocols.TestTools.StackSdk.PduMarshaler This is used to encode the fields of this PDU.
Результат void

GetFrameIndex() публичный Метод

Get frameIndex of fram_begin_block
public GetFrameIndex ( ) : uint
Результат uint

PackRfxProgCodecDataBlock() публичный Метод

Return a binary array which is encoded by Rfx Progressive Codec without region/tile data.
public PackRfxProgCodecDataBlock ( bool bSync, bool bContext, bool bSubDiff ) : byte[]
bSync bool This is used to indicate if sync block needed.
bContext bool This is used to indicate if context block needed.
bSubDiff bool This is used to indicate if subband_diffing flag is enabled in context block.
Результат byte[]

PackRfxProgCodecDataBlock() публичный Метод

Return a binary array for a tile data which is encoded by Rfx Progressive Codec.
public PackRfxProgCodecDataBlock ( bool bSync, bool bContext, bool bSubDiff, bool bReduceExtrapolate, EncodedTile>.Dictionary tileDict, RFXProgCodecBlockType tileDataType ) : byte[]
bSync bool This is used to indicate if sync block needed.
bContext bool This is used to indicate if context block needed.
bSubDiff bool This is used to indicate if subband_diffing flag is enabled in context block.
bReduceExtrapolate bool This is used to indicate if DWT uses the "Reduce Extrapolate" method.
tileDict EncodedTile>.Dictionary This is used to indicate the dictionary of tile index and encoded data.
tileDataType RFXProgCodecBlockType This is used to indicate the tile data type(simple, first, or upgrade).
Результат byte[]

RFX_PROGRESSIVE_BlockManager() публичный Метод

Constructor
public RFX_PROGRESSIVE_BlockManager ( ) : System
Результат System

ToBytes() публичный Метод

public ToBytes ( ) : byte[]
Результат byte[]

Описание свойств

blkList защищенное свойство

a list of RFX Progressive Data Blocks.
protected List blkList
Результат List

maxblkFrameIndex защищенное свойство

next available frame index of rfx progressive block
protected ushort maxblkFrameIndex
Результат ushort