C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RFX_PROGRESSIVE_BlockManager

The RFX_PROGRESSIVE_BlockManager is responsible for the construct blocks into byte array
Inheritance: Microsoft.Protocols.TestTools.StackSdk.BasePDU
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Protected Properties

Свойство Type Description
blkList List
maxblkFrameIndex ushort

Méthodes publiques

Méthode Description
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[]

Method Details

BuildRegionBlock() public méthode

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).
Résultat RFX_Progressive_REGION

BuildTileDataBlock() public méthode

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).
Résultat RFX_Progressive_DataBlock

CreateBeginBlocks() public méthode

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.
Résultat void

CreateContextBlock() public méthode

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.
Résultat void

CreateFrameBeginBlock() public méthode

Create frame_begin block
public CreateFrameBeginBlock ( ushort regionNum ) : void
regionNum ushort This is used to indicate the number of region block followed.
Résultat void

CreateFrameEndBlock() public méthode

Create frame_end block.
public CreateFrameEndBlock ( ) : void
Résultat void

CreateRegionTileBlocks() public méthode

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).
Résultat void

CreateSyncBlock() public méthode

Create sync block if needed
public CreateSyncBlock ( bool bSync ) : void
bSync bool This is used to indicate if sync block needed.
Résultat void

Decode() public méthode

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.
Résultat bool

Encode() public méthode

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.
Résultat void

GetFrameIndex() public méthode

Get frameIndex of fram_begin_block
public GetFrameIndex ( ) : uint
Résultat uint

PackRfxProgCodecDataBlock() public méthode

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.
Résultat byte[]

PackRfxProgCodecDataBlock() public méthode

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).
Résultat byte[]

RFX_PROGRESSIVE_BlockManager() public méthode

Constructor
public RFX_PROGRESSIVE_BlockManager ( ) : System
Résultat System

ToBytes() public méthode

public ToBytes ( ) : byte[]
Résultat byte[]

Property Details

blkList protected_oe property

a list of RFX Progressive Data Blocks.
protected List blkList
Résultat List

maxblkFrameIndex protected_oe property

next available frame index of rfx progressive block
protected ushort maxblkFrameIndex
Résultat ushort