2016-05-29, 23:34
(2016-05-29, 23:28)xxxbugxxxx Wrote: probably packed padding.
ARGB2101010 = SDL2.define_pixelformat(PIXELTYPE:ACKED32, PACKEDORDER::ARGB, PACKEDLAYOUT::N2101010, 32, 4)
Good blog post here on the challenges that 10 bit video can introduce with regard to byte-alignment. 8-bit video aligns nicely with bytes, 10 bit video can be done lots of different ways, some require more shuffling than others, and code optimisation can give big dividends : http://obe.tv/about-us/obe-blog/item/21-...onversions
Sounds like the ARGB2101010 is possibly v210?