Hi Tomi, On Fri, Dec 2, 2022 at 4:32 PM Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx> wrote: > On 02/12/2022 15:16, Tomi Valkeinen wrote: > > These kms++ patches add support for Y210 format. > > > > I didn't find a super clear description of the byte order for Y210 > > anywhere. If someone knows what it is supposed to be, I'd appreciate > > verifying the code =). > > Actually, this: > > https://learn.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats#overview > > indicates that the 10-bit values should be shifted by 6. So the drawing > code in this series is probably not right. https://elixir.bootlin.com/linux/latest/source/include/uapi/drm/drm_fourcc.h#L212 seems to confirm that? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds