#include <icl/imageconversionextension.h>
class TDecodeStreamCaps |
Public Member Enumerations | |
---|---|
enum | TNavigation { ENavigationSequentialForward, ENavigationRandomForward, ENavigationRandomBackwards, ENavigationRandom, ENavigationSequentialBackwards } |
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() |
'Block' streaming extension capabilities.
Navigation possibilities within stream.
IMPORT_C | TDecodeStreamCaps | ( | TInt | aMaxBlocksPerRequest, |
const TSize & | aMinBlockSizeInPixels, | |||
TInt | aOptimalBlocksPerRequest, | |||
TInt | aStreamSizeInBlocks, | |||
TDecodeStreamCaps::TNavigation | aNavigation | |||
) |
Constructor.
Parameter | Description |
---|---|
aMaxBlocksPerRequest | Maximum number of blocks that can be returned from the stream to client in a single request. |
aMinBlockSizeInPixels | Minimum size in pixels of a block returned from the stream to the client in a single request. |
aOptimalBlocksPerRequest | Optimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit. |
aStreamSizeInBlocks | Number of blocks of size MinBlockSizeInPixels() in the stream. |
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.
Returns: 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.
Returns: Minimum size in pixels of a block returned from the stream to the client in a single request. Sequence numbers and StreamSizeInBlocks() refer to this size of block.
IMPORT_C TDecodeStreamCaps::TNavigation | Navigation | ( | ) | const |
Navigation capabilities.
Full random access to the stream if Navigation() returns ENavigationSequentialForward | ENavigationRandomForward | ENavigationRandomBackwards
Returns: Navigation capabilities.
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.
Returns: Optimum number of blocks returned from the stream to the client in a single request to get maximum performance benefit. This can be used to determine the optimum value of the number of blocks of min block size per request.
IMPORT_C TInt | StreamSizeInBlocks | ( | ) | const |
Number of blocks of size MinBlockSizeInPixels() in the stream.
Returns: Number of blocks of size MinBlockSizeInPixels() in the stream.