20 Dec
2023
20 Dec
'23
9:09 p.m.
On Wed Dec 20 20:55:27 2023 +0000, Nikolay Sivov wrote:
I was using https://learn.microsoft.com/en-us/windows/win32/medfound/recommended-8-bit-y.... It's 1 byte per YUV component, but going as Y0-U0-Y1-V0-... but still 3 bytes per sample. Also since this is used as a stride, I'd expect to get artifacts if it wasn't right. YUY2 is 4:2:2, so chroma is subsampled at one-half the normal rate, i.e. one byte per 2x1 block per channel. Each 4-byte sequence represents exactly 2 pixels.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4724#note_56322