colorSpaceInverseTransform method
Implementation
void colorSpaceInverseTransform(
int yStart, int yEnd, Uint32List outData, int data) {
final width = xsize;
final mask = (1 << bits) - 1;
final tilesPerRow = InternalVP8L.subSampleSize(width, bits);
var y = yStart;
var predRow = (y >> bits) * tilesPerRow; //this.data +
while (y < yEnd) {
var pred = predRow; // this.data+
final m = _VP8LMultipliers();
for (var x = 0; x < width; ++x) {
if ((x & mask) == 0) {
m.colorCode = this.data![pred++];
}
outData[data + x] = m.transformColor(outData[data + x], true);
}
data += width;
++y;
if ((y & mask) == 0) {
predRow += tilesPerRow;
}
}
}