TDecodeStreamCaps Class Reference

class TDecodeStreamCaps

'Block' streaming extension capabilities.

Constructor & Destructor Documentation

TDecodeStreamCaps()

IMPORT_CTDecodeStreamCaps()

Constructor.

TDecodeStreamCaps(TInt, const TSize &, TInt, TInt, TDecodeStreamCaps::TNavigation)

IMPORT_CTDecodeStreamCaps(TIntaMaxBlocksPerRequest,
const TSize &aMinBlockSizeInPixels,
TIntaOptimalBlocksPerRequest,
TIntaStreamSizeInBlocks,
TDecodeStreamCaps::TNavigationaNavigation
)

Constructor.

Parameters

TInt aMaxBlocksPerRequestMaximum number of blocks that can be returned from the stream to client in a single request.
const TSize & aMinBlockSizeInPixelsMinimum size in pixels of a block returned from the stream to the client in a single request.
TInt aOptimalBlocksPerRequestOptimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit.
TInt aStreamSizeInBlocksNumber of blocks of size MinBlockSizeInPixels() in the stream.
TDecodeStreamCaps::TNavigation aNavigationNavigation capabilities.

Member Functions Documentation

MaxBlocksPerRequest()

IMPORT_C TIntMaxBlocksPerRequest()const

The maximum number of blocks that can be returned from the stream to client in a single request.

MinBlockSizeInPixels()

IMPORT_C const TSize &MinBlockSizeInPixels()const

The Minimum size in pixels of a block returned from the stream to the client in a single request.

Navigation()

IMPORT_C TDecodeStreamCaps::TNavigationNavigation()const

Navigation capabilities.

Full random access to the stream if Navigation() returns ENavigationSequentialForward | ENavigationRandomForward | ENavigationRandomBackwards

OptimalBlocksPerRequest()

IMPORT_C TIntOptimalBlocksPerRequest()const

Optimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit.

Size()

IMPORT_C TUintSize()const

Compatibility - internal use only

StreamSizeInBlocks()

IMPORT_C TIntStreamSizeInBlocks()const

Number of blocks of size MinBlockSizeInPixels() in the stream.

Version()

IMPORT_C TUintVersion()const

Compatibility - internal use only

Member Enumerations Documentation

Enum TNavigation

Navigation possibilities within stream.

Enumerators

ENavigationSequentialForward = 0x01

Blocks are returned from first to last

ENavigationRandomForward = 0x02

Blocks are returned in a random order but moving only from first to last e.g. 1, 5, 18...

ENavigationRandomBackwards = 0x04

Blocks are returned in a random order but moving only from last to first e.g. 18, 5, 1...

ENavigationRandom = 0x08

Blocks are returned randomly e.g. 18, 5, 20, ...

ENavigationSequentialBackwards = 0x10

Blocks are returned from last to first

Member Data Documentation

TInt iMaxBlocksPerRequest

TInt iMaxBlocksPerRequest[private]

TSize iMinBlockSizeInPixels

TSize iMinBlockSizeInPixels[private]

TNavigation iNavigation

TNavigation iNavigation[private]

TInt iOptimalBlocksPerRequest

TInt iOptimalBlocksPerRequest[private]

TInt iReserved

TInt iReserved[private]

TUint iSizeVersion

TUint iSizeVersion[private]

TInt iStreamSizeInBlocks

TInt iStreamSizeInBlocks[private]