Type


Structure


Description


The following structure is used by the callback mechanism, to provide information about a compressed image that was returned via the callback. Note that this structure is only needed for CALLBACK_COMPRESSED_FRAME type callbacks.


typedef struct _COMPRESSION_INFO_PIXELINK10
{
     U32   compressionStrategy;        /* Must be set to FEATURE_COMPRESSION_STRATEGY_PIXELINK10 */
     U8    compressionDesc[PIXELINK10_COMPRESSION_DESC_SIZE];
} COMPRESSION_INFO_PIXELINK10, *PCOMPRESSION_INFO_PIXELINK10;


Value
Description

compressionStrategy

An integer (U32) defining the compression strategy for which the callback was applied. Currently, the only supported compression strategy is FEATURE_COMPRESSION_STRATEGY_PIXELINK10. This field must be set prior to calling PxLSetCallback, so that the Pixelink API knows which compression strategy to which this callback is to be used (compression strategies are tied to PixelFormats).

compressionDesc

A (U8) data buffer used by the callback mechanism, to provide the compression descriptor for the frame. This compression descriptor will be required to decompress the frame (via PxLDecompressFrame).


Usage


PxLSetCallback