Skip to content

Commit

Permalink
HFMetadata: populate full HFMult
Browse files Browse the repository at this point in the history
  • Loading branch information
Traneptora committed Sep 7, 2024
1 parent c0e220e commit 6a06c60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions java/com/traneptora/jxlatte/frame/vardct/HFMetadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ private Point placeBlock(Point lastBlock, TransformType block, int mul) throws I
}
}
Point pos = new Point(y, x);
hfMultiplier[y][x] = mul;
for (int iy = 0; iy < block.dctSelectHeight; iy++)
for (int iy = 0; iy < block.dctSelectHeight; iy++) {
Arrays.fill(dctSelect[y + iy], x, x + block.dctSelectWidth, block);
Arrays.fill(hfMultiplier[y + iy], x, x + block.dctSelectWidth, mul);
}
return pos;
}
}
Expand Down

0 comments on commit 6a06c60

Please sign in to comment.