+static inline char canon_lookup_colour(unsigned char r,
+ unsigned char g,
+ unsigned char b) {
+ CanonColourInfoGreens *greens= canoncolourinfo_tree.red2[r];
+ if (!greens) return '?';
+ CanonColourInfoBlues *blues= greens->green2[g];
+ if (!blues) return '?';
+ return blues->blue2[b];
+}
+