mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
Build wasm
This commit is contained in:
@@ -17,10 +17,7 @@ inline void gammaLookupTable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Turns an interleaved RGBA buffer into 4 planes for each color channel
|
// Turns an interleaved RGBA buffer into 4 planes for each color channel
|
||||||
void planarize(std::vector<ImageF>& img,
|
void planarize(std::vector<ImageF>& img, const uint8_t* rgba, int width, int height) {
|
||||||
const uint8_t* rgba,
|
|
||||||
int width,
|
|
||||||
int height) {
|
|
||||||
assert(img.size() == 0);
|
assert(img.size() == 0);
|
||||||
img.push_back(ImageF(width, height));
|
img.push_back(ImageF(width, height));
|
||||||
img.push_back(ImageF(width, height));
|
img.push_back(ImageF(width, height));
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user