mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Compare commits
2 Commits
78ed683978
...
dfdcb7f95c
Author | SHA1 | Date | |
---|---|---|---|
|
dfdcb7f95c | ||
|
d516a68e54 |
@ -128,13 +128,16 @@ void VP8LTransformColorInverse_C(const VP8LMultipliers* const m,
|
|||||||
const uint32_t* src, int num_pixels,
|
const uint32_t* src, int num_pixels,
|
||||||
uint32_t* dst);
|
uint32_t* dst);
|
||||||
|
|
||||||
void VP8LConvertBGRAToRGB_C(const uint32_t* src, int num_pixels, uint8_t* dst);
|
void VP8LConvertBGRAToRGB_C(const uint32_t* WEBP_RESTRICT src, int num_pixels,
|
||||||
void VP8LConvertBGRAToRGBA_C(const uint32_t* src, int num_pixels, uint8_t* dst);
|
uint8_t* WEBP_RESTRICT dst);
|
||||||
void VP8LConvertBGRAToRGBA4444_C(const uint32_t* src,
|
void VP8LConvertBGRAToRGBA_C(const uint32_t* WEBP_RESTRICT src, int num_pixels,
|
||||||
int num_pixels, uint8_t* dst);
|
uint8_t* WEBP_RESTRICT dst);
|
||||||
void VP8LConvertBGRAToRGB565_C(const uint32_t* src,
|
void VP8LConvertBGRAToRGBA4444_C(const uint32_t* WEBP_RESTRICT src,
|
||||||
int num_pixels, uint8_t* dst);
|
int num_pixels, uint8_t* WEBP_RESTRICT dst);
|
||||||
void VP8LConvertBGRAToBGR_C(const uint32_t* src, int num_pixels, uint8_t* dst);
|
void VP8LConvertBGRAToRGB565_C(const uint32_t* WEBP_RESTRICT src,
|
||||||
|
int num_pixels, uint8_t* WEBP_RESTRICT dst);
|
||||||
|
void VP8LConvertBGRAToBGR_C(const uint32_t* WEBP_RESTRICT src, int num_pixels,
|
||||||
|
uint8_t* WEBP_RESTRICT dst);
|
||||||
void VP8LAddGreenToBlueAndRed_C(const uint32_t* src, int num_pixels,
|
void VP8LAddGreenToBlueAndRed_C(const uint32_t* src, int num_pixels,
|
||||||
uint32_t* dst);
|
uint32_t* dst);
|
||||||
|
|
||||||
@ -165,8 +168,7 @@ extern VP8LCollectColorRedTransformsFunc VP8LCollectColorRedTransforms;
|
|||||||
// Expose some C-only fallback functions
|
// Expose some C-only fallback functions
|
||||||
void VP8LTransformColor_C(const VP8LMultipliers* WEBP_RESTRICT const m,
|
void VP8LTransformColor_C(const VP8LMultipliers* WEBP_RESTRICT const m,
|
||||||
uint32_t* WEBP_RESTRICT data, int num_pixels);
|
uint32_t* WEBP_RESTRICT data, int num_pixels);
|
||||||
void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* WEBP_RESTRICT argb_data,
|
void VP8LSubtractGreenFromBlueAndRed_C(uint32_t* argb_data, int num_pixels);
|
||||||
int num_pixels);
|
|
||||||
void VP8LCollectColorRedTransforms_C(const uint32_t* WEBP_RESTRICT argb,
|
void VP8LCollectColorRedTransforms_C(const uint32_t* WEBP_RESTRICT argb,
|
||||||
int stride,
|
int stride,
|
||||||
int tile_width, int tile_height,
|
int tile_width, int tile_height,
|
||||||
@ -227,8 +229,8 @@ typedef void (*VP8LGetEntropyUnrefinedFunc)(
|
|||||||
VP8LStreaks* WEBP_RESTRICT const stats);
|
VP8LStreaks* WEBP_RESTRICT const stats);
|
||||||
extern VP8LGetEntropyUnrefinedFunc VP8LGetEntropyUnrefined;
|
extern VP8LGetEntropyUnrefinedFunc VP8LGetEntropyUnrefined;
|
||||||
|
|
||||||
void VP8LBitsEntropyUnrefined(const uint32_t* const array, int n,
|
void VP8LBitsEntropyUnrefined(const uint32_t* WEBP_RESTRICT const array, int n,
|
||||||
VP8LBitEntropy* const entropy);
|
VP8LBitEntropy* WEBP_RESTRICT const entropy);
|
||||||
|
|
||||||
typedef void (*VP8LAddVectorFunc)(const uint32_t* WEBP_RESTRICT a,
|
typedef void (*VP8LAddVectorFunc)(const uint32_t* WEBP_RESTRICT a,
|
||||||
const uint32_t* WEBP_RESTRICT b,
|
const uint32_t* WEBP_RESTRICT b,
|
||||||
|
Loading…
Reference in New Issue
Block a user