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
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

보호된 프로퍼티들

프로퍼티 타입 설명
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