Change #273436
| Category | ffmpeg |
| Changed by | Michael Niedermayer <michael@niedermayer.cc> |
| Changed at | Wed 01 Jul 2026 03:48:33 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 48f30aa08c473fb034f0a43313ad566a1ea7a3ed |
Comments
checkasm/sw_rgb: also test yuyvtoyuv422 yuyvtoyuv422 reads the trailing odd V sample at src[2w+1], one byte further than uyvytoyuv422, so the number of extra source bytes an odd width needs is passed in per format (1 for UYVY, 2 for YUYV) and added to the stride. uyvytoyuv420 and yuyvtoyuv420 are intentionally not added: their x86 mmxext chroma averaging uses PAVGB rounding and so is not bit-exact with the C reference, which truncates, so they cannot be verified this way. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Changed files
- tests/checkasm/sw_rgb.c