class TDecodeStreamCaps |
'Block' streaming extension capabilities.
Public Member Functions | |
---|---|
TDecodeStreamCaps () | |
TDecodeStreamCaps ( TInt , const TSize &, TInt , TInt , TDecodeStreamCaps::TNavigation ) | |
IMPORT_C TInt | MaxBlocksPerRequest () |
IMPORT_C const TSize & | MinBlockSizeInPixels () |
IMPORT_C TDecodeStreamCaps::TNavigation | Navigation () |
IMPORT_C TInt | OptimalBlocksPerRequest () |
IMPORT_C TUint | Size () |
IMPORT_C TInt | StreamSizeInBlocks () |
IMPORT_C TUint | Version () |
Public Member Enumerations | |
---|---|
enum | TNavigation { ENavigationSequentialForward = 0x01, ENavigationRandomForward = 0x02, ENavigationRandomBackwards = 0x04, ENavigationRandom = 0x08, ENavigationSequentialBackwards = 0x10 } |
Private Attributes | |
---|---|
TInt | iMaxBlocksPerRequest |
TSize | iMinBlockSizeInPixels |
TNavigation | iNavigation |
TInt | iOptimalBlocksPerRequest |
TInt | iReserved |
TUint | iSizeVersion |
TInt | iStreamSizeInBlocks |
IMPORT_C | TDecodeStreamCaps | ( | TInt | aMaxBlocksPerRequest, |
const TSize & | aMinBlockSizeInPixels, | |||
TInt | aOptimalBlocksPerRequest, | |||
TInt | aStreamSizeInBlocks, | |||
TDecodeStreamCaps::TNavigation | aNavigation | |||
) |
Constructor.
TInt aMaxBlocksPerRequest | Maximum number of blocks that can be returned from the stream to client in a single request. |
const TSize & aMinBlockSizeInPixels | Minimum size in pixels of a block returned from the stream to the client in a single request. |
TInt aOptimalBlocksPerRequest | Optimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit. |
TInt aStreamSizeInBlocks | Number of blocks of size MinBlockSizeInPixels() in the stream. |
TDecodeStreamCaps::TNavigation aNavigation | Navigation capabilities. |
IMPORT_C TInt | MaxBlocksPerRequest | ( | ) | const |
The maximum number of blocks that can be returned from the stream to client in a single request.
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.
IMPORT_C TDecodeStreamCaps::TNavigation | Navigation | ( | ) | const |
Navigation capabilities.
Full random access to the stream if Navigation() returns ENavigationSequentialForward | ENavigationRandomForward | ENavigationRandomBackwards
IMPORT_C TInt | OptimalBlocksPerRequest | ( | ) | const |
Optimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit.
IMPORT_C TInt | StreamSizeInBlocks | ( | ) | const |
Number of blocks of size MinBlockSizeInPixels() in the stream.
Navigation possibilities within stream.
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 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.