Source surface (taken from DXVA) is 192x240 in P010 fourcc, destination surface is Backbuffer ARGB (1920x1080)
d3d_device->StretchRect(surface, NULL, back_surface, NULL, D3DTEXF_NONE);
Output picture has the same resolution but first two pixels’ columns are the same. So the problem is low quality (PSNR/SSIM).
D3D11 works fine, there is no StretchRect.