lib/lowleveldct2x2: simplify DCT formulae

This commit is contained in:
Nigel Tao committed 2026-04-19 11:38:38 +10:00
1 parent 9fae50da1f
commit f4f46bd395
2 files changed
+25 -93

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ func TestRoundTrip(tt *testing.T) {
got := src.ForwardDCT()
want := BlockI16{
-0x0058, -0x0017,
+0x0067, -0x0057,
+0x0068, -0x0057,
}
if got != want {
tt.Fatalf("incorrect DCT\n\n%v\n%v", got, want)