summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-27 21:16:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-06-30 14:15:20 -0400
commit85fc3fbc8a7b906b03c572123047cd31987380d8 (patch)
tree5166a82dd629f192f3d74f0507e1ebd191c240a9 /backend_mitsu9550.c
parentf44ff8cd4dade0ee40bc30c29a765958072f2cf2 (diff)
downloadselphy_print-85fc3fbc8a7b906b03c572123047cd31987380d8.tar.gz
selphy_print-85fc3fbc8a7b906b03c572123047cd31987380d8.tar.bz2
selphy_print-85fc3fbc8a7b906b03c572123047cd31987380d8.zip
mitsu9550: More documentation of the WMAM data structure.
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 60fbb02..3f2b517 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -135,15 +135,19 @@ struct mitsu98xx_data {
double unkb[256]; // @2048
uint32_t unkc[10]; // @4096
double unkd[256]; // @4136
- double unke[256]; // @6184
+ double unke[256]; // @6184 // *= sharp->coef[X]
uint32_t unkf[10]; // @8232
- double unkg[256]; // @10320
- // @12368
+ double unkg[256]; // @8272
+ // @10320
} WMAM; // @3620
- uint8_t unc_d[4]; // @13940
- uint8_t sharp[104]; // @13944
- uint8_t unk_e[20]; // @14048
- // @14068
+ uint8_t unc_d[4]; // @13940 @10320 (from wmam start)
+ struct {
+ uint32_t unk_a; // @13944/10324 (padding?)
+ double coef[10]; // @13948/10328 (sharpness coefficients, level 0-9)
+ uint32_t unk_b[5]; // @14028/10408
+ } sharp; // total 104, @13944/10324
+ uint8_t unk_e[20]; // @14048/10428
+ // @14068/10448
} __attribute__((packed));
struct mitsu98xx_tables {