mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-17 14:29:48 +02:00
Add SSE2 version of ARGB -> BGR/RGB/... conversion functions
~4-6% faster lossless decoding Change-Id: I3ed1131ff2b2a0217da315fac143cd0d58293361
This commit is contained in:
@ -39,6 +39,14 @@ extern VP8LPredSelectFunc VP8LSelect;
|
||||
extern VP8LSubtractGreenFromBlueAndRedFunc VP8LSubtractGreenFromBlueAndRed;
|
||||
extern VP8LAddGreenToBlueAndRedFunc VP8LAddGreenToBlueAndRed;
|
||||
|
||||
typedef void (*VP8LConvertFunc)(const uint32_t* src, int num_pixels,
|
||||
uint8_t* dst);
|
||||
extern VP8LConvertFunc VP8LConvertBGRAToRGBFunc;
|
||||
extern VP8LConvertFunc VP8LConvertBGRAToRGBAFunc;
|
||||
extern VP8LConvertFunc VP8LConvertBGRAToRGBA4444Func;
|
||||
extern VP8LConvertFunc VP8LConvertBGRAToRGB565Func;
|
||||
extern VP8LConvertFunc VP8LConvertBGRAToBGRFunc;
|
||||
|
||||
// Must be called before calling any of the above methods.
|
||||
void VP8LDspInit(void);
|
||||
|
||||
|
Reference in New Issue
Block a user