simplify the PackARGB signature

Change-Id: I51570e362126b2681f93211a4f59a3fedb5fd4b5
This commit is contained in:
Pascal Massimino
2015-01-01 12:13:45 -08:00
parent 4e2589ff81
commit 72d573f693
4 changed files with 12 additions and 10 deletions

View File

@ -337,10 +337,11 @@ void WebPMultARGBRowC(uint32_t* const ptr, int width, int inverse);
// To be called first before using the above.
WEBP_TSAN_IGNORE_FUNCTION void WebPInitAlphaProcessing(void);
// ARGB making functions.
// ARGB packing function: a/r/g/b input is rgba or bgra order.
extern void (*VP8PackARGB)(const uint8_t* a, const uint8_t* r,
const uint8_t* g, const uint8_t* b, int len,
int step, uint32_t* out);
uint32_t* out);
// RGB packing function. 'step' can be 3 or 4. r/g/b input is rgb or bgr order.
extern void (*VP8PackRGB)(const uint8_t* r, const uint8_t* g, const uint8_t* b,
int len, int step, uint32_t* out);