53 #ifndef LE_IMAGEDECODER_RAW_H    54 #define LE_IMAGEDECODER_RAW_H    58 #if LE_ENABLE_RAW_DECODER == 1    62 #define LE_IMAGEDECODER_RAW_MAX_STAGES 16    63 #define LE_IMAGEDECODER_BLOCK_READ_SIZE 4    65 #if LE_STREAMING_ENABLED == 1    68 extern uint8_t leRawImageDecoderScratchBuffer[LE_ASSET_DECODER_PIXEL_CACHE_SIZE];
    70 extern uint8_t leRawImageDecoderMaskScratchBuffer[LE_ASSET_DECODER_MASK_CACHE_SIZE];
    72 extern uint8_t leRawImageDecoderPaletteScratchBuffer[LE_ASSET_DECODER_PALETTE_CACHE_SIZE];
    74 extern uint8_t leRawImageDecoderBlendBuffer[LE_ASSET_DECODER_BLEND_CACHE_SIZE];
    91     LE_RAW_MODE_RESIZEDRAW,
    94     LE_RAW_MODE_ROTATEDRAW
    97 struct leRawDecodeState;
   111 typedef struct leRawDecodeStage
   113     struct leRawDecodeState* state;
   115     leResult (*exec)(
struct leRawDecodeStage* stage);
   116     void (*cleanup)(
struct leRawDecodeStage* stage);
   119 typedef struct leRawSourceReadOperation
   123     uint32_t bufferIndex;
   125 } leRawSourceReadOperation;
   134 typedef struct leRawDecodeState
   136 #if LE_STREAMING_ENABLED == 1   137     leStreamManager manager; 
   144     enum leRawDecoderMode mode; 
   165     uint32_t rowIterator; 
   166     uint32_t colIterator; 
   168     leRawSourceReadOperation readOperation[LE_IMAGEDECODER_BLOCK_READ_SIZE]; 
   174     uint32_t globalAlpha; 
   181     leBool needToLookupMaskColor;
   183     leRawDecodeStage* stages[LE_IMAGEDECODER_RAW_MAX_STAGES];
   184     int32_t currentStage;
 Image functions and defintions. 
Definition: legato_image.h:181
leResult
This enum represents function call results. 
Definition: legato_common.h:123
This struct represents a rectangle. 
Definition: legato_common.h:394
Pixel Buffer functions and definitions. 
leImageFilterMode
This enum represents image filter modes. 
Definition: legato_image.h:110
This structure represents a integer Cartesian point. 
Definition: legato_common.h:346
Definition: legato_pixelbuffer.h:90
leColorMode
This enum represents the supported RGB color formats. 
Definition: legato_color.h:148
leBool
This enum represents booleans. 
Definition: legato_common.h:146