#include <icl/imageconversionextension.h>
| class TEncodeStreamCaps | 
| Public Member Enumerations | |
|---|---|
| enum | TNavigation { ENavigationSequentialForward, ENavigationRandomForward, ENavigationRandomBackwards } | 
| Public Member Functions | |
|---|---|
| TEncodeStreamCaps() | |
| TEncodeStreamCaps(TInt, const TSize &, TInt, TEncodeStreamCaps::TNavigation) | |
| IMPORT_C TInt | MaxBlocksPerRequest() | 
| IMPORT_C const TSize & | MinBlockSizeInPixels() | 
| IMPORT_C TEncodeStreamCaps::TNavigation | Navigation() | 
| IMPORT_C TInt | OptimalBlocksPerRequest() | 
| IMPORT_C TUint | Size() | 
| IMPORT_C TUint | Version() | 
'Block' streaming extension for Image Conversion Library encoder. 'Block' streaming extension for Image Conversion Library encoder.
Navigation possibilities within the stream.
| Enumerator | Value | Description | 
|---|---|---|
| ENavigationSequentialForward | 0x01 | Blocks can be returned from first to last | 
| ENavigationRandomForward | 0x02 | Blocks can be returned in a random order but moving only from first to last e.g. 1, 5, 18... | 
| ENavigationRandomBackwards | 0x04 | Blocks can be returned in a random order but moving only from last to first e.g. 1, 5, 18... | 
| IMPORT_C | TEncodeStreamCaps | ( | TInt | aMaxBlocksPerRequest, | 
| const TSize & | aMinBlockSizeInPixels, | |||
| TInt | aOptimalBlocksPerRequest, | |||
| TEncodeStreamCaps::TNavigation | aNavigation | |||
| ) | ||||
Constructor.
| Parameters | |
|---|---|
| aMaxBlocksPerRequest | Maximum number of blocks that can be sent from the stream to client in a single request. | 
| aMinBlockSizeInPixels | Minimum size in pixels of a block sent to the stream from the client in a single request. | 
| aOptimalBlocksPerRequest | Optimum number of blocks sent to the stream from the client in a single request to get maximum performance benefit. | 
| aNavigation | Navigation capabilities. | 
| IMPORT_C TInt | MaxBlocksPerRequest | ( | ) | const | 
Maximum number of blocks that can be sent from the stream to client in a single request.
| IMPORT_C const TSize & | MinBlockSizeInPixels | ( | ) | const | 
Minimum size in pixels of a block sent to the stream from the client in a single request.
| IMPORT_C TEncodeStreamCaps::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 sent to the stream from the client in a single request to get maximum performance benefit.