@pavel It looks off - I'm afraid this is effectively an upscaled 524x778 stream. Your yuyv function throws half of the horizontal resolution away by duplicating the pixels' luminosity (and that's in addition to regular chroma subsampling that will happen there, which wouldn't be as noticeable on its own).