mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibGfx/JPEGWriter: Don't throw away highest-frequency component in FDCT
This commit is contained in:
parent
83d2f59e2a
commit
c3c7707de4
1 changed files with 2 additions and 2 deletions
|
@ -169,9 +169,9 @@ public:
|
|||
return sum;
|
||||
};
|
||||
|
||||
for (u8 u {}; u < 7; ++u) {
|
||||
for (u8 u {}; u < 8; ++u) {
|
||||
double const cu = u == 0 ? inverse_sqrt_2 : 1;
|
||||
for (u8 v {}; v < 7; ++v) {
|
||||
for (u8 v {}; v < 8; ++v) {
|
||||
auto const table_index = u * 8 + v;
|
||||
|
||||
double const cv = v == 0 ? inverse_sqrt_2 : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue