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

The RFX_Progressive_REGION block contains the compressed data for a set of tiles from the frame.
Inheritance: RFX_Progressive_DataBlock
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
flags byte
numProgQuant byte
numQuant byte
numRects ushort
numTiles ushort
quantProgVals Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RFX_PROGRESSIVE_CODEC_QUANT[]
quantVals Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_CODEC_QUANT[]
rects Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_RECT[]
tileDataSize uint
tileSize byte

Public Methods

Method Description
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.

RFX_Progressive_REGION ( bool bProg, byte flag, uint tileDSize, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_RECT regionRects, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile tileDataArr ) : System

constructor, create RFX_Progressive_REGION block

Private Methods

Method Description
Convert2Bytes ( object obj ) : byte[]

Method Details

Decode() public method

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.
return bool

Encode() public method

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.
return void

RFX_Progressive_REGION() public method

constructor, create RFX_Progressive_REGION block
public RFX_Progressive_REGION ( bool bProg, byte flag, uint tileDSize, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_RECT regionRects, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile tileDataArr ) : System
bProg bool This is used to indicate if progressive encoding is enabled
flag byte This is used to indicate region flag
tileDSize uint This is used to indicate total size of all tiles encoded data
regionRects Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_RECT This is used to indicate region rectangles that all tiles to fill
tileDataArr Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.EncodedTile This is used to indicate quant data for specific layer
return System

Property Details

flags public property

A 8-bits unsigned integer, specify the region flags.
public byte flags
return byte

numProgQuant public property

A 8-bits unsigned integer, specify the number of RFX_PROGRESSIVE_CODEC_QUANT (section 2.2.5.2.1.5.1) structures in the quantProgVals field.
public byte numProgQuant
return byte

numQuant public property

A 8-bits unsigned integer, specify the number of TS_RFX_CODEC_QUANT structures in the quantVals field.
public byte numQuant
return byte

numRects public property

A 16-bits unsigned integer, specify the number of TS_RFX_RECT structures in the rects field.
public ushort numRects
return ushort

numTiles public property

A 16-bits unsigned integer, specify the number of elements in the tiles field.
public ushort numTiles
return ushort

quantProgVals public property

A variable-length array of RFX_PROGRESSIVE_CODEC_QUANT structures.
public RFX_PROGRESSIVE_CODEC_QUANT[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx quantProgVals
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.RFX_PROGRESSIVE_CODEC_QUANT[]

quantVals public property

A variable-length array of TS_RFX_CODEC_QUANT structures.
public TS_RFX_CODEC_QUANT[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx quantVals
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_CODEC_QUANT[]

rects public property

A variable-length array of TS_RFX_RECT structures, specifies the encoded region.
public TS_RFX_RECT[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx rects
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdprfx.TS_RFX_RECT[]

tileDataSize public property

A 32-bits unsigned integer, specify the size, in bytes, of the tiles field.
public uint tileDataSize
return uint

tileSize public property

A 8-bits unsigned integer, specify the width and height of a square tile. Must be 0x0040.
public byte tileSize
return byte