Hub75 color format confusion (8 or 10 bit?)

Hello!

I have a Pimoroni Interstate 75 hooked up to a 64x32 panel. It’s working great and I’m getting the colors I expect from it - no issues there.

I’m using the hub75_legacy API, and its Pixel struct converts 8-bit RGB components to an internal representation with 10 bits per component, using a gamma table. The front and back buffers in the Hub75 class are using this pixel type. However, diving into the PIO code and all I find there is talk about RGB888?! Does the PIO code actually deal with the 10-bit components? Does some other conversion happen from 10 bit down to 8?

I’m hoping that someone can shed some light on this. Again, everything is working fine, so this is more to satisfy my curiosity. My source data is in RGB888, so avoiding a conversion to the 10 bit format would be nice, but not crucial.

thanks!