mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
lib/lowleveldct2x2: simplify DCT formulae
This commit is contained in:
1 parent
9fae50da1f
commit
f4f46bd395
2 files changed
+25
-93
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user