[FFmpeg-cvslog] fate/pixfmts: extend the high bit depth test

James Almer git at videolan.org
Thu Nov 7 03:19:58 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Nov  2 20:06:24 2024 -0300| [271aea60a4cd211d92923c53b72cd074c3030897] | committer: James Almer

fate/pixfmts: extend the high bit depth test

Also test 8bit formats, and try bitdepth conversion paths.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=271aea60a4cd211d92923c53b72cd074c3030897
---

 libswscale/utils.c                     |   2 +-
 tests/fate-run.sh                      |  10 +--
 tests/fate/pixfmt.mak                  | 111 ++++++++++++++++++---------------
 tests/ref/pixfmt/gbrp-bgr24            |   2 +
 tests/ref/pixfmt/gbrp-gbrp10be         |   2 +
 tests/ref/pixfmt/gbrp-gbrp10le         |   2 +
 tests/ref/pixfmt/gbrp-gbrp12be         |   2 +
 tests/ref/pixfmt/gbrp-gbrp12le         |   2 +
 tests/ref/pixfmt/gbrp-gbrp16be         |   2 +
 tests/ref/pixfmt/gbrp-gbrp16le         |   2 +
 tests/ref/pixfmt/gbrp-gray             |   2 +
 tests/ref/pixfmt/gbrp-gray10be         |   2 +
 tests/ref/pixfmt/gbrp-gray10le         |   2 +
 tests/ref/pixfmt/gbrp-gray12be         |   2 +
 tests/ref/pixfmt/gbrp-gray12le         |   2 +
 tests/ref/pixfmt/gbrp-gray16be         |   2 +
 tests/ref/pixfmt/gbrp-gray16le         |   2 +
 tests/ref/pixfmt/gbrp-monob            |   2 +
 tests/ref/pixfmt/gbrp-monow            |   2 +
 tests/ref/pixfmt/gbrp-nv12             |   2 +
 tests/ref/pixfmt/gbrp-nv16             |   2 +
 tests/ref/pixfmt/gbrp-nv24             |   2 +
 tests/ref/pixfmt/gbrp-p010be           |   2 +
 tests/ref/pixfmt/gbrp-p010le           |   2 +
 tests/ref/pixfmt/gbrp-p012be           |   2 +
 tests/ref/pixfmt/gbrp-p012le           |   2 +
 tests/ref/pixfmt/gbrp-p016be           |   2 +
 tests/ref/pixfmt/gbrp-p016le           |   2 +
 tests/ref/pixfmt/gbrp-p210be           |   2 +
 tests/ref/pixfmt/gbrp-p210le           |   2 +
 tests/ref/pixfmt/gbrp-p212be           |   2 +
 tests/ref/pixfmt/gbrp-p212le           |   2 +
 tests/ref/pixfmt/gbrp-p216be           |   2 +
 tests/ref/pixfmt/gbrp-p216le           |   2 +
 tests/ref/pixfmt/gbrp-p410be           |   2 +
 tests/ref/pixfmt/gbrp-p410le           |   2 +
 tests/ref/pixfmt/gbrp-p412be           |   2 +
 tests/ref/pixfmt/gbrp-p412le           |   2 +
 tests/ref/pixfmt/gbrp-p416be           |   2 +
 tests/ref/pixfmt/gbrp-p416le           |   2 +
 tests/ref/pixfmt/gbrp-rgb24            |   2 +
 tests/ref/pixfmt/gbrp-rgb32            |   2 +
 tests/ref/pixfmt/gbrp-rgb48            |   2 +
 tests/ref/pixfmt/gbrp-rgb555           |   2 +
 tests/ref/pixfmt/gbrp-rgb565           |   2 +
 tests/ref/pixfmt/gbrp-uyvy422          |   2 +
 tests/ref/pixfmt/gbrp-v30xle           |   2 +
 tests/ref/pixfmt/gbrp-vuyx             |   2 +
 tests/ref/pixfmt/gbrp-vyu444           |   2 +
 tests/ref/pixfmt/gbrp-x2bgr10le        |   2 +
 tests/ref/pixfmt/gbrp-x2rgb10le        |   2 +
 tests/ref/pixfmt/gbrp-xv30le           |   2 +
 tests/ref/pixfmt/gbrp-xv36be           |   2 +
 tests/ref/pixfmt/gbrp-xv36le           |   2 +
 tests/ref/pixfmt/gbrp-xv48be           |   2 +
 tests/ref/pixfmt/gbrp-xv48le           |   2 +
 tests/ref/pixfmt/gbrp-xyz12le          |   2 +
 tests/ref/pixfmt/gbrp-y210le           |   2 +
 tests/ref/pixfmt/gbrp-y212le           |   2 +
 tests/ref/pixfmt/gbrp-y216le           |   2 +
 tests/ref/pixfmt/gbrp-yuv410p          |   2 +
 tests/ref/pixfmt/gbrp-yuv411p          |   2 +
 tests/ref/pixfmt/gbrp-yuv420p          |   2 +
 tests/ref/pixfmt/gbrp-yuv420p10be      |   2 +
 tests/ref/pixfmt/gbrp-yuv420p10le      |   2 +
 tests/ref/pixfmt/gbrp-yuv420p12be      |   2 +
 tests/ref/pixfmt/gbrp-yuv420p12le      |   2 +
 tests/ref/pixfmt/gbrp-yuv420p16be      |   2 +
 tests/ref/pixfmt/gbrp-yuv420p16le      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p          |   2 +
 tests/ref/pixfmt/gbrp-yuv422p10be      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p10le      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p12be      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p12le      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p16be      |   2 +
 tests/ref/pixfmt/gbrp-yuv422p16le      |   2 +
 tests/ref/pixfmt/gbrp-yuv440p          |   2 +
 tests/ref/pixfmt/gbrp-yuv440p10be      |   2 +
 tests/ref/pixfmt/gbrp-yuv440p10le      |   2 +
 tests/ref/pixfmt/gbrp-yuv440p12be      |   2 +
 tests/ref/pixfmt/gbrp-yuv440p12le      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p          |   2 +
 tests/ref/pixfmt/gbrp-yuv444p10be      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p10le      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p12be      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p12le      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p16be      |   2 +
 tests/ref/pixfmt/gbrp-yuv444p16le      |   2 +
 tests/ref/pixfmt/gbrp-yuvj420p         |   2 +
 tests/ref/pixfmt/gbrp-yuvj422p         |   2 +
 tests/ref/pixfmt/gbrp-yuvj440p         |   2 +
 tests/ref/pixfmt/gbrp-yuvj444p         |   2 +
 tests/ref/pixfmt/gbrp-yuyv422          |   2 +
 tests/ref/pixfmt/gbrp-yvyu422          |   2 +
 tests/ref/pixfmt/gbrp10-bgr24          |   2 +
 tests/ref/pixfmt/gbrp10-gbrp12be       |   2 +
 tests/ref/pixfmt/gbrp10-gbrp12le       |   2 +
 tests/ref/pixfmt/gbrp10-gbrp16be       |   2 +
 tests/ref/pixfmt/gbrp10-gbrp16le       |   2 +
 tests/ref/pixfmt/gbrp10-gray           |   2 +
 tests/ref/pixfmt/gbrp10-gray12be       |   2 +
 tests/ref/pixfmt/gbrp10-gray12le       |   2 +
 tests/ref/pixfmt/gbrp10-gray16be       |   2 +
 tests/ref/pixfmt/gbrp10-gray16le       |   2 +
 tests/ref/pixfmt/gbrp10-monob          |   2 +
 tests/ref/pixfmt/gbrp10-monow          |   2 +
 tests/ref/pixfmt/gbrp10-nv12           |   2 +
 tests/ref/pixfmt/gbrp10-nv16           |   2 +
 tests/ref/pixfmt/gbrp10-nv24           |   2 +
 tests/ref/pixfmt/gbrp10-p012be         |   2 +
 tests/ref/pixfmt/gbrp10-p012le         |   2 +
 tests/ref/pixfmt/gbrp10-p016be         |   2 +
 tests/ref/pixfmt/gbrp10-p016le         |   2 +
 tests/ref/pixfmt/gbrp10-p212be         |   2 +
 tests/ref/pixfmt/gbrp10-p212le         |   2 +
 tests/ref/pixfmt/gbrp10-p216be         |   2 +
 tests/ref/pixfmt/gbrp10-p216le         |   2 +
 tests/ref/pixfmt/gbrp10-p412be         |   2 +
 tests/ref/pixfmt/gbrp10-p412le         |   2 +
 tests/ref/pixfmt/gbrp10-p416be         |   2 +
 tests/ref/pixfmt/gbrp10-p416le         |   2 +
 tests/ref/pixfmt/gbrp10-rgb24          |   2 +
 tests/ref/pixfmt/gbrp10-rgb32          |   2 +
 tests/ref/pixfmt/gbrp10-rgb48          |   2 +
 tests/ref/pixfmt/gbrp10-rgb555         |   2 +
 tests/ref/pixfmt/gbrp10-rgb565         |   2 +
 tests/ref/pixfmt/gbrp10-uyvy422        |   2 +
 tests/ref/pixfmt/gbrp10-vuyx           |   2 +
 tests/ref/pixfmt/gbrp10-vyu444         |   2 +
 tests/ref/pixfmt/gbrp10-xv36be         |   2 +
 tests/ref/pixfmt/gbrp10-xv36le         |   2 +
 tests/ref/pixfmt/gbrp10-xv48be         |   2 +
 tests/ref/pixfmt/gbrp10-xv48le         |   2 +
 tests/ref/pixfmt/gbrp10-xyz12le        |   2 +
 tests/ref/pixfmt/gbrp10-y212le         |   2 +
 tests/ref/pixfmt/gbrp10-y216le         |   2 +
 tests/ref/pixfmt/gbrp10-yuv410p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv411p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv420p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv420p12be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv420p12le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv420p16be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv420p16le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv422p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv422p12be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv422p12le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv422p16be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv422p16le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv440p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv440p12be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv440p12le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv444p        |   2 +
 tests/ref/pixfmt/gbrp10-yuv444p12be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv444p12le    |   2 +
 tests/ref/pixfmt/gbrp10-yuv444p16be    |   2 +
 tests/ref/pixfmt/gbrp10-yuv444p16le    |   2 +
 tests/ref/pixfmt/gbrp10-yuvj420p       |   2 +
 tests/ref/pixfmt/gbrp10-yuvj422p       |   2 +
 tests/ref/pixfmt/gbrp10-yuvj440p       |   2 +
 tests/ref/pixfmt/gbrp10-yuvj444p       |   2 +
 tests/ref/pixfmt/gbrp10-yuyv422        |   2 +
 tests/ref/pixfmt/gbrp10-yvyu422        |   2 +
 tests/ref/pixfmt/gbrp12-bgr24          |   2 +
 tests/ref/pixfmt/gbrp12-gbrp10be       |   2 +
 tests/ref/pixfmt/gbrp12-gbrp10le       |   2 +
 tests/ref/pixfmt/gbrp12-gbrp16be       |   2 +
 tests/ref/pixfmt/gbrp12-gbrp16le       |   2 +
 tests/ref/pixfmt/gbrp12-gray           |   2 +
 tests/ref/pixfmt/gbrp12-gray10be       |   2 +
 tests/ref/pixfmt/gbrp12-gray10le       |   2 +
 tests/ref/pixfmt/gbrp12-gray16be       |   2 +
 tests/ref/pixfmt/gbrp12-gray16le       |   2 +
 tests/ref/pixfmt/gbrp12-monob          |   2 +
 tests/ref/pixfmt/gbrp12-monow          |   2 +
 tests/ref/pixfmt/gbrp12-nv12           |   2 +
 tests/ref/pixfmt/gbrp12-nv16           |   2 +
 tests/ref/pixfmt/gbrp12-nv24           |   2 +
 tests/ref/pixfmt/gbrp12-p010be         |   2 +
 tests/ref/pixfmt/gbrp12-p010le         |   2 +
 tests/ref/pixfmt/gbrp12-p016be         |   2 +
 tests/ref/pixfmt/gbrp12-p016le         |   2 +
 tests/ref/pixfmt/gbrp12-p210be         |   2 +
 tests/ref/pixfmt/gbrp12-p210le         |   2 +
 tests/ref/pixfmt/gbrp12-p216be         |   2 +
 tests/ref/pixfmt/gbrp12-p216le         |   2 +
 tests/ref/pixfmt/gbrp12-p410be         |   2 +
 tests/ref/pixfmt/gbrp12-p410le         |   2 +
 tests/ref/pixfmt/gbrp12-p416be         |   2 +
 tests/ref/pixfmt/gbrp12-p416le         |   2 +
 tests/ref/pixfmt/gbrp12-rgb24          |   2 +
 tests/ref/pixfmt/gbrp12-rgb32          |   2 +
 tests/ref/pixfmt/gbrp12-rgb48          |   2 +
 tests/ref/pixfmt/gbrp12-rgb555         |   2 +
 tests/ref/pixfmt/gbrp12-rgb565         |   2 +
 tests/ref/pixfmt/gbrp12-uyvy422        |   2 +
 tests/ref/pixfmt/gbrp12-v30xle         |   2 +
 tests/ref/pixfmt/gbrp12-vuyx           |   2 +
 tests/ref/pixfmt/gbrp12-vyu444         |   2 +
 tests/ref/pixfmt/gbrp12-x2bgr10le      |   2 +
 tests/ref/pixfmt/gbrp12-x2rgb10le      |   2 +
 tests/ref/pixfmt/gbrp12-xv30le         |   2 +
 tests/ref/pixfmt/gbrp12-xv48be         |   2 +
 tests/ref/pixfmt/gbrp12-xv48le         |   2 +
 tests/ref/pixfmt/gbrp12-xyz12le        |   2 +
 tests/ref/pixfmt/gbrp12-y210le         |   2 +
 tests/ref/pixfmt/gbrp12-y216le         |   2 +
 tests/ref/pixfmt/gbrp12-yuv410p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv411p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv420p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv420p10be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv420p10le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv420p16be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv420p16le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv422p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv422p10be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv422p10le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv422p16be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv422p16le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv440p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv440p10be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv440p10le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv444p        |   2 +
 tests/ref/pixfmt/gbrp12-yuv444p10be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv444p10le    |   2 +
 tests/ref/pixfmt/gbrp12-yuv444p16be    |   2 +
 tests/ref/pixfmt/gbrp12-yuv444p16le    |   2 +
 tests/ref/pixfmt/gbrp12-yuvj420p       |   2 +
 tests/ref/pixfmt/gbrp12-yuvj422p       |   2 +
 tests/ref/pixfmt/gbrp12-yuvj440p       |   2 +
 tests/ref/pixfmt/gbrp12-yuvj444p       |   2 +
 tests/ref/pixfmt/gbrp12-yuyv422        |   2 +
 tests/ref/pixfmt/gbrp12-yvyu422        |   2 +
 tests/ref/pixfmt/nv12                  |   2 +
 tests/ref/pixfmt/nv16                  |   2 +
 tests/ref/pixfmt/nv24                  |   2 +
 tests/ref/pixfmt/rgb24-bgr24           |   2 +
 tests/ref/pixfmt/rgb24-gbrp10be        |   2 +
 tests/ref/pixfmt/rgb24-gbrp10le        |   2 +
 tests/ref/pixfmt/rgb24-gbrp12be        |   2 +
 tests/ref/pixfmt/rgb24-gbrp12le        |   2 +
 tests/ref/pixfmt/rgb24-gbrp16be        |   2 +
 tests/ref/pixfmt/rgb24-gbrp16le        |   2 +
 tests/ref/pixfmt/rgb24-gray            |   2 +
 tests/ref/pixfmt/rgb24-gray10be        |   2 +
 tests/ref/pixfmt/rgb24-gray10le        |   2 +
 tests/ref/pixfmt/rgb24-gray12be        |   2 +
 tests/ref/pixfmt/rgb24-gray12le        |   2 +
 tests/ref/pixfmt/rgb24-gray16be        |   2 +
 tests/ref/pixfmt/rgb24-gray16le        |   2 +
 tests/ref/pixfmt/rgb24-monob           |   2 +
 tests/ref/pixfmt/rgb24-monow           |   2 +
 tests/ref/pixfmt/rgb24-nv12            |   2 +
 tests/ref/pixfmt/rgb24-nv16            |   2 +
 tests/ref/pixfmt/rgb24-nv24            |   2 +
 tests/ref/pixfmt/rgb24-p010be          |   2 +
 tests/ref/pixfmt/rgb24-p010le          |   2 +
 tests/ref/pixfmt/rgb24-p012be          |   2 +
 tests/ref/pixfmt/rgb24-p012le          |   2 +
 tests/ref/pixfmt/rgb24-p016be          |   2 +
 tests/ref/pixfmt/rgb24-p016le          |   2 +
 tests/ref/pixfmt/rgb24-p210be          |   2 +
 tests/ref/pixfmt/rgb24-p210le          |   2 +
 tests/ref/pixfmt/rgb24-p212be          |   2 +
 tests/ref/pixfmt/rgb24-p212le          |   2 +
 tests/ref/pixfmt/rgb24-p216be          |   2 +
 tests/ref/pixfmt/rgb24-p216le          |   2 +
 tests/ref/pixfmt/rgb24-p410be          |   2 +
 tests/ref/pixfmt/rgb24-p410le          |   2 +
 tests/ref/pixfmt/rgb24-p412be          |   2 +
 tests/ref/pixfmt/rgb24-p412le          |   2 +
 tests/ref/pixfmt/rgb24-p416be          |   2 +
 tests/ref/pixfmt/rgb24-p416le          |   2 +
 tests/ref/pixfmt/rgb24-rgb24           |   2 +
 tests/ref/pixfmt/rgb24-rgb32           |   2 +
 tests/ref/pixfmt/rgb24-rgb48           |   2 +
 tests/ref/pixfmt/rgb24-rgb555          |   2 +
 tests/ref/pixfmt/rgb24-rgb565          |   2 +
 tests/ref/pixfmt/rgb24-uyvy422         |   2 +
 tests/ref/pixfmt/rgb24-v30xle          |   2 +
 tests/ref/pixfmt/rgb24-vuyx            |   2 +
 tests/ref/pixfmt/rgb24-vyu444          |   2 +
 tests/ref/pixfmt/rgb24-x2bgr10le       |   2 +
 tests/ref/pixfmt/rgb24-x2rgb10le       |   2 +
 tests/ref/pixfmt/rgb24-xv30le          |   2 +
 tests/ref/pixfmt/rgb24-xv36be          |   2 +
 tests/ref/pixfmt/rgb24-xv36le          |   2 +
 tests/ref/pixfmt/rgb24-xv48be          |   2 +
 tests/ref/pixfmt/rgb24-xv48le          |   2 +
 tests/ref/pixfmt/rgb24-xyz12le         |   2 +
 tests/ref/pixfmt/rgb24-y210le          |   2 +
 tests/ref/pixfmt/rgb24-y212le          |   2 +
 tests/ref/pixfmt/rgb24-y216le          |   2 +
 tests/ref/pixfmt/rgb24-yuv410p         |   2 +
 tests/ref/pixfmt/rgb24-yuv411p         |   2 +
 tests/ref/pixfmt/rgb24-yuv420p         |   2 +
 tests/ref/pixfmt/rgb24-yuv420p10be     |   2 +
 tests/ref/pixfmt/rgb24-yuv420p10le     |   2 +
 tests/ref/pixfmt/rgb24-yuv420p12be     |   2 +
 tests/ref/pixfmt/rgb24-yuv420p12le     |   2 +
 tests/ref/pixfmt/rgb24-yuv420p16be     |   2 +
 tests/ref/pixfmt/rgb24-yuv420p16le     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p         |   2 +
 tests/ref/pixfmt/rgb24-yuv422p10be     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p10le     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p12be     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p12le     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p16be     |   2 +
 tests/ref/pixfmt/rgb24-yuv422p16le     |   2 +
 tests/ref/pixfmt/rgb24-yuv440p         |   2 +
 tests/ref/pixfmt/rgb24-yuv440p10be     |   2 +
 tests/ref/pixfmt/rgb24-yuv440p10le     |   2 +
 tests/ref/pixfmt/rgb24-yuv440p12be     |   2 +
 tests/ref/pixfmt/rgb24-yuv440p12le     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p         |   2 +
 tests/ref/pixfmt/rgb24-yuv444p10be     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p10le     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p12be     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p12le     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p16be     |   2 +
 tests/ref/pixfmt/rgb24-yuv444p16le     |   2 +
 tests/ref/pixfmt/rgb24-yuvj420p        |   2 +
 tests/ref/pixfmt/rgb24-yuvj422p        |   2 +
 tests/ref/pixfmt/rgb24-yuvj440p        |   2 +
 tests/ref/pixfmt/rgb24-yuvj444p        |   2 +
 tests/ref/pixfmt/rgb24-yuyv422         |   2 +
 tests/ref/pixfmt/rgb24-yvyu422         |   2 +
 tests/ref/pixfmt/rgb48-bgr24           |   2 +
 tests/ref/pixfmt/rgb48-gbrp10be        |   2 +
 tests/ref/pixfmt/rgb48-gbrp10le        |   2 +
 tests/ref/pixfmt/rgb48-gbrp12be        |   2 +
 tests/ref/pixfmt/rgb48-gbrp12le        |   2 +
 tests/ref/pixfmt/rgb48-gbrp16be        |   2 +
 tests/ref/pixfmt/rgb48-gbrp16le        |   2 +
 tests/ref/pixfmt/rgb48-gray            |   2 +
 tests/ref/pixfmt/rgb48-gray10be        |   2 +
 tests/ref/pixfmt/rgb48-gray10le        |   2 +
 tests/ref/pixfmt/rgb48-gray12be        |   2 +
 tests/ref/pixfmt/rgb48-gray12le        |   2 +
 tests/ref/pixfmt/rgb48-gray16be        |   2 +
 tests/ref/pixfmt/rgb48-gray16le        |   2 +
 tests/ref/pixfmt/rgb48-monob           |   2 +
 tests/ref/pixfmt/rgb48-monow           |   2 +
 tests/ref/pixfmt/rgb48-nv12            |   2 +
 tests/ref/pixfmt/rgb48-nv16            |   2 +
 tests/ref/pixfmt/rgb48-nv24            |   2 +
 tests/ref/pixfmt/rgb48-p010be          |   2 +
 tests/ref/pixfmt/rgb48-p010le          |   2 +
 tests/ref/pixfmt/rgb48-p012be          |   2 +
 tests/ref/pixfmt/rgb48-p012le          |   2 +
 tests/ref/pixfmt/rgb48-p016be          |   2 +
 tests/ref/pixfmt/rgb48-p016le          |   2 +
 tests/ref/pixfmt/rgb48-p210be          |   2 +
 tests/ref/pixfmt/rgb48-p210le          |   2 +
 tests/ref/pixfmt/rgb48-p212be          |   2 +
 tests/ref/pixfmt/rgb48-p212le          |   2 +
 tests/ref/pixfmt/rgb48-p216be          |   2 +
 tests/ref/pixfmt/rgb48-p216le          |   2 +
 tests/ref/pixfmt/rgb48-p410be          |   2 +
 tests/ref/pixfmt/rgb48-p410le          |   2 +
 tests/ref/pixfmt/rgb48-p412be          |   2 +
 tests/ref/pixfmt/rgb48-p412le          |   2 +
 tests/ref/pixfmt/rgb48-p416be          |   2 +
 tests/ref/pixfmt/rgb48-p416le          |   2 +
 tests/ref/pixfmt/rgb48-rgb24           |   2 +
 tests/ref/pixfmt/rgb48-rgb32           |   2 +
 tests/ref/pixfmt/rgb48-rgb48           |   2 +
 tests/ref/pixfmt/rgb48-rgb555          |   2 +
 tests/ref/pixfmt/rgb48-rgb565          |   2 +
 tests/ref/pixfmt/rgb48-uyvy422         |   2 +
 tests/ref/pixfmt/rgb48-v30xle          |   2 +
 tests/ref/pixfmt/rgb48-vuyx            |   2 +
 tests/ref/pixfmt/rgb48-vyu444          |   2 +
 tests/ref/pixfmt/rgb48-x2bgr10le       |   2 +
 tests/ref/pixfmt/rgb48-x2rgb10le       |   2 +
 tests/ref/pixfmt/rgb48-xv30le          |   2 +
 tests/ref/pixfmt/rgb48-xv36be          |   2 +
 tests/ref/pixfmt/rgb48-xv36le          |   2 +
 tests/ref/pixfmt/rgb48-xv48be          |   2 +
 tests/ref/pixfmt/rgb48-xv48le          |   2 +
 tests/ref/pixfmt/rgb48-xyz12le         |   2 +
 tests/ref/pixfmt/rgb48-y210le          |   2 +
 tests/ref/pixfmt/rgb48-y212le          |   2 +
 tests/ref/pixfmt/rgb48-y216le          |   2 +
 tests/ref/pixfmt/rgb48-yuv410p         |   2 +
 tests/ref/pixfmt/rgb48-yuv411p         |   2 +
 tests/ref/pixfmt/rgb48-yuv420p         |   2 +
 tests/ref/pixfmt/rgb48-yuv420p10be     |   2 +
 tests/ref/pixfmt/rgb48-yuv420p10le     |   2 +
 tests/ref/pixfmt/rgb48-yuv420p12be     |   2 +
 tests/ref/pixfmt/rgb48-yuv420p12le     |   2 +
 tests/ref/pixfmt/rgb48-yuv420p16be     |   2 +
 tests/ref/pixfmt/rgb48-yuv420p16le     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p         |   2 +
 tests/ref/pixfmt/rgb48-yuv422p10be     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p10le     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p12be     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p12le     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p16be     |   2 +
 tests/ref/pixfmt/rgb48-yuv422p16le     |   2 +
 tests/ref/pixfmt/rgb48-yuv440p         |   2 +
 tests/ref/pixfmt/rgb48-yuv440p10be     |   2 +
 tests/ref/pixfmt/rgb48-yuv440p10le     |   2 +
 tests/ref/pixfmt/rgb48-yuv440p12be     |   2 +
 tests/ref/pixfmt/rgb48-yuv440p12le     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p         |   2 +
 tests/ref/pixfmt/rgb48-yuv444p10be     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p10le     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p12be     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p12le     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p16be     |   2 +
 tests/ref/pixfmt/rgb48-yuv444p16le     |   2 +
 tests/ref/pixfmt/rgb48-yuvj420p        |   2 +
 tests/ref/pixfmt/rgb48-yuvj422p        |   2 +
 tests/ref/pixfmt/rgb48-yuvj440p        |   2 +
 tests/ref/pixfmt/rgb48-yuvj444p        |   2 +
 tests/ref/pixfmt/rgb48-yuyv422         |   2 +
 tests/ref/pixfmt/rgb48-yvyu422         |   2 +
 tests/ref/pixfmt/uyvy422               |   2 +
 tests/ref/pixfmt/vuyx                  |   2 +
 tests/ref/pixfmt/vyu444                |   2 +
 tests/ref/pixfmt/yuv444p-bgr24         |   2 +
 tests/ref/pixfmt/yuv444p-gbrp10be      |   2 +
 tests/ref/pixfmt/yuv444p-gbrp10le      |   2 +
 tests/ref/pixfmt/yuv444p-gbrp12be      |   2 +
 tests/ref/pixfmt/yuv444p-gbrp12le      |   2 +
 tests/ref/pixfmt/yuv444p-gbrp16be      |   2 +
 tests/ref/pixfmt/yuv444p-gbrp16le      |   2 +
 tests/ref/pixfmt/yuv444p-gray          |   2 +
 tests/ref/pixfmt/yuv444p-gray10be      |   2 +
 tests/ref/pixfmt/yuv444p-gray10le      |   2 +
 tests/ref/pixfmt/yuv444p-gray12be      |   2 +
 tests/ref/pixfmt/yuv444p-gray12le      |   2 +
 tests/ref/pixfmt/yuv444p-gray16be      |   2 +
 tests/ref/pixfmt/yuv444p-gray16le      |   2 +
 tests/ref/pixfmt/yuv444p-monob         |   2 +
 tests/ref/pixfmt/yuv444p-monow         |   2 +
 tests/ref/pixfmt/yuv444p-nv12          |   2 +
 tests/ref/pixfmt/yuv444p-nv16          |   2 +
 tests/ref/pixfmt/yuv444p-nv24          |   2 +
 tests/ref/pixfmt/yuv444p-p010be        |   2 +
 tests/ref/pixfmt/yuv444p-p010le        |   2 +
 tests/ref/pixfmt/yuv444p-p012be        |   2 +
 tests/ref/pixfmt/yuv444p-p012le        |   2 +
 tests/ref/pixfmt/yuv444p-p016be        |   2 +
 tests/ref/pixfmt/yuv444p-p016le        |   2 +
 tests/ref/pixfmt/yuv444p-p210be        |   2 +
 tests/ref/pixfmt/yuv444p-p210le        |   2 +
 tests/ref/pixfmt/yuv444p-p212be        |   2 +
 tests/ref/pixfmt/yuv444p-p212le        |   2 +
 tests/ref/pixfmt/yuv444p-p216be        |   2 +
 tests/ref/pixfmt/yuv444p-p216le        |   2 +
 tests/ref/pixfmt/yuv444p-p410be        |   2 +
 tests/ref/pixfmt/yuv444p-p410le        |   2 +
 tests/ref/pixfmt/yuv444p-p412be        |   2 +
 tests/ref/pixfmt/yuv444p-p412le        |   2 +
 tests/ref/pixfmt/yuv444p-p416be        |   2 +
 tests/ref/pixfmt/yuv444p-p416le        |   2 +
 tests/ref/pixfmt/yuv444p-rgb24         |   2 +
 tests/ref/pixfmt/yuv444p-rgb32         |   2 +
 tests/ref/pixfmt/yuv444p-rgb48         |   2 +
 tests/ref/pixfmt/yuv444p-rgb555        |   2 +
 tests/ref/pixfmt/yuv444p-rgb565        |   2 +
 tests/ref/pixfmt/yuv444p-uyvy422       |   2 +
 tests/ref/pixfmt/yuv444p-v30xle        |   2 +
 tests/ref/pixfmt/yuv444p-vuyx          |   2 +
 tests/ref/pixfmt/yuv444p-vyu444        |   2 +
 tests/ref/pixfmt/yuv444p-x2bgr10le     |   2 +
 tests/ref/pixfmt/yuv444p-x2rgb10le     |   2 +
 tests/ref/pixfmt/yuv444p-xv30le        |   2 +
 tests/ref/pixfmt/yuv444p-xv36be        |   2 +
 tests/ref/pixfmt/yuv444p-xv36le        |   2 +
 tests/ref/pixfmt/yuv444p-xv48be        |   2 +
 tests/ref/pixfmt/yuv444p-xv48le        |   2 +
 tests/ref/pixfmt/yuv444p-xyz12le       |   2 +
 tests/ref/pixfmt/yuv444p-y210le        |   2 +
 tests/ref/pixfmt/yuv444p-y212le        |   2 +
 tests/ref/pixfmt/yuv444p-y216le        |   2 +
 tests/ref/pixfmt/yuv444p-yuv410p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv411p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p10be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p10le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p12be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p12le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p16be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv420p16le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p10be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p10le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p12be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p12le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p16be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv422p16le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv440p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv440p10be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv440p10le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv440p12be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv440p12le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p       |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p10be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p10le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p12be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p12le   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p16be   |   2 +
 tests/ref/pixfmt/yuv444p-yuv444p16le   |   2 +
 tests/ref/pixfmt/yuv444p-yuvj420p      |   2 +
 tests/ref/pixfmt/yuv444p-yuvj422p      |   2 +
 tests/ref/pixfmt/yuv444p-yuvj440p      |   2 +
 tests/ref/pixfmt/yuv444p-yuvj444p      |   2 +
 tests/ref/pixfmt/yuv444p-yuyv422       |   2 +
 tests/ref/pixfmt/yuv444p-yvyu422       |   2 +
 tests/ref/pixfmt/yuv444p10-bgr24       |   2 +
 tests/ref/pixfmt/yuv444p10-gbrp12be    |   2 +
 tests/ref/pixfmt/yuv444p10-gbrp12le    |   2 +
 tests/ref/pixfmt/yuv444p10-gbrp16be    |   2 +
 tests/ref/pixfmt/yuv444p10-gbrp16le    |   2 +
 tests/ref/pixfmt/yuv444p10-gray        |   2 +
 tests/ref/pixfmt/yuv444p10-gray12be    |   2 +
 tests/ref/pixfmt/yuv444p10-gray12le    |   2 +
 tests/ref/pixfmt/yuv444p10-gray16be    |   2 +
 tests/ref/pixfmt/yuv444p10-gray16le    |   2 +
 tests/ref/pixfmt/yuv444p10-monob       |   2 +
 tests/ref/pixfmt/yuv444p10-monow       |   2 +
 tests/ref/pixfmt/yuv444p10-nv12        |   2 +
 tests/ref/pixfmt/yuv444p10-nv16        |   2 +
 tests/ref/pixfmt/yuv444p10-nv24        |   2 +
 tests/ref/pixfmt/yuv444p10-p012be      |   2 +
 tests/ref/pixfmt/yuv444p10-p012le      |   2 +
 tests/ref/pixfmt/yuv444p10-p016be      |   2 +
 tests/ref/pixfmt/yuv444p10-p016le      |   2 +
 tests/ref/pixfmt/yuv444p10-p212be      |   2 +
 tests/ref/pixfmt/yuv444p10-p212le      |   2 +
 tests/ref/pixfmt/yuv444p10-p216be      |   2 +
 tests/ref/pixfmt/yuv444p10-p216le      |   2 +
 tests/ref/pixfmt/yuv444p10-p412be      |   2 +
 tests/ref/pixfmt/yuv444p10-p412le      |   2 +
 tests/ref/pixfmt/yuv444p10-p416be      |   2 +
 tests/ref/pixfmt/yuv444p10-p416le      |   2 +
 tests/ref/pixfmt/yuv444p10-rgb24       |   2 +
 tests/ref/pixfmt/yuv444p10-rgb32       |   2 +
 tests/ref/pixfmt/yuv444p10-rgb48       |   2 +
 tests/ref/pixfmt/yuv444p10-rgb555      |   2 +
 tests/ref/pixfmt/yuv444p10-rgb565      |   2 +
 tests/ref/pixfmt/yuv444p10-uyvy422     |   2 +
 tests/ref/pixfmt/yuv444p10-vuyx        |   2 +
 tests/ref/pixfmt/yuv444p10-vyu444      |   2 +
 tests/ref/pixfmt/yuv444p10-xv36be      |   2 +
 tests/ref/pixfmt/yuv444p10-xv36le      |   2 +
 tests/ref/pixfmt/yuv444p10-xv48be      |   2 +
 tests/ref/pixfmt/yuv444p10-xv48le      |   2 +
 tests/ref/pixfmt/yuv444p10-xyz12le     |   2 +
 tests/ref/pixfmt/yuv444p10-y212le      |   2 +
 tests/ref/pixfmt/yuv444p10-y216le      |   2 +
 tests/ref/pixfmt/yuv444p10-yuv410p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv411p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv420p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv420p12be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv420p12le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv420p16be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv420p16le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv422p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv422p12be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv422p12le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv422p16be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv422p16le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv440p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv440p12be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv440p12le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv444p     |   2 +
 tests/ref/pixfmt/yuv444p10-yuv444p12be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv444p12le |   2 +
 tests/ref/pixfmt/yuv444p10-yuv444p16be |   2 +
 tests/ref/pixfmt/yuv444p10-yuv444p16le |   2 +
 tests/ref/pixfmt/yuv444p10-yuvj420p    |   2 +
 tests/ref/pixfmt/yuv444p10-yuvj422p    |   2 +
 tests/ref/pixfmt/yuv444p10-yuvj440p    |   2 +
 tests/ref/pixfmt/yuv444p10-yuvj444p    |   2 +
 tests/ref/pixfmt/yuv444p10-yuyv422     |   2 +
 tests/ref/pixfmt/yuv444p10-yvyu422     |   2 +
 tests/ref/pixfmt/yuv444p12-bgr24       |   2 +
 tests/ref/pixfmt/yuv444p12-gbrp10be    |   2 +
 tests/ref/pixfmt/yuv444p12-gbrp10le    |   2 +
 tests/ref/pixfmt/yuv444p12-gbrp16be    |   2 +
 tests/ref/pixfmt/yuv444p12-gbrp16le    |   2 +
 tests/ref/pixfmt/yuv444p12-gray        |   2 +
 tests/ref/pixfmt/yuv444p12-gray10be    |   2 +
 tests/ref/pixfmt/yuv444p12-gray10le    |   2 +
 tests/ref/pixfmt/yuv444p12-gray16be    |   2 +
 tests/ref/pixfmt/yuv444p12-gray16le    |   2 +
 tests/ref/pixfmt/yuv444p12-monob       |   2 +
 tests/ref/pixfmt/yuv444p12-monow       |   2 +
 tests/ref/pixfmt/yuv444p12-nv12        |   2 +
 tests/ref/pixfmt/yuv444p12-nv16        |   2 +
 tests/ref/pixfmt/yuv444p12-nv24        |   2 +
 tests/ref/pixfmt/yuv444p12-p010be      |   2 +
 tests/ref/pixfmt/yuv444p12-p010le      |   2 +
 tests/ref/pixfmt/yuv444p12-p016be      |   2 +
 tests/ref/pixfmt/yuv444p12-p016le      |   2 +
 tests/ref/pixfmt/yuv444p12-p210be      |   2 +
 tests/ref/pixfmt/yuv444p12-p210le      |   2 +
 tests/ref/pixfmt/yuv444p12-p216be      |   2 +
 tests/ref/pixfmt/yuv444p12-p216le      |   2 +
 tests/ref/pixfmt/yuv444p12-p410be      |   2 +
 tests/ref/pixfmt/yuv444p12-p410le      |   2 +
 tests/ref/pixfmt/yuv444p12-p416be      |   2 +
 tests/ref/pixfmt/yuv444p12-p416le      |   2 +
 tests/ref/pixfmt/yuv444p12-rgb24       |   2 +
 tests/ref/pixfmt/yuv444p12-rgb32       |   2 +
 tests/ref/pixfmt/yuv444p12-rgb48       |   2 +
 tests/ref/pixfmt/yuv444p12-rgb555      |   2 +
 tests/ref/pixfmt/yuv444p12-rgb565      |   2 +
 tests/ref/pixfmt/yuv444p12-uyvy422     |   2 +
 tests/ref/pixfmt/yuv444p12-v30xle      |   2 +
 tests/ref/pixfmt/yuv444p12-vuyx        |   2 +
 tests/ref/pixfmt/yuv444p12-vyu444      |   2 +
 tests/ref/pixfmt/yuv444p12-x2bgr10le   |   2 +
 tests/ref/pixfmt/yuv444p12-x2rgb10le   |   2 +
 tests/ref/pixfmt/yuv444p12-xv30le      |   2 +
 tests/ref/pixfmt/yuv444p12-xv48be      |   2 +
 tests/ref/pixfmt/yuv444p12-xv48le      |   2 +
 tests/ref/pixfmt/yuv444p12-xyz12le     |   2 +
 tests/ref/pixfmt/yuv444p12-y210le      |   2 +
 tests/ref/pixfmt/yuv444p12-y216le      |   2 +
 tests/ref/pixfmt/yuv444p12-yuv410p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv411p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv420p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv420p10be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv420p10le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv420p16be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv420p16le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv422p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv422p10be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv422p10le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv422p16be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv422p16le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv440p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv440p10be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv440p10le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv444p     |   2 +
 tests/ref/pixfmt/yuv444p12-yuv444p10be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv444p10le |   2 +
 tests/ref/pixfmt/yuv444p12-yuv444p16be |   2 +
 tests/ref/pixfmt/yuv444p12-yuv444p16le |   2 +
 tests/ref/pixfmt/yuv444p12-yuvj420p    |   2 +
 tests/ref/pixfmt/yuv444p12-yuvj422p    |   2 +
 tests/ref/pixfmt/yuv444p12-yuvj440p    |   2 +
 tests/ref/pixfmt/yuv444p12-yuvj444p    |   2 +
 tests/ref/pixfmt/yuv444p12-yuyv422     |   2 +
 tests/ref/pixfmt/yuv444p12-yvyu422     |   2 +
 tests/ref/pixfmt/yvyu422               |   2 +
 650 files changed, 1363 insertions(+), 54 deletions(-)

diff --git a/libswscale/utils.c b/libswscale/utils.c
index 8603f78dc9..5c21f9de4a 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -698,7 +698,7 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos,
             filterAlign = 1;
     }
 
-    if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX) {
+    if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_MMX || have_neon(cpu_flags)) {
         // special case for unscaled vertical filtering
         if (minFilterSize == 1 && filterAlign == 2)
             filterAlign = 1;
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 2b8d535daf..ef9c7ef064 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -203,7 +203,8 @@ enc_dec_pcm(){
     ffmpeg -auto_conversion_filters -bitexact -i ${encfile} -c:a pcm_${pcm_fmt} -fflags +bitexact -f ${dec_fmt} -
 }
 
-FLAGS="-flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
+SCALE_FLAGS="+accurate_rnd+bitexact"
+FLAGS="-flags +bitexact -sws_flags $SCALE_FLAGS -fflags +bitexact"
 DEC_OPTS="-threads $threads -thread_type $thread_type -idct simple $FLAGS"
 ENC_OPTS="-threads 1        -idct simple -dct fastint"
 
@@ -335,7 +336,7 @@ echov(){
 }
 
 AVCONV_OPTS="-nostdin -nostats -noauto_conversion_filters -y -cpuflags $cpuflags -filter_threads $threads"
-COMMON_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
+COMMON_OPTS="-flags +bitexact -idct simple -sws_flags $SCALE_FLAGS -fflags +bitexact"
 DEC_OPTS="$COMMON_OPTS -threads $threads"
 ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint"
 
@@ -505,14 +506,15 @@ pixfmt_conversion(){
 
 pixfmt_conversion_ext(){
     prefix=$1
+    suffix=$2
     color_range="${test#pixfmt-}"
     color_range=${color_range%-*}
     conversion="${test#pixfmt-$color_range-}"
     outdir="tests/data/pixfmt"
     file=${outdir}/${color_range}-${conversion}.yuv
     cleanfiles="$cleanfiles $file"
-    do_avconv $file $DEC_OPTS -lavfi ${prefix}testsrc=s=352x288,format=${color_range},scale,format=$conversion \
-              $ENC_OPTS -t 1 -f rawvideo -s 352x288 -pix_fmt ${color_range}le -color_range mpeg
+    do_avconv $file $DEC_OPTS -lavfi ${prefix}testsrc=s=352x288,format=${color_range},scale=flags=$SCALE_FLAGS,format=$conversion \
+              $ENC_OPTS -t 1 -f rawvideo -s 352x288 -pix_fmt ${color_range}${suffix} -color_range mpeg
 }
 
 pixdesc(){
diff --git a/tests/fate/pixfmt.mak b/tests/fate/pixfmt.mak
index 34fc8cc29e..e62320b3c2 100644
--- a/tests/fate/pixfmt.mak
+++ b/tests/fate/pixfmt.mak
@@ -1,7 +1,11 @@
-FATE_PIXFMT-$(CONFIG_SCALE_FILTER) =           bgr24           \
+PIXFMT_8_LIST =         bgr24           \
                         gray            \
+                        nv12            \
+                        nv16            \
+                        nv24            \
                         monob           \
                         monow           \
+                        vuyx            \
                         rgb24           \
                         rgb32           \
                         rgb555          \
@@ -18,14 +22,39 @@ FATE_PIXFMT-$(CONFIG_SCALE_FILTER) =           bgr24           \
                         yuvj440p        \
                         yuvj444p        \
                         yuyv422         \
+                        yvyu422         \
+                        uyvy422         \
+                        vyu444          \
 
-FATE_PIXFMT := $(FATE_PIXFMT-yes:%=fate-pixfmt-%)
+FATE_PIXFMT := $(PIXFMT_8_LIST:%=fate-pixfmt-%)
 
 $(FATE_PIXFMT): CMD = pixfmt_conversion
 $(FATE_PIXFMT): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
 $(FATE_PIXFMT): $(VREF)
 
-PIXFMT_10_LIST =        gray10le        \
+PIXFMT_16_LIST =        gray16le        \
+                        gray16be        \
+                        yuv420p16le     \
+                        yuv420p16be     \
+                        yuv422p16le     \
+                        yuv422p16be     \
+                        yuv444p16le     \
+                        yuv444p16be     \
+                        y216le          \
+                        p016le          \
+                        p016be          \
+                        p216le          \
+                        p216be          \
+                        p416le          \
+                        p416be          \
+                        xv48le          \
+                        xv48be          \
+                        rgb48           \
+                        gbrp16le        \
+                        gbrp16be        \
+
+PIXFMT_EXT_LIST =      $(PIXFMT_8_LIST) \
+                        gray10le        \
                         gray10be        \
                         yuv420p10le     \
                         yuv420p10be     \
@@ -48,20 +77,7 @@ PIXFMT_10_LIST =        gray10le        \
                         x2bgr10le       \
                         gbrp10le        \
                         gbrp10be        \
-
-FATE_PIXFMT_10-YUV-$(call ALLYES, SCALE_FILTER YUVTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_10_LIST)
-FATE_PIXFMT_10-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_10_LIST)
-
-FATE_PIXFMT_10-YUV := $(FATE_PIXFMT_10-YUV-yes:%=fate-pixfmt-yuv444p10-%)
-FATE_PIXFMT_10-RGB := $(FATE_PIXFMT_10-RGB-yes:%=fate-pixfmt-gbrp10-%)
-
-$(FATE_PIXFMT_10-YUV): CMD = pixfmt_conversion_ext "yuv"
-$(FATE_PIXFMT_10-RGB): CMD = pixfmt_conversion_ext "rgb"
-
-FATE_PIXFMT_10 := $(FATE_PIXFMT_10-YUV) $(FATE_PIXFMT_10-RGB)
-$(FATE_PIXFMT_10): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
-
-PIXFMT_12_LIST =        gray12le        \
+                        gray12le        \
                         gray12be        \
                         yuv420p12le     \
                         yuv420p12be     \
@@ -82,39 +98,36 @@ PIXFMT_12_LIST =        gray12le        \
                         xv36be          \
                         gbrp12le        \
                         gbrp12be        \
+                      $(PIXFMT_16_LIST) \
 
-FATE_PIXFMT_12-YUV-$(call ALLYES, SCALE_FILTER YUVTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_12_LIST)
-FATE_PIXFMT_12-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_12_LIST)
 
-FATE_PIXFMT_12-YUV := $(FATE_PIXFMT_12-YUV-yes:%=fate-pixfmt-yuv444p12-%)
-FATE_PIXFMT_12-RGB := $(FATE_PIXFMT_12-RGB-yes:%=fate-pixfmt-gbrp12-%)
+FATE_PIXFMT_8-YUV-$(call ALLYES, SCALE_FILTER YUVTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_EXT_LIST)
+FATE_PIXFMT_8-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_EXT_LIST)
 
-$(FATE_PIXFMT_12-YUV): CMD = pixfmt_conversion_ext "yuv"
-$(FATE_PIXFMT_12-RGB): CMD = pixfmt_conversion_ext "rgb"
+FATE_PIXFMT_8-YUV += $(FATE_PIXFMT_8-YUV-yes:%=fate-pixfmt-yuv444p-%)
+FATE_PIXFMT_8-RGB += $(FATE_PIXFMT_8-RGB-yes:%=fate-pixfmt-gbrp-%)
+FATE_PIXFMT_8-RGB += $(FATE_PIXFMT_8-RGB-yes:%=fate-pixfmt-rgb24-%)
 
-FATE_PIXFMT_12 := $(FATE_PIXFMT_12-YUV) $(FATE_PIXFMT_12-RGB)
-$(FATE_PIXFMT_12): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
+$(FATE_PIXFMT_8-YUV): CMD = pixfmt_conversion_ext "yuv"
+$(FATE_PIXFMT_8-RGB): CMD = pixfmt_conversion_ext "rgb"
 
-PIXFMT_16_LIST =        gray16le        \
-                        gray16be        \
-                        yuv420p16le     \
-                        yuv420p16be     \
-                        yuv422p16le     \
-                        yuv422p16be     \
-                        yuv444p16le     \
-                        yuv444p16be     \
-                        y216le          \
-                        p016le          \
-                        p016be          \
-                        p216le          \
-                        p216be          \
-                        p416le          \
-                        p416be          \
-                        xv48le          \
-                        xv48be          \
-                        rgb48           \
-                        gbrp16le        \
-                        gbrp16be        \
+FATE_PIXFMT_8 := $(FATE_PIXFMT_8-YUV) $(FATE_PIXFMT_8-RGB)
+$(FATE_PIXFMT_8): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
+
+FATE_PIXFMT_EXT-YUV-$(call ALLYES, SCALE_FILTER YUVTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_EXT_LIST)
+FATE_PIXFMT_EXT-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_EXT_LIST)
+
+FATE_PIXFMT_EXT-YUV += $(FATE_PIXFMT_EXT-YUV-yes:%=fate-pixfmt-yuv444p10-%)
+FATE_PIXFMT_EXT-YUV += $(FATE_PIXFMT_EXT-YUV-yes:%=fate-pixfmt-yuv444p12-%)
+FATE_PIXFMT_EXT-RGB += $(FATE_PIXFMT_EXT-RGB-yes:%=fate-pixfmt-gbrp10-%)
+FATE_PIXFMT_EXT-RGB += $(FATE_PIXFMT_EXT-RGB-yes:%=fate-pixfmt-gbrp12-%)
+FATE_PIXFMT_EXT-RGB += $(FATE_PIXFMT_EXT-RGB-yes:%=fate-pixfmt-rgb48-%)
+
+$(FATE_PIXFMT_EXT-YUV): CMD = pixfmt_conversion_ext "yuv" "le"
+$(FATE_PIXFMT_EXT-RGB): CMD = pixfmt_conversion_ext "rgb" "le"
+
+FATE_PIXFMT_EXT := $(FATE_PIXFMT_EXT-YUV) $(FATE_PIXFMT_EXT-RGB)
+$(FATE_PIXFMT_EXT): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
 
 FATE_PIXFMT_16-YUV-$(call ALLYES, SCALE_FILTER YUVTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_16_LIST)
 FATE_PIXFMT_16-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) += $(PIXFMT_16_LIST)
@@ -122,11 +135,11 @@ FATE_PIXFMT_16-RGB-$(call ALLYES, SCALE_FILTER RGBTESTSRC_FILTER LAVFI_INDEV) +=
 FATE_PIXFMT_16-YUV := $(FATE_PIXFMT_16-YUV-yes:%=fate-pixfmt-yuv444p16-%)
 FATE_PIXFMT_16-RGB := $(FATE_PIXFMT_16-RGB-yes:%=fate-pixfmt-gbrp16-%)
 
-$(FATE_PIXFMT_16-YUV): CMD = pixfmt_conversion_ext "yuv"
-$(FATE_PIXFMT_16-RGB): CMD = pixfmt_conversion_ext "rgb"
+$(FATE_PIXFMT_16-YUV): CMD = pixfmt_conversion_ext "yuv" "le"
+$(FATE_PIXFMT_16-RGB): CMD = pixfmt_conversion_ext "rgb" "le"
 
 FATE_PIXFMT_16 := $(FATE_PIXFMT_16-YUV) $(FATE_PIXFMT_16-RGB)
 $(FATE_PIXFMT_16): REF = $(SRC_PATH)/tests/ref/pixfmt/$(@:fate-pixfmt-%=%)
 
-FATE_AVCONV += $(FATE_PIXFMT) $(FATE_PIXFMT_8) $(FATE_PIXFMT_10) $(FATE_PIXFMT_12) $(FATE_PIXFMT_16)
-fate-pixfmt:   $(FATE_PIXFMT) $(FATE_PIXFMT_8) $(FATE_PIXFMT_10) $(FATE_PIXFMT_12) $(FATE_PIXFMT_16)
+FATE_AVCONV += $(FATE_PIXFMT) $(FATE_PIXFMT_8) $(FATE_PIXFMT_EXT) $(FATE_PIXFMT_16)
+fate-pixfmt:   $(FATE_PIXFMT) $(FATE_PIXFMT_8) $(FATE_PIXFMT_EXT) $(FATE_PIXFMT_16)
diff --git a/tests/ref/pixfmt/gbrp-bgr24 b/tests/ref/pixfmt/gbrp-bgr24
new file mode 100644
index 0000000000..cabda1a3a8
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-bgr24
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-bgr24.yuv
+7603200 tests/data/pixfmt/gbrp-bgr24.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp10be b/tests/ref/pixfmt/gbrp-gbrp10be
new file mode 100644
index 0000000000..f2bb7f33b6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp10be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp10be.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp10le b/tests/ref/pixfmt/gbrp-gbrp10le
new file mode 100644
index 0000000000..743151c2c7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp10le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp10le.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp12be b/tests/ref/pixfmt/gbrp-gbrp12be
new file mode 100644
index 0000000000..1e2a89207e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp12be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp12be.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp12le b/tests/ref/pixfmt/gbrp-gbrp12le
new file mode 100644
index 0000000000..449db84df6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp12le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp12le.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp16be b/tests/ref/pixfmt/gbrp-gbrp16be
new file mode 100644
index 0000000000..3695f31c4d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp16be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp16be.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gbrp16le b/tests/ref/pixfmt/gbrp-gbrp16le
new file mode 100644
index 0000000000..ca6fb4ffd7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gbrp16le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-gbrp16le.yuv
+7603200 tests/data/pixfmt/gbrp-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray b/tests/ref/pixfmt/gbrp-gray
new file mode 100644
index 0000000000..15279273ae
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray
@@ -0,0 +1,2 @@
+a93e1b942688baa9b1033f3501f8d454 *tests/data/pixfmt/gbrp-gray.yuv
+7603200 tests/data/pixfmt/gbrp-gray.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray10be b/tests/ref/pixfmt/gbrp-gray10be
new file mode 100644
index 0000000000..3360c68a18
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray10be
@@ -0,0 +1,2 @@
+8a20fd1af1ae56eae204ba52937764a0 *tests/data/pixfmt/gbrp-gray10be.yuv
+7603200 tests/data/pixfmt/gbrp-gray10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray10le b/tests/ref/pixfmt/gbrp-gray10le
new file mode 100644
index 0000000000..1348b3dcdc
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray10le
@@ -0,0 +1,2 @@
+8a20fd1af1ae56eae204ba52937764a0 *tests/data/pixfmt/gbrp-gray10le.yuv
+7603200 tests/data/pixfmt/gbrp-gray10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray12be b/tests/ref/pixfmt/gbrp-gray12be
new file mode 100644
index 0000000000..b07876911b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray12be
@@ -0,0 +1,2 @@
+97b13d8f3715d2c1630f67ffb18758b6 *tests/data/pixfmt/gbrp-gray12be.yuv
+7603200 tests/data/pixfmt/gbrp-gray12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray12le b/tests/ref/pixfmt/gbrp-gray12le
new file mode 100644
index 0000000000..5bde2668df
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray12le
@@ -0,0 +1,2 @@
+97b13d8f3715d2c1630f67ffb18758b6 *tests/data/pixfmt/gbrp-gray12le.yuv
+7603200 tests/data/pixfmt/gbrp-gray12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray16be b/tests/ref/pixfmt/gbrp-gray16be
new file mode 100644
index 0000000000..07262c1b30
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray16be
@@ -0,0 +1,2 @@
+45b0577a5072a9cc1718376aa71a2f84 *tests/data/pixfmt/gbrp-gray16be.yuv
+7603200 tests/data/pixfmt/gbrp-gray16be.yuv
diff --git a/tests/ref/pixfmt/gbrp-gray16le b/tests/ref/pixfmt/gbrp-gray16le
new file mode 100644
index 0000000000..b15caeea55
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-gray16le
@@ -0,0 +1,2 @@
+45b0577a5072a9cc1718376aa71a2f84 *tests/data/pixfmt/gbrp-gray16le.yuv
+7603200 tests/data/pixfmt/gbrp-gray16le.yuv
diff --git a/tests/ref/pixfmt/gbrp-monob b/tests/ref/pixfmt/gbrp-monob
new file mode 100644
index 0000000000..763167008b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-monob
@@ -0,0 +1,2 @@
+03573be7429bc9bc4b966fe35f7861fe *tests/data/pixfmt/gbrp-monob.yuv
+7603200 tests/data/pixfmt/gbrp-monob.yuv
diff --git a/tests/ref/pixfmt/gbrp-monow b/tests/ref/pixfmt/gbrp-monow
new file mode 100644
index 0000000000..cd076b32f7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-monow
@@ -0,0 +1,2 @@
+03573be7429bc9bc4b966fe35f7861fe *tests/data/pixfmt/gbrp-monow.yuv
+7603200 tests/data/pixfmt/gbrp-monow.yuv
diff --git a/tests/ref/pixfmt/gbrp-nv12 b/tests/ref/pixfmt/gbrp-nv12
new file mode 100644
index 0000000000..112dd0b601
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-nv12
@@ -0,0 +1,2 @@
+13f8be3ed2a4a1a8a419e8eb837fbef9 *tests/data/pixfmt/gbrp-nv12.yuv
+7603200 tests/data/pixfmt/gbrp-nv12.yuv
diff --git a/tests/ref/pixfmt/gbrp-nv16 b/tests/ref/pixfmt/gbrp-nv16
new file mode 100644
index 0000000000..5abb0d245d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-nv16
@@ -0,0 +1,2 @@
+a41ccfab2d42cc3204b78a7fce5143a9 *tests/data/pixfmt/gbrp-nv16.yuv
+7603200 tests/data/pixfmt/gbrp-nv16.yuv
diff --git a/tests/ref/pixfmt/gbrp-nv24 b/tests/ref/pixfmt/gbrp-nv24
new file mode 100644
index 0000000000..c897aeacef
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-nv24
@@ -0,0 +1,2 @@
+d7ed2c3b0af84bbdc71f04acbe9b6f28 *tests/data/pixfmt/gbrp-nv24.yuv
+7603200 tests/data/pixfmt/gbrp-nv24.yuv
diff --git a/tests/ref/pixfmt/gbrp-p010be b/tests/ref/pixfmt/gbrp-p010be
new file mode 100644
index 0000000000..720dd68496
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p010be
@@ -0,0 +1,2 @@
+5ccaaa0cce16d3c1ace355ddd1e5327f *tests/data/pixfmt/gbrp-p010be.yuv
+7603200 tests/data/pixfmt/gbrp-p010be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p010le b/tests/ref/pixfmt/gbrp-p010le
new file mode 100644
index 0000000000..9ae8e30396
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p010le
@@ -0,0 +1,2 @@
+5ccaaa0cce16d3c1ace355ddd1e5327f *tests/data/pixfmt/gbrp-p010le.yuv
+7603200 tests/data/pixfmt/gbrp-p010le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p012be b/tests/ref/pixfmt/gbrp-p012be
new file mode 100644
index 0000000000..c1eb0a06f0
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p012be
@@ -0,0 +1,2 @@
+a1cd0780ed4a9db6984896d59bd848ae *tests/data/pixfmt/gbrp-p012be.yuv
+7603200 tests/data/pixfmt/gbrp-p012be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p012le b/tests/ref/pixfmt/gbrp-p012le
new file mode 100644
index 0000000000..5729b8be76
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p012le
@@ -0,0 +1,2 @@
+a1cd0780ed4a9db6984896d59bd848ae *tests/data/pixfmt/gbrp-p012le.yuv
+7603200 tests/data/pixfmt/gbrp-p012le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p016be b/tests/ref/pixfmt/gbrp-p016be
new file mode 100644
index 0000000000..a16e95b7fc
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p016be
@@ -0,0 +1,2 @@
+e83e47ffd01e92b0bf54c925b49400e2 *tests/data/pixfmt/gbrp-p016be.yuv
+7603200 tests/data/pixfmt/gbrp-p016be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p016le b/tests/ref/pixfmt/gbrp-p016le
new file mode 100644
index 0000000000..a9411eb361
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p016le
@@ -0,0 +1,2 @@
+e83e47ffd01e92b0bf54c925b49400e2 *tests/data/pixfmt/gbrp-p016le.yuv
+7603200 tests/data/pixfmt/gbrp-p016le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p210be b/tests/ref/pixfmt/gbrp-p210be
new file mode 100644
index 0000000000..292a2866d0
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p210be
@@ -0,0 +1,2 @@
+af24c15d5ae010de700759a02afddbbd *tests/data/pixfmt/gbrp-p210be.yuv
+7603200 tests/data/pixfmt/gbrp-p210be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p210le b/tests/ref/pixfmt/gbrp-p210le
new file mode 100644
index 0000000000..cc37bb19de
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p210le
@@ -0,0 +1,2 @@
+af24c15d5ae010de700759a02afddbbd *tests/data/pixfmt/gbrp-p210le.yuv
+7603200 tests/data/pixfmt/gbrp-p210le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p212be b/tests/ref/pixfmt/gbrp-p212be
new file mode 100644
index 0000000000..90e362ec2c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p212be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p212be.yuv
+7603200 tests/data/pixfmt/gbrp-p212be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p212le b/tests/ref/pixfmt/gbrp-p212le
new file mode 100644
index 0000000000..f7343ba00c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p212le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p212le.yuv
+7603200 tests/data/pixfmt/gbrp-p212le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p216be b/tests/ref/pixfmt/gbrp-p216be
new file mode 100644
index 0000000000..2c0ce75f07
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p216be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p216be.yuv
+7603200 tests/data/pixfmt/gbrp-p216be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p216le b/tests/ref/pixfmt/gbrp-p216le
new file mode 100644
index 0000000000..c588f9cff7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p216le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p216le.yuv
+7603200 tests/data/pixfmt/gbrp-p216le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p410be b/tests/ref/pixfmt/gbrp-p410be
new file mode 100644
index 0000000000..7738c4a801
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p410be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p410be.yuv
+7603200 tests/data/pixfmt/gbrp-p410be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p410le b/tests/ref/pixfmt/gbrp-p410le
new file mode 100644
index 0000000000..0317c7c910
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p410le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p410le.yuv
+7603200 tests/data/pixfmt/gbrp-p410le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p412be b/tests/ref/pixfmt/gbrp-p412be
new file mode 100644
index 0000000000..71cb42bd46
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p412be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p412be.yuv
+7603200 tests/data/pixfmt/gbrp-p412be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p412le b/tests/ref/pixfmt/gbrp-p412le
new file mode 100644
index 0000000000..b37688fd34
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p412le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p412le.yuv
+7603200 tests/data/pixfmt/gbrp-p412le.yuv
diff --git a/tests/ref/pixfmt/gbrp-p416be b/tests/ref/pixfmt/gbrp-p416be
new file mode 100644
index 0000000000..d9b948a00c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p416be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p416be.yuv
+7603200 tests/data/pixfmt/gbrp-p416be.yuv
diff --git a/tests/ref/pixfmt/gbrp-p416le b/tests/ref/pixfmt/gbrp-p416le
new file mode 100644
index 0000000000..9d5a447a71
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-p416le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-p416le.yuv
+7603200 tests/data/pixfmt/gbrp-p416le.yuv
diff --git a/tests/ref/pixfmt/gbrp-rgb24 b/tests/ref/pixfmt/gbrp-rgb24
new file mode 100644
index 0000000000..e3e2094074
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-rgb24
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-rgb24.yuv
+7603200 tests/data/pixfmt/gbrp-rgb24.yuv
diff --git a/tests/ref/pixfmt/gbrp-rgb32 b/tests/ref/pixfmt/gbrp-rgb32
new file mode 100644
index 0000000000..5a77d0ae04
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-rgb32
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-rgb32.yuv
+7603200 tests/data/pixfmt/gbrp-rgb32.yuv
diff --git a/tests/ref/pixfmt/gbrp-rgb48 b/tests/ref/pixfmt/gbrp-rgb48
new file mode 100644
index 0000000000..5c8f20d61a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-rgb48
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-rgb48.yuv
+7603200 tests/data/pixfmt/gbrp-rgb48.yuv
diff --git a/tests/ref/pixfmt/gbrp-rgb555 b/tests/ref/pixfmt/gbrp-rgb555
new file mode 100644
index 0000000000..8c1bb6ba5d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-rgb555
@@ -0,0 +1,2 @@
+5d64e03cfb2aa21f625bdee163ab2cdb *tests/data/pixfmt/gbrp-rgb555.yuv
+7603200 tests/data/pixfmt/gbrp-rgb555.yuv
diff --git a/tests/ref/pixfmt/gbrp-rgb565 b/tests/ref/pixfmt/gbrp-rgb565
new file mode 100644
index 0000000000..d741a4d263
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-rgb565
@@ -0,0 +1,2 @@
+213fa622818b37865c0f3cb187922127 *tests/data/pixfmt/gbrp-rgb565.yuv
+7603200 tests/data/pixfmt/gbrp-rgb565.yuv
diff --git a/tests/ref/pixfmt/gbrp-uyvy422 b/tests/ref/pixfmt/gbrp-uyvy422
new file mode 100644
index 0000000000..c874509f40
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-uyvy422
@@ -0,0 +1,2 @@
+a41ccfab2d42cc3204b78a7fce5143a9 *tests/data/pixfmt/gbrp-uyvy422.yuv
+7603200 tests/data/pixfmt/gbrp-uyvy422.yuv
diff --git a/tests/ref/pixfmt/gbrp-v30xle b/tests/ref/pixfmt/gbrp-v30xle
new file mode 100644
index 0000000000..7d8f0cb9f2
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-v30xle
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-v30xle.yuv
+7603200 tests/data/pixfmt/gbrp-v30xle.yuv
diff --git a/tests/ref/pixfmt/gbrp-vuyx b/tests/ref/pixfmt/gbrp-vuyx
new file mode 100644
index 0000000000..ec97c04eb8
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-vuyx
@@ -0,0 +1,2 @@
+d7ed2c3b0af84bbdc71f04acbe9b6f28 *tests/data/pixfmt/gbrp-vuyx.yuv
+7603200 tests/data/pixfmt/gbrp-vuyx.yuv
diff --git a/tests/ref/pixfmt/gbrp-vyu444 b/tests/ref/pixfmt/gbrp-vyu444
new file mode 100644
index 0000000000..ae2976fa53
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-vyu444
@@ -0,0 +1,2 @@
+d7ed2c3b0af84bbdc71f04acbe9b6f28 *tests/data/pixfmt/gbrp-vyu444.yuv
+7603200 tests/data/pixfmt/gbrp-vyu444.yuv
diff --git a/tests/ref/pixfmt/gbrp-x2bgr10le b/tests/ref/pixfmt/gbrp-x2bgr10le
new file mode 100644
index 0000000000..c353a7f2ed
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-x2bgr10le
@@ -0,0 +1,2 @@
+dd2fcb8c51c830ec2ef105fc694c1f03 *tests/data/pixfmt/gbrp-x2bgr10le.yuv
+7603200 tests/data/pixfmt/gbrp-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-x2rgb10le b/tests/ref/pixfmt/gbrp-x2rgb10le
new file mode 100644
index 0000000000..aa22f085dd
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-x2rgb10le
@@ -0,0 +1,2 @@
+dd2fcb8c51c830ec2ef105fc694c1f03 *tests/data/pixfmt/gbrp-x2rgb10le.yuv
+7603200 tests/data/pixfmt/gbrp-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-xv30le b/tests/ref/pixfmt/gbrp-xv30le
new file mode 100644
index 0000000000..1b92c29da0
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xv30le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-xv30le.yuv
+7603200 tests/data/pixfmt/gbrp-xv30le.yuv
diff --git a/tests/ref/pixfmt/gbrp-xv36be b/tests/ref/pixfmt/gbrp-xv36be
new file mode 100644
index 0000000000..d204c6c4f1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xv36be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-xv36be.yuv
+7603200 tests/data/pixfmt/gbrp-xv36be.yuv
diff --git a/tests/ref/pixfmt/gbrp-xv36le b/tests/ref/pixfmt/gbrp-xv36le
new file mode 100644
index 0000000000..9444401a3d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xv36le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-xv36le.yuv
+7603200 tests/data/pixfmt/gbrp-xv36le.yuv
diff --git a/tests/ref/pixfmt/gbrp-xv48be b/tests/ref/pixfmt/gbrp-xv48be
new file mode 100644
index 0000000000..223519a9df
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xv48be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-xv48be.yuv
+7603200 tests/data/pixfmt/gbrp-xv48be.yuv
diff --git a/tests/ref/pixfmt/gbrp-xv48le b/tests/ref/pixfmt/gbrp-xv48le
new file mode 100644
index 0000000000..0dd6e8af2f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xv48le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-xv48le.yuv
+7603200 tests/data/pixfmt/gbrp-xv48le.yuv
diff --git a/tests/ref/pixfmt/gbrp-xyz12le b/tests/ref/pixfmt/gbrp-xyz12le
new file mode 100644
index 0000000000..54aaad7a45
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-xyz12le
@@ -0,0 +1,2 @@
+86b542ae625ef5a61cef6b0b703f553f *tests/data/pixfmt/gbrp-xyz12le.yuv
+7603200 tests/data/pixfmt/gbrp-xyz12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-y210le b/tests/ref/pixfmt/gbrp-y210le
new file mode 100644
index 0000000000..0d687f80c7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-y210le
@@ -0,0 +1,2 @@
+af24c15d5ae010de700759a02afddbbd *tests/data/pixfmt/gbrp-y210le.yuv
+7603200 tests/data/pixfmt/gbrp-y210le.yuv
diff --git a/tests/ref/pixfmt/gbrp-y212le b/tests/ref/pixfmt/gbrp-y212le
new file mode 100644
index 0000000000..ffa8414e50
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-y212le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-y212le.yuv
+7603200 tests/data/pixfmt/gbrp-y212le.yuv
diff --git a/tests/ref/pixfmt/gbrp-y216le b/tests/ref/pixfmt/gbrp-y216le
new file mode 100644
index 0000000000..21d6ee78b3
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-y216le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-y216le.yuv
+7603200 tests/data/pixfmt/gbrp-y216le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv410p b/tests/ref/pixfmt/gbrp-yuv410p
new file mode 100644
index 0000000000..bada889190
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv410p
@@ -0,0 +1,2 @@
+a8dd9c61dbb48585d292b2c8757c16cf *tests/data/pixfmt/gbrp-yuv410p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv410p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv411p b/tests/ref/pixfmt/gbrp-yuv411p
new file mode 100644
index 0000000000..042da1637f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv411p
@@ -0,0 +1,2 @@
+228dfe5d09263ccfd9d485a1c2b240e0 *tests/data/pixfmt/gbrp-yuv411p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv411p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p b/tests/ref/pixfmt/gbrp-yuv420p
new file mode 100644
index 0000000000..2f3c6c19a7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p
@@ -0,0 +1,2 @@
+13f8be3ed2a4a1a8a419e8eb837fbef9 *tests/data/pixfmt/gbrp-yuv420p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p10be b/tests/ref/pixfmt/gbrp-yuv420p10be
new file mode 100644
index 0000000000..3bd7d4ab91
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p10be
@@ -0,0 +1,2 @@
+5ccaaa0cce16d3c1ace355ddd1e5327f *tests/data/pixfmt/gbrp-yuv420p10be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p10le b/tests/ref/pixfmt/gbrp-yuv420p10le
new file mode 100644
index 0000000000..08becb5708
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p10le
@@ -0,0 +1,2 @@
+5ccaaa0cce16d3c1ace355ddd1e5327f *tests/data/pixfmt/gbrp-yuv420p10le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p12be b/tests/ref/pixfmt/gbrp-yuv420p12be
new file mode 100644
index 0000000000..f9a8c9fa96
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p12be
@@ -0,0 +1,2 @@
+a1cd0780ed4a9db6984896d59bd848ae *tests/data/pixfmt/gbrp-yuv420p12be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p12le b/tests/ref/pixfmt/gbrp-yuv420p12le
new file mode 100644
index 0000000000..82715c86dc
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p12le
@@ -0,0 +1,2 @@
+a1cd0780ed4a9db6984896d59bd848ae *tests/data/pixfmt/gbrp-yuv420p12le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p16be b/tests/ref/pixfmt/gbrp-yuv420p16be
new file mode 100644
index 0000000000..7ce9b0b6ef
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p16be
@@ -0,0 +1,2 @@
+e83e47ffd01e92b0bf54c925b49400e2 *tests/data/pixfmt/gbrp-yuv420p16be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv420p16le b/tests/ref/pixfmt/gbrp-yuv420p16le
new file mode 100644
index 0000000000..a8be368f5e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv420p16le
@@ -0,0 +1,2 @@
+e83e47ffd01e92b0bf54c925b49400e2 *tests/data/pixfmt/gbrp-yuv420p16le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p b/tests/ref/pixfmt/gbrp-yuv422p
new file mode 100644
index 0000000000..5c209b3cf3
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p
@@ -0,0 +1,2 @@
+a41ccfab2d42cc3204b78a7fce5143a9 *tests/data/pixfmt/gbrp-yuv422p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p10be b/tests/ref/pixfmt/gbrp-yuv422p10be
new file mode 100644
index 0000000000..720ad0fc63
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p10be
@@ -0,0 +1,2 @@
+af24c15d5ae010de700759a02afddbbd *tests/data/pixfmt/gbrp-yuv422p10be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p10le b/tests/ref/pixfmt/gbrp-yuv422p10le
new file mode 100644
index 0000000000..e8beca0ba1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p10le
@@ -0,0 +1,2 @@
+af24c15d5ae010de700759a02afddbbd *tests/data/pixfmt/gbrp-yuv422p10le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p12be b/tests/ref/pixfmt/gbrp-yuv422p12be
new file mode 100644
index 0000000000..0b71b3f355
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p12be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv422p12be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p12le b/tests/ref/pixfmt/gbrp-yuv422p12le
new file mode 100644
index 0000000000..7dc22b76fb
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p12le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv422p12le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p16be b/tests/ref/pixfmt/gbrp-yuv422p16be
new file mode 100644
index 0000000000..b045ddf4c3
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p16be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv422p16be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv422p16le b/tests/ref/pixfmt/gbrp-yuv422p16le
new file mode 100644
index 0000000000..21ca18d877
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv422p16le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv422p16le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv440p b/tests/ref/pixfmt/gbrp-yuv440p
new file mode 100644
index 0000000000..380bb42410
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv440p
@@ -0,0 +1,2 @@
+fc87f8cb284cc53d4306a709d3795655 *tests/data/pixfmt/gbrp-yuv440p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv440p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv440p10be b/tests/ref/pixfmt/gbrp-yuv440p10be
new file mode 100644
index 0000000000..252d672d76
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv440p10be
@@ -0,0 +1,2 @@
+a04376e4164ba477848236ea3124a3cf *tests/data/pixfmt/gbrp-yuv440p10be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv440p10le b/tests/ref/pixfmt/gbrp-yuv440p10le
new file mode 100644
index 0000000000..5cfdf774e6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv440p10le
@@ -0,0 +1,2 @@
+a04376e4164ba477848236ea3124a3cf *tests/data/pixfmt/gbrp-yuv440p10le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv440p12be b/tests/ref/pixfmt/gbrp-yuv440p12be
new file mode 100644
index 0000000000..c7b43743a0
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv440p12be
@@ -0,0 +1,2 @@
+586b3e70e6d041bccdf375fe29de819d *tests/data/pixfmt/gbrp-yuv440p12be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv440p12le b/tests/ref/pixfmt/gbrp-yuv440p12le
new file mode 100644
index 0000000000..9096cfd371
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv440p12le
@@ -0,0 +1,2 @@
+586b3e70e6d041bccdf375fe29de819d *tests/data/pixfmt/gbrp-yuv440p12le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p b/tests/ref/pixfmt/gbrp-yuv444p
new file mode 100644
index 0000000000..144210e0c7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p
@@ -0,0 +1,2 @@
+d7ed2c3b0af84bbdc71f04acbe9b6f28 *tests/data/pixfmt/gbrp-yuv444p.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p10be b/tests/ref/pixfmt/gbrp-yuv444p10be
new file mode 100644
index 0000000000..dfedb94bc7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p10be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p10be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p10le b/tests/ref/pixfmt/gbrp-yuv444p10le
new file mode 100644
index 0000000000..4e6b632af3
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p10le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p10le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p12be b/tests/ref/pixfmt/gbrp-yuv444p12be
new file mode 100644
index 0000000000..ad4f9d4061
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p12be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p12be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p12le b/tests/ref/pixfmt/gbrp-yuv444p12le
new file mode 100644
index 0000000000..54291b018a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p12le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p12le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p16be b/tests/ref/pixfmt/gbrp-yuv444p16be
new file mode 100644
index 0000000000..ce906c0cda
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p16be
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p16be.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuv444p16le b/tests/ref/pixfmt/gbrp-yuv444p16le
new file mode 100644
index 0000000000..a0e9e500ea
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuv444p16le
@@ -0,0 +1,2 @@
+b47e4ab6d421bb8a7f911787aa7ca753 *tests/data/pixfmt/gbrp-yuv444p16le.yuv
+7603200 tests/data/pixfmt/gbrp-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuvj420p b/tests/ref/pixfmt/gbrp-yuvj420p
new file mode 100644
index 0000000000..687cc32e4e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuvj420p
@@ -0,0 +1,2 @@
+d994e8c1d29fcabc7c79d9401623c5a1 *tests/data/pixfmt/gbrp-yuvj420p.yuv
+7603200 tests/data/pixfmt/gbrp-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuvj422p b/tests/ref/pixfmt/gbrp-yuvj422p
new file mode 100644
index 0000000000..f83abb41fc
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuvj422p
@@ -0,0 +1,2 @@
+349322ade87e23ccf47b603d81100029 *tests/data/pixfmt/gbrp-yuvj422p.yuv
+7603200 tests/data/pixfmt/gbrp-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuvj440p b/tests/ref/pixfmt/gbrp-yuvj440p
new file mode 100644
index 0000000000..a9f57da922
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuvj440p
@@ -0,0 +1,2 @@
+de5f4ad61b2c0ae7f35cf38044ad2f91 *tests/data/pixfmt/gbrp-yuvj440p.yuv
+7603200 tests/data/pixfmt/gbrp-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuvj444p b/tests/ref/pixfmt/gbrp-yuvj444p
new file mode 100644
index 0000000000..a9f8e33cc4
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuvj444p
@@ -0,0 +1,2 @@
+e87f13a66f0a93301f2962da1075f7b8 *tests/data/pixfmt/gbrp-yuvj444p.yuv
+7603200 tests/data/pixfmt/gbrp-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/gbrp-yuyv422 b/tests/ref/pixfmt/gbrp-yuyv422
new file mode 100644
index 0000000000..736dee6d9e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yuyv422
@@ -0,0 +1,2 @@
+a41ccfab2d42cc3204b78a7fce5143a9 *tests/data/pixfmt/gbrp-yuyv422.yuv
+7603200 tests/data/pixfmt/gbrp-yuyv422.yuv
diff --git a/tests/ref/pixfmt/gbrp-yvyu422 b/tests/ref/pixfmt/gbrp-yvyu422
new file mode 100644
index 0000000000..1003e8cc62
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp-yvyu422
@@ -0,0 +1,2 @@
+a41ccfab2d42cc3204b78a7fce5143a9 *tests/data/pixfmt/gbrp-yvyu422.yuv
+7603200 tests/data/pixfmt/gbrp-yvyu422.yuv
diff --git a/tests/ref/pixfmt/gbrp10-bgr24 b/tests/ref/pixfmt/gbrp10-bgr24
new file mode 100644
index 0000000000..5a8b22b020
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-bgr24
@@ -0,0 +1,2 @@
+b6485ce3942e6c29e686a4efabb99794 *tests/data/pixfmt/gbrp10-bgr24.yuv
+15206400 tests/data/pixfmt/gbrp10-bgr24.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gbrp12be b/tests/ref/pixfmt/gbrp10-gbrp12be
new file mode 100644
index 0000000000..afdb41f54c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gbrp12be
@@ -0,0 +1,2 @@
+7f930cb77970f5769f596fa7622d2bea *tests/data/pixfmt/gbrp10-gbrp12be.yuv
+15206400 tests/data/pixfmt/gbrp10-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gbrp12le b/tests/ref/pixfmt/gbrp10-gbrp12le
new file mode 100644
index 0000000000..a64d83e023
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gbrp12le
@@ -0,0 +1,2 @@
+7f930cb77970f5769f596fa7622d2bea *tests/data/pixfmt/gbrp10-gbrp12le.yuv
+15206400 tests/data/pixfmt/gbrp10-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gbrp16be b/tests/ref/pixfmt/gbrp10-gbrp16be
new file mode 100644
index 0000000000..525365a337
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gbrp16be
@@ -0,0 +1,2 @@
+ad23874e1664eaade92fa188d5d67fd9 *tests/data/pixfmt/gbrp10-gbrp16be.yuv
+15206400 tests/data/pixfmt/gbrp10-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gbrp16le b/tests/ref/pixfmt/gbrp10-gbrp16le
new file mode 100644
index 0000000000..23a8f9d5b6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gbrp16le
@@ -0,0 +1,2 @@
+ad23874e1664eaade92fa188d5d67fd9 *tests/data/pixfmt/gbrp10-gbrp16le.yuv
+15206400 tests/data/pixfmt/gbrp10-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gray b/tests/ref/pixfmt/gbrp10-gray
new file mode 100644
index 0000000000..d3c57d18aa
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gray
@@ -0,0 +1,2 @@
+24c435bdf0fd3cf0d4bc2c24f8f7b42a *tests/data/pixfmt/gbrp10-gray.yuv
+15206400 tests/data/pixfmt/gbrp10-gray.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gray12be b/tests/ref/pixfmt/gbrp10-gray12be
new file mode 100644
index 0000000000..f2d2168ed3
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gray12be
@@ -0,0 +1,2 @@
+4495a05531c749b6ea131c50c9f627d6 *tests/data/pixfmt/gbrp10-gray12be.yuv
+15206400 tests/data/pixfmt/gbrp10-gray12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gray12le b/tests/ref/pixfmt/gbrp10-gray12le
new file mode 100644
index 0000000000..08f3a9ab1f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gray12le
@@ -0,0 +1,2 @@
+4495a05531c749b6ea131c50c9f627d6 *tests/data/pixfmt/gbrp10-gray12le.yuv
+15206400 tests/data/pixfmt/gbrp10-gray12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gray16be b/tests/ref/pixfmt/gbrp10-gray16be
new file mode 100644
index 0000000000..d533d0a71b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gray16be
@@ -0,0 +1,2 @@
+9f6d8a0307f4405ef74019a156341076 *tests/data/pixfmt/gbrp10-gray16be.yuv
+15206400 tests/data/pixfmt/gbrp10-gray16be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-gray16le b/tests/ref/pixfmt/gbrp10-gray16le
new file mode 100644
index 0000000000..b728632b41
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-gray16le
@@ -0,0 +1,2 @@
+9f6d8a0307f4405ef74019a156341076 *tests/data/pixfmt/gbrp10-gray16le.yuv
+15206400 tests/data/pixfmt/gbrp10-gray16le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-monob b/tests/ref/pixfmt/gbrp10-monob
new file mode 100644
index 0000000000..a4ff67fe3e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-monob
@@ -0,0 +1,2 @@
+2cb56da95fcf7eff098a192613caad83 *tests/data/pixfmt/gbrp10-monob.yuv
+15206400 tests/data/pixfmt/gbrp10-monob.yuv
diff --git a/tests/ref/pixfmt/gbrp10-monow b/tests/ref/pixfmt/gbrp10-monow
new file mode 100644
index 0000000000..108d9bdc25
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-monow
@@ -0,0 +1,2 @@
+2cb56da95fcf7eff098a192613caad83 *tests/data/pixfmt/gbrp10-monow.yuv
+15206400 tests/data/pixfmt/gbrp10-monow.yuv
diff --git a/tests/ref/pixfmt/gbrp10-nv12 b/tests/ref/pixfmt/gbrp10-nv12
new file mode 100644
index 0000000000..20382e61df
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-nv12
@@ -0,0 +1,2 @@
+dfeb7f05970bae694ed8713d284b3f7e *tests/data/pixfmt/gbrp10-nv12.yuv
+15206400 tests/data/pixfmt/gbrp10-nv12.yuv
diff --git a/tests/ref/pixfmt/gbrp10-nv16 b/tests/ref/pixfmt/gbrp10-nv16
new file mode 100644
index 0000000000..c1786d33b7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-nv16
@@ -0,0 +1,2 @@
+87b7f227dd0ef9fb571881d1b05fb801 *tests/data/pixfmt/gbrp10-nv16.yuv
+15206400 tests/data/pixfmt/gbrp10-nv16.yuv
diff --git a/tests/ref/pixfmt/gbrp10-nv24 b/tests/ref/pixfmt/gbrp10-nv24
new file mode 100644
index 0000000000..6c4cb7846d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-nv24
@@ -0,0 +1,2 @@
+df99a669100970de2adfdbf78d3d6282 *tests/data/pixfmt/gbrp10-nv24.yuv
+15206400 tests/data/pixfmt/gbrp10-nv24.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p012be b/tests/ref/pixfmt/gbrp10-p012be
new file mode 100644
index 0000000000..da1d2209e7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p012be
@@ -0,0 +1,2 @@
+7dd3df5612138c3d097f54ec072d53d7 *tests/data/pixfmt/gbrp10-p012be.yuv
+15206400 tests/data/pixfmt/gbrp10-p012be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p012le b/tests/ref/pixfmt/gbrp10-p012le
new file mode 100644
index 0000000000..e1d92d2041
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p012le
@@ -0,0 +1,2 @@
+7dd3df5612138c3d097f54ec072d53d7 *tests/data/pixfmt/gbrp10-p012le.yuv
+15206400 tests/data/pixfmt/gbrp10-p012le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p016be b/tests/ref/pixfmt/gbrp10-p016be
new file mode 100644
index 0000000000..5b2959de13
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p016be
@@ -0,0 +1,2 @@
+c06c4f873180751936e1ff72e4519958 *tests/data/pixfmt/gbrp10-p016be.yuv
+15206400 tests/data/pixfmt/gbrp10-p016be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p016le b/tests/ref/pixfmt/gbrp10-p016le
new file mode 100644
index 0000000000..a3496da349
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p016le
@@ -0,0 +1,2 @@
+c06c4f873180751936e1ff72e4519958 *tests/data/pixfmt/gbrp10-p016le.yuv
+15206400 tests/data/pixfmt/gbrp10-p016le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p212be b/tests/ref/pixfmt/gbrp10-p212be
new file mode 100644
index 0000000000..c82307592a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p212be
@@ -0,0 +1,2 @@
+b42c916b67805484d27dd42107dbb003 *tests/data/pixfmt/gbrp10-p212be.yuv
+15206400 tests/data/pixfmt/gbrp10-p212be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p212le b/tests/ref/pixfmt/gbrp10-p212le
new file mode 100644
index 0000000000..3c683e2950
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p212le
@@ -0,0 +1,2 @@
+b42c916b67805484d27dd42107dbb003 *tests/data/pixfmt/gbrp10-p212le.yuv
+15206400 tests/data/pixfmt/gbrp10-p212le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p216be b/tests/ref/pixfmt/gbrp10-p216be
new file mode 100644
index 0000000000..f6a931147b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p216be
@@ -0,0 +1,2 @@
+6dbe2c32aec93bceb48d5344a3d74c72 *tests/data/pixfmt/gbrp10-p216be.yuv
+15206400 tests/data/pixfmt/gbrp10-p216be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p216le b/tests/ref/pixfmt/gbrp10-p216le
new file mode 100644
index 0000000000..c8fd7a5967
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p216le
@@ -0,0 +1,2 @@
+6dbe2c32aec93bceb48d5344a3d74c72 *tests/data/pixfmt/gbrp10-p216le.yuv
+15206400 tests/data/pixfmt/gbrp10-p216le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p412be b/tests/ref/pixfmt/gbrp10-p412be
new file mode 100644
index 0000000000..0613662fb2
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p412be
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-p412be.yuv
+15206400 tests/data/pixfmt/gbrp10-p412be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p412le b/tests/ref/pixfmt/gbrp10-p412le
new file mode 100644
index 0000000000..24181c8327
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p412le
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-p412le.yuv
+15206400 tests/data/pixfmt/gbrp10-p412le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p416be b/tests/ref/pixfmt/gbrp10-p416be
new file mode 100644
index 0000000000..4c7f0fc7fe
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p416be
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-p416be.yuv
+15206400 tests/data/pixfmt/gbrp10-p416be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-p416le b/tests/ref/pixfmt/gbrp10-p416le
new file mode 100644
index 0000000000..4a3270b82b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-p416le
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-p416le.yuv
+15206400 tests/data/pixfmt/gbrp10-p416le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-rgb24 b/tests/ref/pixfmt/gbrp10-rgb24
new file mode 100644
index 0000000000..ed7d69dc0b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-rgb24
@@ -0,0 +1,2 @@
+b6485ce3942e6c29e686a4efabb99794 *tests/data/pixfmt/gbrp10-rgb24.yuv
+15206400 tests/data/pixfmt/gbrp10-rgb24.yuv
diff --git a/tests/ref/pixfmt/gbrp10-rgb32 b/tests/ref/pixfmt/gbrp10-rgb32
new file mode 100644
index 0000000000..809f25fc81
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-rgb32
@@ -0,0 +1,2 @@
+b6485ce3942e6c29e686a4efabb99794 *tests/data/pixfmt/gbrp10-rgb32.yuv
+15206400 tests/data/pixfmt/gbrp10-rgb32.yuv
diff --git a/tests/ref/pixfmt/gbrp10-rgb48 b/tests/ref/pixfmt/gbrp10-rgb48
new file mode 100644
index 0000000000..4110e4ec4e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-rgb48
@@ -0,0 +1,2 @@
+1f9cc212a4081b6e35811df461b18fec *tests/data/pixfmt/gbrp10-rgb48.yuv
+15206400 tests/data/pixfmt/gbrp10-rgb48.yuv
diff --git a/tests/ref/pixfmt/gbrp10-rgb555 b/tests/ref/pixfmt/gbrp10-rgb555
new file mode 100644
index 0000000000..2226923db2
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-rgb555
@@ -0,0 +1,2 @@
+0d528d039cc48f3811d23edf83088dba *tests/data/pixfmt/gbrp10-rgb555.yuv
+15206400 tests/data/pixfmt/gbrp10-rgb555.yuv
diff --git a/tests/ref/pixfmt/gbrp10-rgb565 b/tests/ref/pixfmt/gbrp10-rgb565
new file mode 100644
index 0000000000..8f4923c942
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-rgb565
@@ -0,0 +1,2 @@
+134b86ea9cb4b2d6ff728c3023338fff *tests/data/pixfmt/gbrp10-rgb565.yuv
+15206400 tests/data/pixfmt/gbrp10-rgb565.yuv
diff --git a/tests/ref/pixfmt/gbrp10-uyvy422 b/tests/ref/pixfmt/gbrp10-uyvy422
new file mode 100644
index 0000000000..6f75b37538
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-uyvy422
@@ -0,0 +1,2 @@
+dad24c60c34b5ef15cbafbe61d095838 *tests/data/pixfmt/gbrp10-uyvy422.yuv
+15206400 tests/data/pixfmt/gbrp10-uyvy422.yuv
diff --git a/tests/ref/pixfmt/gbrp10-vuyx b/tests/ref/pixfmt/gbrp10-vuyx
new file mode 100644
index 0000000000..3eae71ed2f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-vuyx
@@ -0,0 +1,2 @@
+33ac4b3717ef61d92f95a4e72ccf8dcd *tests/data/pixfmt/gbrp10-vuyx.yuv
+15206400 tests/data/pixfmt/gbrp10-vuyx.yuv
diff --git a/tests/ref/pixfmt/gbrp10-vyu444 b/tests/ref/pixfmt/gbrp10-vyu444
new file mode 100644
index 0000000000..c62f1dd6d6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-vyu444
@@ -0,0 +1,2 @@
+33ac4b3717ef61d92f95a4e72ccf8dcd *tests/data/pixfmt/gbrp10-vyu444.yuv
+15206400 tests/data/pixfmt/gbrp10-vyu444.yuv
diff --git a/tests/ref/pixfmt/gbrp10-xv36be b/tests/ref/pixfmt/gbrp10-xv36be
new file mode 100644
index 0000000000..45016f384f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-xv36be
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-xv36be.yuv
+15206400 tests/data/pixfmt/gbrp10-xv36be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-xv36le b/tests/ref/pixfmt/gbrp10-xv36le
new file mode 100644
index 0000000000..80ca41d8a9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-xv36le
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-xv36le.yuv
+15206400 tests/data/pixfmt/gbrp10-xv36le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-xv48be b/tests/ref/pixfmt/gbrp10-xv48be
new file mode 100644
index 0000000000..d916342b7b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-xv48be
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-xv48be.yuv
+15206400 tests/data/pixfmt/gbrp10-xv48be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-xv48le b/tests/ref/pixfmt/gbrp10-xv48le
new file mode 100644
index 0000000000..a7ad98eecc
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-xv48le
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-xv48le.yuv
+15206400 tests/data/pixfmt/gbrp10-xv48le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-xyz12le b/tests/ref/pixfmt/gbrp10-xyz12le
new file mode 100644
index 0000000000..5c7fa53b16
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-xyz12le
@@ -0,0 +1,2 @@
+64eb126dca4cf2bae0b5c7677ed7f266 *tests/data/pixfmt/gbrp10-xyz12le.yuv
+15206400 tests/data/pixfmt/gbrp10-xyz12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-y212le b/tests/ref/pixfmt/gbrp10-y212le
new file mode 100644
index 0000000000..974d69e275
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-y212le
@@ -0,0 +1,2 @@
+b42c916b67805484d27dd42107dbb003 *tests/data/pixfmt/gbrp10-y212le.yuv
+15206400 tests/data/pixfmt/gbrp10-y212le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-y216le b/tests/ref/pixfmt/gbrp10-y216le
new file mode 100644
index 0000000000..dd848baebb
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-y216le
@@ -0,0 +1,2 @@
+6dbe2c32aec93bceb48d5344a3d74c72 *tests/data/pixfmt/gbrp10-y216le.yuv
+15206400 tests/data/pixfmt/gbrp10-y216le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv410p b/tests/ref/pixfmt/gbrp10-yuv410p
new file mode 100644
index 0000000000..92a666ff2d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv410p
@@ -0,0 +1,2 @@
+8729611ebdf2f5ee48131500e2fa21f2 *tests/data/pixfmt/gbrp10-yuv410p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv410p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv411p b/tests/ref/pixfmt/gbrp10-yuv411p
new file mode 100644
index 0000000000..814e0f6315
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv411p
@@ -0,0 +1,2 @@
+3a71e31f567c8ed5fbeb779b448bfb0e *tests/data/pixfmt/gbrp10-yuv411p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv411p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv420p b/tests/ref/pixfmt/gbrp10-yuv420p
new file mode 100644
index 0000000000..6df8d92664
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv420p
@@ -0,0 +1,2 @@
+c1e554255de934b10fbffda5121f2680 *tests/data/pixfmt/gbrp10-yuv420p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv420p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv420p12be b/tests/ref/pixfmt/gbrp10-yuv420p12be
new file mode 100644
index 0000000000..d11c6aeec1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv420p12be
@@ -0,0 +1,2 @@
+7dd3df5612138c3d097f54ec072d53d7 *tests/data/pixfmt/gbrp10-yuv420p12be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv420p12le b/tests/ref/pixfmt/gbrp10-yuv420p12le
new file mode 100644
index 0000000000..151b26108c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv420p12le
@@ -0,0 +1,2 @@
+7dd3df5612138c3d097f54ec072d53d7 *tests/data/pixfmt/gbrp10-yuv420p12le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv420p16be b/tests/ref/pixfmt/gbrp10-yuv420p16be
new file mode 100644
index 0000000000..34a5db8bec
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv420p16be
@@ -0,0 +1,2 @@
+c06c4f873180751936e1ff72e4519958 *tests/data/pixfmt/gbrp10-yuv420p16be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv420p16le b/tests/ref/pixfmt/gbrp10-yuv420p16le
new file mode 100644
index 0000000000..6d31b77e3f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv420p16le
@@ -0,0 +1,2 @@
+c06c4f873180751936e1ff72e4519958 *tests/data/pixfmt/gbrp10-yuv420p16le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv422p b/tests/ref/pixfmt/gbrp10-yuv422p
new file mode 100644
index 0000000000..acc40b29e9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv422p
@@ -0,0 +1,2 @@
+87b7f227dd0ef9fb571881d1b05fb801 *tests/data/pixfmt/gbrp10-yuv422p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv422p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv422p12be b/tests/ref/pixfmt/gbrp10-yuv422p12be
new file mode 100644
index 0000000000..4852815ec2
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv422p12be
@@ -0,0 +1,2 @@
+b42c916b67805484d27dd42107dbb003 *tests/data/pixfmt/gbrp10-yuv422p12be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv422p12le b/tests/ref/pixfmt/gbrp10-yuv422p12le
new file mode 100644
index 0000000000..0f2adc6170
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv422p12le
@@ -0,0 +1,2 @@
+b42c916b67805484d27dd42107dbb003 *tests/data/pixfmt/gbrp10-yuv422p12le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv422p16be b/tests/ref/pixfmt/gbrp10-yuv422p16be
new file mode 100644
index 0000000000..a25cf6d585
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv422p16be
@@ -0,0 +1,2 @@
+6dbe2c32aec93bceb48d5344a3d74c72 *tests/data/pixfmt/gbrp10-yuv422p16be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv422p16le b/tests/ref/pixfmt/gbrp10-yuv422p16le
new file mode 100644
index 0000000000..4862e47122
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv422p16le
@@ -0,0 +1,2 @@
+6dbe2c32aec93bceb48d5344a3d74c72 *tests/data/pixfmt/gbrp10-yuv422p16le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv440p b/tests/ref/pixfmt/gbrp10-yuv440p
new file mode 100644
index 0000000000..961b035bf6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv440p
@@ -0,0 +1,2 @@
+4d8958e1015985ab1e4c72700d85c79d *tests/data/pixfmt/gbrp10-yuv440p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv440p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv440p12be b/tests/ref/pixfmt/gbrp10-yuv440p12be
new file mode 100644
index 0000000000..cb6065ce1d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv440p12be
@@ -0,0 +1,2 @@
+c1bee4636a3590db46c6f772f2156390 *tests/data/pixfmt/gbrp10-yuv440p12be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv440p12le b/tests/ref/pixfmt/gbrp10-yuv440p12le
new file mode 100644
index 0000000000..ac38e46220
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv440p12le
@@ -0,0 +1,2 @@
+c1bee4636a3590db46c6f772f2156390 *tests/data/pixfmt/gbrp10-yuv440p12le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv444p b/tests/ref/pixfmt/gbrp10-yuv444p
new file mode 100644
index 0000000000..24f85c6b6d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv444p
@@ -0,0 +1,2 @@
+e40afe127b0d698b03e1165603e871e1 *tests/data/pixfmt/gbrp10-yuv444p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv444p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv444p12be b/tests/ref/pixfmt/gbrp10-yuv444p12be
new file mode 100644
index 0000000000..3bc03be217
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv444p12be
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-yuv444p12be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv444p12le b/tests/ref/pixfmt/gbrp10-yuv444p12le
new file mode 100644
index 0000000000..9724590812
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv444p12le
@@ -0,0 +1,2 @@
+0c1e85f0c8bb7749c33d373b730d8401 *tests/data/pixfmt/gbrp10-yuv444p12le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv444p16be b/tests/ref/pixfmt/gbrp10-yuv444p16be
new file mode 100644
index 0000000000..84bd037f32
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv444p16be
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-yuv444p16be.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuv444p16le b/tests/ref/pixfmt/gbrp10-yuv444p16le
new file mode 100644
index 0000000000..39aba57b93
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuv444p16le
@@ -0,0 +1,2 @@
+909448714837e324484d85f3da37e2ba *tests/data/pixfmt/gbrp10-yuv444p16le.yuv
+15206400 tests/data/pixfmt/gbrp10-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuvj420p b/tests/ref/pixfmt/gbrp10-yuvj420p
new file mode 100644
index 0000000000..4c7eb135b7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuvj420p
@@ -0,0 +1,2 @@
+790568558c2bb5c11b1e272e83e0d50f *tests/data/pixfmt/gbrp10-yuvj420p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuvj422p b/tests/ref/pixfmt/gbrp10-yuvj422p
new file mode 100644
index 0000000000..02bfea67d0
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuvj422p
@@ -0,0 +1,2 @@
+9a0b4d7cb43d5cddbf88bbcdfc05feda *tests/data/pixfmt/gbrp10-yuvj422p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuvj440p b/tests/ref/pixfmt/gbrp10-yuvj440p
new file mode 100644
index 0000000000..26a1d49089
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuvj440p
@@ -0,0 +1,2 @@
+7c661ef63194d945e50496b51076386a *tests/data/pixfmt/gbrp10-yuvj440p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuvj444p b/tests/ref/pixfmt/gbrp10-yuvj444p
new file mode 100644
index 0000000000..7d408e669e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuvj444p
@@ -0,0 +1,2 @@
+00cbb771e4087528e2a24ffa5f426610 *tests/data/pixfmt/gbrp10-yuvj444p.yuv
+15206400 tests/data/pixfmt/gbrp10-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yuyv422 b/tests/ref/pixfmt/gbrp10-yuyv422
new file mode 100644
index 0000000000..634ab1d265
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yuyv422
@@ -0,0 +1,2 @@
+dad24c60c34b5ef15cbafbe61d095838 *tests/data/pixfmt/gbrp10-yuyv422.yuv
+15206400 tests/data/pixfmt/gbrp10-yuyv422.yuv
diff --git a/tests/ref/pixfmt/gbrp10-yvyu422 b/tests/ref/pixfmt/gbrp10-yvyu422
new file mode 100644
index 0000000000..6e65594b8a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp10-yvyu422
@@ -0,0 +1,2 @@
+dad24c60c34b5ef15cbafbe61d095838 *tests/data/pixfmt/gbrp10-yvyu422.yuv
+15206400 tests/data/pixfmt/gbrp10-yvyu422.yuv
diff --git a/tests/ref/pixfmt/gbrp12-bgr24 b/tests/ref/pixfmt/gbrp12-bgr24
new file mode 100644
index 0000000000..fc27293826
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-bgr24
@@ -0,0 +1,2 @@
+66ff770271dc5054c9e14cf4179f74d5 *tests/data/pixfmt/gbrp12-bgr24.yuv
+15206400 tests/data/pixfmt/gbrp12-bgr24.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gbrp10be b/tests/ref/pixfmt/gbrp12-gbrp10be
new file mode 100644
index 0000000000..6835d2795c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gbrp10be
@@ -0,0 +1,2 @@
+c9ab1508f07f796e2bc583904b438e36 *tests/data/pixfmt/gbrp12-gbrp10be.yuv
+15206400 tests/data/pixfmt/gbrp12-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gbrp10le b/tests/ref/pixfmt/gbrp12-gbrp10le
new file mode 100644
index 0000000000..5055c6895e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gbrp10le
@@ -0,0 +1,2 @@
+c9ab1508f07f796e2bc583904b438e36 *tests/data/pixfmt/gbrp12-gbrp10le.yuv
+15206400 tests/data/pixfmt/gbrp12-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gbrp16be b/tests/ref/pixfmt/gbrp12-gbrp16be
new file mode 100644
index 0000000000..317e8242d5
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gbrp16be
@@ -0,0 +1,2 @@
+6a6eb2abc84624f10d598e04fc3e76bd *tests/data/pixfmt/gbrp12-gbrp16be.yuv
+15206400 tests/data/pixfmt/gbrp12-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gbrp16le b/tests/ref/pixfmt/gbrp12-gbrp16le
new file mode 100644
index 0000000000..31423f57fb
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gbrp16le
@@ -0,0 +1,2 @@
+6a6eb2abc84624f10d598e04fc3e76bd *tests/data/pixfmt/gbrp12-gbrp16le.yuv
+15206400 tests/data/pixfmt/gbrp12-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gray b/tests/ref/pixfmt/gbrp12-gray
new file mode 100644
index 0000000000..9b23da638c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gray
@@ -0,0 +1,2 @@
+9ab4b9416354a8104de101226ec5c072 *tests/data/pixfmt/gbrp12-gray.yuv
+15206400 tests/data/pixfmt/gbrp12-gray.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gray10be b/tests/ref/pixfmt/gbrp12-gray10be
new file mode 100644
index 0000000000..3aa0c93f5a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gray10be
@@ -0,0 +1,2 @@
+1c0440a8414251cefa74fa43055bda48 *tests/data/pixfmt/gbrp12-gray10be.yuv
+15206400 tests/data/pixfmt/gbrp12-gray10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gray10le b/tests/ref/pixfmt/gbrp12-gray10le
new file mode 100644
index 0000000000..8a439f5cae
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gray10le
@@ -0,0 +1,2 @@
+1c0440a8414251cefa74fa43055bda48 *tests/data/pixfmt/gbrp12-gray10le.yuv
+15206400 tests/data/pixfmt/gbrp12-gray10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gray16be b/tests/ref/pixfmt/gbrp12-gray16be
new file mode 100644
index 0000000000..0533c1bcda
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gray16be
@@ -0,0 +1,2 @@
+bfc156f77bf13c14917d625827c66596 *tests/data/pixfmt/gbrp12-gray16be.yuv
+15206400 tests/data/pixfmt/gbrp12-gray16be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-gray16le b/tests/ref/pixfmt/gbrp12-gray16le
new file mode 100644
index 0000000000..91207da4fa
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-gray16le
@@ -0,0 +1,2 @@
+bfc156f77bf13c14917d625827c66596 *tests/data/pixfmt/gbrp12-gray16le.yuv
+15206400 tests/data/pixfmt/gbrp12-gray16le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-monob b/tests/ref/pixfmt/gbrp12-monob
new file mode 100644
index 0000000000..402ccd0d82
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-monob
@@ -0,0 +1,2 @@
+9b41de53a6474d7b22b95bdace642b03 *tests/data/pixfmt/gbrp12-monob.yuv
+15206400 tests/data/pixfmt/gbrp12-monob.yuv
diff --git a/tests/ref/pixfmt/gbrp12-monow b/tests/ref/pixfmt/gbrp12-monow
new file mode 100644
index 0000000000..3bcda7a520
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-monow
@@ -0,0 +1,2 @@
+9b41de53a6474d7b22b95bdace642b03 *tests/data/pixfmt/gbrp12-monow.yuv
+15206400 tests/data/pixfmt/gbrp12-monow.yuv
diff --git a/tests/ref/pixfmt/gbrp12-nv12 b/tests/ref/pixfmt/gbrp12-nv12
new file mode 100644
index 0000000000..294447c67e
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-nv12
@@ -0,0 +1,2 @@
+368d99ad7c86b5a0094b15bbebf6490b *tests/data/pixfmt/gbrp12-nv12.yuv
+15206400 tests/data/pixfmt/gbrp12-nv12.yuv
diff --git a/tests/ref/pixfmt/gbrp12-nv16 b/tests/ref/pixfmt/gbrp12-nv16
new file mode 100644
index 0000000000..8ecde0b41c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-nv16
@@ -0,0 +1,2 @@
+1f52f55fd5890c056f57fdd286af819c *tests/data/pixfmt/gbrp12-nv16.yuv
+15206400 tests/data/pixfmt/gbrp12-nv16.yuv
diff --git a/tests/ref/pixfmt/gbrp12-nv24 b/tests/ref/pixfmt/gbrp12-nv24
new file mode 100644
index 0000000000..8a39b60bef
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-nv24
@@ -0,0 +1,2 @@
+138fe6d7116b1a9d525bd70c355de633 *tests/data/pixfmt/gbrp12-nv24.yuv
+15206400 tests/data/pixfmt/gbrp12-nv24.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p010be b/tests/ref/pixfmt/gbrp12-p010be
new file mode 100644
index 0000000000..76ab7039b7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p010be
@@ -0,0 +1,2 @@
+5b62397fe25c9b3de2507102fa0e1ec3 *tests/data/pixfmt/gbrp12-p010be.yuv
+15206400 tests/data/pixfmt/gbrp12-p010be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p010le b/tests/ref/pixfmt/gbrp12-p010le
new file mode 100644
index 0000000000..95af89802c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p010le
@@ -0,0 +1,2 @@
+5b62397fe25c9b3de2507102fa0e1ec3 *tests/data/pixfmt/gbrp12-p010le.yuv
+15206400 tests/data/pixfmt/gbrp12-p010le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p016be b/tests/ref/pixfmt/gbrp12-p016be
new file mode 100644
index 0000000000..1fb571f2d1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p016be
@@ -0,0 +1,2 @@
+704dade6ae41aadfba8e8311a39d9984 *tests/data/pixfmt/gbrp12-p016be.yuv
+15206400 tests/data/pixfmt/gbrp12-p016be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p016le b/tests/ref/pixfmt/gbrp12-p016le
new file mode 100644
index 0000000000..e7fd557fdb
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p016le
@@ -0,0 +1,2 @@
+704dade6ae41aadfba8e8311a39d9984 *tests/data/pixfmt/gbrp12-p016le.yuv
+15206400 tests/data/pixfmt/gbrp12-p016le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p210be b/tests/ref/pixfmt/gbrp12-p210be
new file mode 100644
index 0000000000..ccadc330b6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p210be
@@ -0,0 +1,2 @@
+95d58c2b4a50057936efa1d8ddf2f56a *tests/data/pixfmt/gbrp12-p210be.yuv
+15206400 tests/data/pixfmt/gbrp12-p210be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p210le b/tests/ref/pixfmt/gbrp12-p210le
new file mode 100644
index 0000000000..2a98c6a109
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p210le
@@ -0,0 +1,2 @@
+95d58c2b4a50057936efa1d8ddf2f56a *tests/data/pixfmt/gbrp12-p210le.yuv
+15206400 tests/data/pixfmt/gbrp12-p210le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p216be b/tests/ref/pixfmt/gbrp12-p216be
new file mode 100644
index 0000000000..255a340d63
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p216be
@@ -0,0 +1,2 @@
+7aa2bcfee802400689ca15f79235dba3 *tests/data/pixfmt/gbrp12-p216be.yuv
+15206400 tests/data/pixfmt/gbrp12-p216be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p216le b/tests/ref/pixfmt/gbrp12-p216le
new file mode 100644
index 0000000000..7412f4d20f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p216le
@@ -0,0 +1,2 @@
+7aa2bcfee802400689ca15f79235dba3 *tests/data/pixfmt/gbrp12-p216le.yuv
+15206400 tests/data/pixfmt/gbrp12-p216le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p410be b/tests/ref/pixfmt/gbrp12-p410be
new file mode 100644
index 0000000000..ddc9b9203f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p410be
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-p410be.yuv
+15206400 tests/data/pixfmt/gbrp12-p410be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p410le b/tests/ref/pixfmt/gbrp12-p410le
new file mode 100644
index 0000000000..9e6d073d5c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p410le
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-p410le.yuv
+15206400 tests/data/pixfmt/gbrp12-p410le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p416be b/tests/ref/pixfmt/gbrp12-p416be
new file mode 100644
index 0000000000..be1aa56934
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p416be
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-p416be.yuv
+15206400 tests/data/pixfmt/gbrp12-p416be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-p416le b/tests/ref/pixfmt/gbrp12-p416le
new file mode 100644
index 0000000000..0b450f04c5
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-p416le
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-p416le.yuv
+15206400 tests/data/pixfmt/gbrp12-p416le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-rgb24 b/tests/ref/pixfmt/gbrp12-rgb24
new file mode 100644
index 0000000000..3933a752c6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-rgb24
@@ -0,0 +1,2 @@
+66ff770271dc5054c9e14cf4179f74d5 *tests/data/pixfmt/gbrp12-rgb24.yuv
+15206400 tests/data/pixfmt/gbrp12-rgb24.yuv
diff --git a/tests/ref/pixfmt/gbrp12-rgb32 b/tests/ref/pixfmt/gbrp12-rgb32
new file mode 100644
index 0000000000..76b640b025
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-rgb32
@@ -0,0 +1,2 @@
+66ff770271dc5054c9e14cf4179f74d5 *tests/data/pixfmt/gbrp12-rgb32.yuv
+15206400 tests/data/pixfmt/gbrp12-rgb32.yuv
diff --git a/tests/ref/pixfmt/gbrp12-rgb48 b/tests/ref/pixfmt/gbrp12-rgb48
new file mode 100644
index 0000000000..39919669d9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-rgb48
@@ -0,0 +1,2 @@
+29ab3d9be7c7e05ff55143bc2b74c21a *tests/data/pixfmt/gbrp12-rgb48.yuv
+15206400 tests/data/pixfmt/gbrp12-rgb48.yuv
diff --git a/tests/ref/pixfmt/gbrp12-rgb555 b/tests/ref/pixfmt/gbrp12-rgb555
new file mode 100644
index 0000000000..f6abdca17f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-rgb555
@@ -0,0 +1,2 @@
+150d97d13d516beed8711b84565fd21c *tests/data/pixfmt/gbrp12-rgb555.yuv
+15206400 tests/data/pixfmt/gbrp12-rgb555.yuv
diff --git a/tests/ref/pixfmt/gbrp12-rgb565 b/tests/ref/pixfmt/gbrp12-rgb565
new file mode 100644
index 0000000000..92ad0249a8
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-rgb565
@@ -0,0 +1,2 @@
+b3d68d562ab21e7dafebf0559cb9205d *tests/data/pixfmt/gbrp12-rgb565.yuv
+15206400 tests/data/pixfmt/gbrp12-rgb565.yuv
diff --git a/tests/ref/pixfmt/gbrp12-uyvy422 b/tests/ref/pixfmt/gbrp12-uyvy422
new file mode 100644
index 0000000000..25983642e5
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-uyvy422
@@ -0,0 +1,2 @@
+7265dff331a25aa27d1cefc9a93187fa *tests/data/pixfmt/gbrp12-uyvy422.yuv
+15206400 tests/data/pixfmt/gbrp12-uyvy422.yuv
diff --git a/tests/ref/pixfmt/gbrp12-v30xle b/tests/ref/pixfmt/gbrp12-v30xle
new file mode 100644
index 0000000000..fd80b0a39d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-v30xle
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-v30xle.yuv
+15206400 tests/data/pixfmt/gbrp12-v30xle.yuv
diff --git a/tests/ref/pixfmt/gbrp12-vuyx b/tests/ref/pixfmt/gbrp12-vuyx
new file mode 100644
index 0000000000..cc922eabbf
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-vuyx
@@ -0,0 +1,2 @@
+957966291224d1bd2daaf987a9aebbd0 *tests/data/pixfmt/gbrp12-vuyx.yuv
+15206400 tests/data/pixfmt/gbrp12-vuyx.yuv
diff --git a/tests/ref/pixfmt/gbrp12-vyu444 b/tests/ref/pixfmt/gbrp12-vyu444
new file mode 100644
index 0000000000..55d1f18e7d
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-vyu444
@@ -0,0 +1,2 @@
+957966291224d1bd2daaf987a9aebbd0 *tests/data/pixfmt/gbrp12-vyu444.yuv
+15206400 tests/data/pixfmt/gbrp12-vyu444.yuv
diff --git a/tests/ref/pixfmt/gbrp12-x2bgr10le b/tests/ref/pixfmt/gbrp12-x2bgr10le
new file mode 100644
index 0000000000..63499a45d1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-x2bgr10le
@@ -0,0 +1,2 @@
+23839c6a3f93482c04760df76380d2ae *tests/data/pixfmt/gbrp12-x2bgr10le.yuv
+15206400 tests/data/pixfmt/gbrp12-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-x2rgb10le b/tests/ref/pixfmt/gbrp12-x2rgb10le
new file mode 100644
index 0000000000..3dcf864408
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-x2rgb10le
@@ -0,0 +1,2 @@
+23839c6a3f93482c04760df76380d2ae *tests/data/pixfmt/gbrp12-x2rgb10le.yuv
+15206400 tests/data/pixfmt/gbrp12-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-xv30le b/tests/ref/pixfmt/gbrp12-xv30le
new file mode 100644
index 0000000000..01a5c8e052
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-xv30le
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-xv30le.yuv
+15206400 tests/data/pixfmt/gbrp12-xv30le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-xv48be b/tests/ref/pixfmt/gbrp12-xv48be
new file mode 100644
index 0000000000..791db87eea
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-xv48be
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-xv48be.yuv
+15206400 tests/data/pixfmt/gbrp12-xv48be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-xv48le b/tests/ref/pixfmt/gbrp12-xv48le
new file mode 100644
index 0000000000..9d9e6c1de6
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-xv48le
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-xv48le.yuv
+15206400 tests/data/pixfmt/gbrp12-xv48le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-xyz12le b/tests/ref/pixfmt/gbrp12-xyz12le
new file mode 100644
index 0000000000..d388a18089
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-xyz12le
@@ -0,0 +1,2 @@
+6780af8d13a4d8dcbf479d86f1099e23 *tests/data/pixfmt/gbrp12-xyz12le.yuv
+15206400 tests/data/pixfmt/gbrp12-xyz12le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-y210le b/tests/ref/pixfmt/gbrp12-y210le
new file mode 100644
index 0000000000..ea8c88c7cd
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-y210le
@@ -0,0 +1,2 @@
+95d58c2b4a50057936efa1d8ddf2f56a *tests/data/pixfmt/gbrp12-y210le.yuv
+15206400 tests/data/pixfmt/gbrp12-y210le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-y216le b/tests/ref/pixfmt/gbrp12-y216le
new file mode 100644
index 0000000000..3da971cb18
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-y216le
@@ -0,0 +1,2 @@
+7aa2bcfee802400689ca15f79235dba3 *tests/data/pixfmt/gbrp12-y216le.yuv
+15206400 tests/data/pixfmt/gbrp12-y216le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv410p b/tests/ref/pixfmt/gbrp12-yuv410p
new file mode 100644
index 0000000000..3ec80e87c9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv410p
@@ -0,0 +1,2 @@
+867e7a301b7b8ba4f0f4728b72b81cb5 *tests/data/pixfmt/gbrp12-yuv410p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv410p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv411p b/tests/ref/pixfmt/gbrp12-yuv411p
new file mode 100644
index 0000000000..2d6d9b1b23
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv411p
@@ -0,0 +1,2 @@
+14618a5c87fa0550461d7d6a92235e43 *tests/data/pixfmt/gbrp12-yuv411p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv411p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv420p b/tests/ref/pixfmt/gbrp12-yuv420p
new file mode 100644
index 0000000000..53b3919f0f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv420p
@@ -0,0 +1,2 @@
+faa7b7f6332300263711e46d8c6a1841 *tests/data/pixfmt/gbrp12-yuv420p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv420p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv420p10be b/tests/ref/pixfmt/gbrp12-yuv420p10be
new file mode 100644
index 0000000000..19620b38f4
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv420p10be
@@ -0,0 +1,2 @@
+5b62397fe25c9b3de2507102fa0e1ec3 *tests/data/pixfmt/gbrp12-yuv420p10be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv420p10le b/tests/ref/pixfmt/gbrp12-yuv420p10le
new file mode 100644
index 0000000000..3eca3210d1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv420p10le
@@ -0,0 +1,2 @@
+5b62397fe25c9b3de2507102fa0e1ec3 *tests/data/pixfmt/gbrp12-yuv420p10le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv420p16be b/tests/ref/pixfmt/gbrp12-yuv420p16be
new file mode 100644
index 0000000000..59aaa9f81a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv420p16be
@@ -0,0 +1,2 @@
+704dade6ae41aadfba8e8311a39d9984 *tests/data/pixfmt/gbrp12-yuv420p16be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv420p16le b/tests/ref/pixfmt/gbrp12-yuv420p16le
new file mode 100644
index 0000000000..7e3e22f251
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv420p16le
@@ -0,0 +1,2 @@
+704dade6ae41aadfba8e8311a39d9984 *tests/data/pixfmt/gbrp12-yuv420p16le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv422p b/tests/ref/pixfmt/gbrp12-yuv422p
new file mode 100644
index 0000000000..6124dc9f4f
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv422p
@@ -0,0 +1,2 @@
+1f52f55fd5890c056f57fdd286af819c *tests/data/pixfmt/gbrp12-yuv422p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv422p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv422p10be b/tests/ref/pixfmt/gbrp12-yuv422p10be
new file mode 100644
index 0000000000..ce49fb213a
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv422p10be
@@ -0,0 +1,2 @@
+95d58c2b4a50057936efa1d8ddf2f56a *tests/data/pixfmt/gbrp12-yuv422p10be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv422p10le b/tests/ref/pixfmt/gbrp12-yuv422p10le
new file mode 100644
index 0000000000..38488ff7a2
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv422p10le
@@ -0,0 +1,2 @@
+95d58c2b4a50057936efa1d8ddf2f56a *tests/data/pixfmt/gbrp12-yuv422p10le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv422p16be b/tests/ref/pixfmt/gbrp12-yuv422p16be
new file mode 100644
index 0000000000..0f4b052c1c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv422p16be
@@ -0,0 +1,2 @@
+7aa2bcfee802400689ca15f79235dba3 *tests/data/pixfmt/gbrp12-yuv422p16be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv422p16le b/tests/ref/pixfmt/gbrp12-yuv422p16le
new file mode 100644
index 0000000000..627277a8a7
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv422p16le
@@ -0,0 +1,2 @@
+7aa2bcfee802400689ca15f79235dba3 *tests/data/pixfmt/gbrp12-yuv422p16le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv440p b/tests/ref/pixfmt/gbrp12-yuv440p
new file mode 100644
index 0000000000..24cf156314
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv440p
@@ -0,0 +1,2 @@
+afea85180f00c05b62ca779db14fdf9a *tests/data/pixfmt/gbrp12-yuv440p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv440p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv440p10be b/tests/ref/pixfmt/gbrp12-yuv440p10be
new file mode 100644
index 0000000000..1a448fc626
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv440p10be
@@ -0,0 +1,2 @@
+7057947d4633311b8b0fae8bf302b868 *tests/data/pixfmt/gbrp12-yuv440p10be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv440p10le b/tests/ref/pixfmt/gbrp12-yuv440p10le
new file mode 100644
index 0000000000..e5c9daded9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv440p10le
@@ -0,0 +1,2 @@
+7057947d4633311b8b0fae8bf302b868 *tests/data/pixfmt/gbrp12-yuv440p10le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv444p b/tests/ref/pixfmt/gbrp12-yuv444p
new file mode 100644
index 0000000000..07ec3bca9c
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv444p
@@ -0,0 +1,2 @@
+e285d138f196a7b9e13e4703c97420d2 *tests/data/pixfmt/gbrp12-yuv444p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv444p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv444p10be b/tests/ref/pixfmt/gbrp12-yuv444p10be
new file mode 100644
index 0000000000..e9901b2a47
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv444p10be
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-yuv444p10be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv444p10le b/tests/ref/pixfmt/gbrp12-yuv444p10le
new file mode 100644
index 0000000000..b8aaff9ed4
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv444p10le
@@ -0,0 +1,2 @@
+c730816956a8da23abeba5d2d3f51ec6 *tests/data/pixfmt/gbrp12-yuv444p10le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv444p16be b/tests/ref/pixfmt/gbrp12-yuv444p16be
new file mode 100644
index 0000000000..482be43b2b
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv444p16be
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-yuv444p16be.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuv444p16le b/tests/ref/pixfmt/gbrp12-yuv444p16le
new file mode 100644
index 0000000000..3849568bca
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuv444p16le
@@ -0,0 +1,2 @@
+f180a96fd9e4d53a2229b37bf6d57094 *tests/data/pixfmt/gbrp12-yuv444p16le.yuv
+15206400 tests/data/pixfmt/gbrp12-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuvj420p b/tests/ref/pixfmt/gbrp12-yuvj420p
new file mode 100644
index 0000000000..da61d106de
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuvj420p
@@ -0,0 +1,2 @@
+b3d1f7f3a4f632de299f92563383c5e1 *tests/data/pixfmt/gbrp12-yuvj420p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuvj422p b/tests/ref/pixfmt/gbrp12-yuvj422p
new file mode 100644
index 0000000000..17c90029d1
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuvj422p
@@ -0,0 +1,2 @@
+2b52bf685af652a16ccf6cb87282460f *tests/data/pixfmt/gbrp12-yuvj422p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuvj440p b/tests/ref/pixfmt/gbrp12-yuvj440p
new file mode 100644
index 0000000000..5010b10e17
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuvj440p
@@ -0,0 +1,2 @@
+3f0a4963b8ed81fec8ec8d6704e6b068 *tests/data/pixfmt/gbrp12-yuvj440p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuvj444p b/tests/ref/pixfmt/gbrp12-yuvj444p
new file mode 100644
index 0000000000..e30247ce68
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuvj444p
@@ -0,0 +1,2 @@
+cc00f1c89aef63730207fdf4d2a2a880 *tests/data/pixfmt/gbrp12-yuvj444p.yuv
+15206400 tests/data/pixfmt/gbrp12-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yuyv422 b/tests/ref/pixfmt/gbrp12-yuyv422
new file mode 100644
index 0000000000..53408a7d81
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yuyv422
@@ -0,0 +1,2 @@
+7265dff331a25aa27d1cefc9a93187fa *tests/data/pixfmt/gbrp12-yuyv422.yuv
+15206400 tests/data/pixfmt/gbrp12-yuyv422.yuv
diff --git a/tests/ref/pixfmt/gbrp12-yvyu422 b/tests/ref/pixfmt/gbrp12-yvyu422
new file mode 100644
index 0000000000..3adb6437e9
--- /dev/null
+++ b/tests/ref/pixfmt/gbrp12-yvyu422
@@ -0,0 +1,2 @@
+7265dff331a25aa27d1cefc9a93187fa *tests/data/pixfmt/gbrp12-yvyu422.yuv
+15206400 tests/data/pixfmt/gbrp12-yvyu422.yuv
diff --git a/tests/ref/pixfmt/nv12 b/tests/ref/pixfmt/nv12
new file mode 100644
index 0000000000..5b931d538e
--- /dev/null
+++ b/tests/ref/pixfmt/nv12
@@ -0,0 +1,2 @@
+5641dba168ff665af1cdb4a91e1afdd6 *tests/data/pixfmt/nv12.yuv
+304128 tests/data/pixfmt/nv12.yuv
diff --git a/tests/ref/pixfmt/nv16 b/tests/ref/pixfmt/nv16
new file mode 100644
index 0000000000..8305f92b51
--- /dev/null
+++ b/tests/ref/pixfmt/nv16
@@ -0,0 +1,2 @@
+ac68f9fdd9d55efd0306d9b004038761 *tests/data/pixfmt/nv16.yuv
+304128 tests/data/pixfmt/nv16.yuv
diff --git a/tests/ref/pixfmt/nv24 b/tests/ref/pixfmt/nv24
new file mode 100644
index 0000000000..ea855068bd
--- /dev/null
+++ b/tests/ref/pixfmt/nv24
@@ -0,0 +1,2 @@
+5641dba168ff665af1cdb4a91e1afdd6 *tests/data/pixfmt/nv24.yuv
+304128 tests/data/pixfmt/nv24.yuv
diff --git a/tests/ref/pixfmt/rgb24-bgr24 b/tests/ref/pixfmt/rgb24-bgr24
new file mode 100644
index 0000000000..bc20ea5e7c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-bgr24
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-bgr24.yuv
+7603200 tests/data/pixfmt/rgb24-bgr24.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp10be b/tests/ref/pixfmt/rgb24-gbrp10be
new file mode 100644
index 0000000000..008b29fb87
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp10be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp10be.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp10le b/tests/ref/pixfmt/rgb24-gbrp10le
new file mode 100644
index 0000000000..f5d12db199
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp10le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp10le.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp12be b/tests/ref/pixfmt/rgb24-gbrp12be
new file mode 100644
index 0000000000..2a927522b4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp12be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp12be.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp12le b/tests/ref/pixfmt/rgb24-gbrp12le
new file mode 100644
index 0000000000..de9c01f84b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp12le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp12le.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp16be b/tests/ref/pixfmt/rgb24-gbrp16be
new file mode 100644
index 0000000000..4cf65444b4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp16be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp16be.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gbrp16le b/tests/ref/pixfmt/rgb24-gbrp16le
new file mode 100644
index 0000000000..635916f12c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gbrp16le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-gbrp16le.yuv
+7603200 tests/data/pixfmt/rgb24-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray b/tests/ref/pixfmt/rgb24-gray
new file mode 100644
index 0000000000..f81e6663ad
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray
@@ -0,0 +1,2 @@
+f4d49bf8321d4348d900a947ff6122b4 *tests/data/pixfmt/rgb24-gray.yuv
+7603200 tests/data/pixfmt/rgb24-gray.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray10be b/tests/ref/pixfmt/rgb24-gray10be
new file mode 100644
index 0000000000..109035acd4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray10be
@@ -0,0 +1,2 @@
+afb069f62cbc47223a45f6746b4f37ec *tests/data/pixfmt/rgb24-gray10be.yuv
+7603200 tests/data/pixfmt/rgb24-gray10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray10le b/tests/ref/pixfmt/rgb24-gray10le
new file mode 100644
index 0000000000..f65b923501
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray10le
@@ -0,0 +1,2 @@
+afb069f62cbc47223a45f6746b4f37ec *tests/data/pixfmt/rgb24-gray10le.yuv
+7603200 tests/data/pixfmt/rgb24-gray10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray12be b/tests/ref/pixfmt/rgb24-gray12be
new file mode 100644
index 0000000000..e051e72dfb
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray12be
@@ -0,0 +1,2 @@
+a4e7852daa8556aaa547ddd70753388d *tests/data/pixfmt/rgb24-gray12be.yuv
+7603200 tests/data/pixfmt/rgb24-gray12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray12le b/tests/ref/pixfmt/rgb24-gray12le
new file mode 100644
index 0000000000..a246b7c7e9
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray12le
@@ -0,0 +1,2 @@
+a4e7852daa8556aaa547ddd70753388d *tests/data/pixfmt/rgb24-gray12le.yuv
+7603200 tests/data/pixfmt/rgb24-gray12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray16be b/tests/ref/pixfmt/rgb24-gray16be
new file mode 100644
index 0000000000..ed282940df
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray16be
@@ -0,0 +1,2 @@
+6fa884570c95d114d36bbcb19782963b *tests/data/pixfmt/rgb24-gray16be.yuv
+7603200 tests/data/pixfmt/rgb24-gray16be.yuv
diff --git a/tests/ref/pixfmt/rgb24-gray16le b/tests/ref/pixfmt/rgb24-gray16le
new file mode 100644
index 0000000000..b3a8c4d9b9
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-gray16le
@@ -0,0 +1,2 @@
+6fa884570c95d114d36bbcb19782963b *tests/data/pixfmt/rgb24-gray16le.yuv
+7603200 tests/data/pixfmt/rgb24-gray16le.yuv
diff --git a/tests/ref/pixfmt/rgb24-monob b/tests/ref/pixfmt/rgb24-monob
new file mode 100644
index 0000000000..7407cf4fd7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-monob
@@ -0,0 +1,2 @@
+24e90e54f4003cb74d1f1761da61abe5 *tests/data/pixfmt/rgb24-monob.yuv
+7603200 tests/data/pixfmt/rgb24-monob.yuv
diff --git a/tests/ref/pixfmt/rgb24-monow b/tests/ref/pixfmt/rgb24-monow
new file mode 100644
index 0000000000..c74f7737ac
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-monow
@@ -0,0 +1,2 @@
+24e90e54f4003cb74d1f1761da61abe5 *tests/data/pixfmt/rgb24-monow.yuv
+7603200 tests/data/pixfmt/rgb24-monow.yuv
diff --git a/tests/ref/pixfmt/rgb24-nv12 b/tests/ref/pixfmt/rgb24-nv12
new file mode 100644
index 0000000000..e12e963ae8
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-nv12
@@ -0,0 +1,2 @@
+c50d8e79fb0c447a7d92e7780aaa2b54 *tests/data/pixfmt/rgb24-nv12.yuv
+7603200 tests/data/pixfmt/rgb24-nv12.yuv
diff --git a/tests/ref/pixfmt/rgb24-nv16 b/tests/ref/pixfmt/rgb24-nv16
new file mode 100644
index 0000000000..cf9f9307e5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-nv16
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-nv16.yuv
+7603200 tests/data/pixfmt/rgb24-nv16.yuv
diff --git a/tests/ref/pixfmt/rgb24-nv24 b/tests/ref/pixfmt/rgb24-nv24
new file mode 100644
index 0000000000..f1c0da5843
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-nv24
@@ -0,0 +1,2 @@
+d5f6d817ca410332064c4b92ca355f35 *tests/data/pixfmt/rgb24-nv24.yuv
+7603200 tests/data/pixfmt/rgb24-nv24.yuv
diff --git a/tests/ref/pixfmt/rgb24-p010be b/tests/ref/pixfmt/rgb24-p010be
new file mode 100644
index 0000000000..bc38709a6a
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p010be
@@ -0,0 +1,2 @@
+5a865e5d85e660c4d691a2018355a9b8 *tests/data/pixfmt/rgb24-p010be.yuv
+7603200 tests/data/pixfmt/rgb24-p010be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p010le b/tests/ref/pixfmt/rgb24-p010le
new file mode 100644
index 0000000000..bace3e8baf
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p010le
@@ -0,0 +1,2 @@
+5a865e5d85e660c4d691a2018355a9b8 *tests/data/pixfmt/rgb24-p010le.yuv
+7603200 tests/data/pixfmt/rgb24-p010le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p012be b/tests/ref/pixfmt/rgb24-p012be
new file mode 100644
index 0000000000..3f0945f3b5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p012be
@@ -0,0 +1,2 @@
+deb598e81ec70a3ade89d2bd3cf24739 *tests/data/pixfmt/rgb24-p012be.yuv
+7603200 tests/data/pixfmt/rgb24-p012be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p012le b/tests/ref/pixfmt/rgb24-p012le
new file mode 100644
index 0000000000..fe2ae35ebf
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p012le
@@ -0,0 +1,2 @@
+deb598e81ec70a3ade89d2bd3cf24739 *tests/data/pixfmt/rgb24-p012le.yuv
+7603200 tests/data/pixfmt/rgb24-p012le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p016be b/tests/ref/pixfmt/rgb24-p016be
new file mode 100644
index 0000000000..4510406164
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p016be
@@ -0,0 +1,2 @@
+040e45b750dd445538565b808cc1814f *tests/data/pixfmt/rgb24-p016be.yuv
+7603200 tests/data/pixfmt/rgb24-p016be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p016le b/tests/ref/pixfmt/rgb24-p016le
new file mode 100644
index 0000000000..e683fc98d4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p016le
@@ -0,0 +1,2 @@
+040e45b750dd445538565b808cc1814f *tests/data/pixfmt/rgb24-p016le.yuv
+7603200 tests/data/pixfmt/rgb24-p016le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p210be b/tests/ref/pixfmt/rgb24-p210be
new file mode 100644
index 0000000000..c2dff8659c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p210be
@@ -0,0 +1,2 @@
+d7307ece8893eec9a9025a1ca94be5db *tests/data/pixfmt/rgb24-p210be.yuv
+7603200 tests/data/pixfmt/rgb24-p210be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p210le b/tests/ref/pixfmt/rgb24-p210le
new file mode 100644
index 0000000000..bc8b23138c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p210le
@@ -0,0 +1,2 @@
+d7307ece8893eec9a9025a1ca94be5db *tests/data/pixfmt/rgb24-p210le.yuv
+7603200 tests/data/pixfmt/rgb24-p210le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p212be b/tests/ref/pixfmt/rgb24-p212be
new file mode 100644
index 0000000000..5c2c94e85b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p212be
@@ -0,0 +1,2 @@
+1ea4c3048875f8def9ef3dceff4d245d *tests/data/pixfmt/rgb24-p212be.yuv
+7603200 tests/data/pixfmt/rgb24-p212be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p212le b/tests/ref/pixfmt/rgb24-p212le
new file mode 100644
index 0000000000..0a5b13be2f
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p212le
@@ -0,0 +1,2 @@
+1ea4c3048875f8def9ef3dceff4d245d *tests/data/pixfmt/rgb24-p212le.yuv
+7603200 tests/data/pixfmt/rgb24-p212le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p216be b/tests/ref/pixfmt/rgb24-p216be
new file mode 100644
index 0000000000..5c5a3be298
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p216be
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-p216be.yuv
+7603200 tests/data/pixfmt/rgb24-p216be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p216le b/tests/ref/pixfmt/rgb24-p216le
new file mode 100644
index 0000000000..439308c55f
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p216le
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-p216le.yuv
+7603200 tests/data/pixfmt/rgb24-p216le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p410be b/tests/ref/pixfmt/rgb24-p410be
new file mode 100644
index 0000000000..d40111fb03
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p410be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p410be.yuv
+7603200 tests/data/pixfmt/rgb24-p410be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p410le b/tests/ref/pixfmt/rgb24-p410le
new file mode 100644
index 0000000000..5a799dd125
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p410le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p410le.yuv
+7603200 tests/data/pixfmt/rgb24-p410le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p412be b/tests/ref/pixfmt/rgb24-p412be
new file mode 100644
index 0000000000..b7c4311361
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p412be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p412be.yuv
+7603200 tests/data/pixfmt/rgb24-p412be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p412le b/tests/ref/pixfmt/rgb24-p412le
new file mode 100644
index 0000000000..fffe019081
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p412le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p412le.yuv
+7603200 tests/data/pixfmt/rgb24-p412le.yuv
diff --git a/tests/ref/pixfmt/rgb24-p416be b/tests/ref/pixfmt/rgb24-p416be
new file mode 100644
index 0000000000..a0e504d56c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p416be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p416be.yuv
+7603200 tests/data/pixfmt/rgb24-p416be.yuv
diff --git a/tests/ref/pixfmt/rgb24-p416le b/tests/ref/pixfmt/rgb24-p416le
new file mode 100644
index 0000000000..db7444ad47
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-p416le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-p416le.yuv
+7603200 tests/data/pixfmt/rgb24-p416le.yuv
diff --git a/tests/ref/pixfmt/rgb24-rgb24 b/tests/ref/pixfmt/rgb24-rgb24
new file mode 100644
index 0000000000..410eb68579
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-rgb24
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-rgb24.yuv
+7603200 tests/data/pixfmt/rgb24-rgb24.yuv
diff --git a/tests/ref/pixfmt/rgb24-rgb32 b/tests/ref/pixfmt/rgb24-rgb32
new file mode 100644
index 0000000000..a8cf7d029a
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-rgb32
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-rgb32.yuv
+7603200 tests/data/pixfmt/rgb24-rgb32.yuv
diff --git a/tests/ref/pixfmt/rgb24-rgb48 b/tests/ref/pixfmt/rgb24-rgb48
new file mode 100644
index 0000000000..4e67c35fb4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-rgb48
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-rgb48.yuv
+7603200 tests/data/pixfmt/rgb24-rgb48.yuv
diff --git a/tests/ref/pixfmt/rgb24-rgb555 b/tests/ref/pixfmt/rgb24-rgb555
new file mode 100644
index 0000000000..b2eedb1f5e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-rgb555
@@ -0,0 +1,2 @@
+22d12e8bc3178749748db5f01bf161d8 *tests/data/pixfmt/rgb24-rgb555.yuv
+7603200 tests/data/pixfmt/rgb24-rgb555.yuv
diff --git a/tests/ref/pixfmt/rgb24-rgb565 b/tests/ref/pixfmt/rgb24-rgb565
new file mode 100644
index 0000000000..7341a01e2e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-rgb565
@@ -0,0 +1,2 @@
+326237c369c74370269d4bbddbe6e38c *tests/data/pixfmt/rgb24-rgb565.yuv
+7603200 tests/data/pixfmt/rgb24-rgb565.yuv
diff --git a/tests/ref/pixfmt/rgb24-uyvy422 b/tests/ref/pixfmt/rgb24-uyvy422
new file mode 100644
index 0000000000..16dd7004b2
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-uyvy422
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-uyvy422.yuv
+7603200 tests/data/pixfmt/rgb24-uyvy422.yuv
diff --git a/tests/ref/pixfmt/rgb24-v30xle b/tests/ref/pixfmt/rgb24-v30xle
new file mode 100644
index 0000000000..4718cac3de
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-v30xle
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-v30xle.yuv
+7603200 tests/data/pixfmt/rgb24-v30xle.yuv
diff --git a/tests/ref/pixfmt/rgb24-vuyx b/tests/ref/pixfmt/rgb24-vuyx
new file mode 100644
index 0000000000..b951e8b39c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-vuyx
@@ -0,0 +1,2 @@
+d5f6d817ca410332064c4b92ca355f35 *tests/data/pixfmt/rgb24-vuyx.yuv
+7603200 tests/data/pixfmt/rgb24-vuyx.yuv
diff --git a/tests/ref/pixfmt/rgb24-vyu444 b/tests/ref/pixfmt/rgb24-vyu444
new file mode 100644
index 0000000000..cad85f7410
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-vyu444
@@ -0,0 +1,2 @@
+d5f6d817ca410332064c4b92ca355f35 *tests/data/pixfmt/rgb24-vyu444.yuv
+7603200 tests/data/pixfmt/rgb24-vyu444.yuv
diff --git a/tests/ref/pixfmt/rgb24-x2bgr10le b/tests/ref/pixfmt/rgb24-x2bgr10le
new file mode 100644
index 0000000000..b85b0e2939
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-x2bgr10le
@@ -0,0 +1,2 @@
+03adc02f1c0d676a460111bf136b456f *tests/data/pixfmt/rgb24-x2bgr10le.yuv
+7603200 tests/data/pixfmt/rgb24-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-x2rgb10le b/tests/ref/pixfmt/rgb24-x2rgb10le
new file mode 100644
index 0000000000..64f0e5cfc0
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-x2rgb10le
@@ -0,0 +1,2 @@
+03adc02f1c0d676a460111bf136b456f *tests/data/pixfmt/rgb24-x2rgb10le.yuv
+7603200 tests/data/pixfmt/rgb24-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-xv30le b/tests/ref/pixfmt/rgb24-xv30le
new file mode 100644
index 0000000000..f2dd26ccab
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xv30le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-xv30le.yuv
+7603200 tests/data/pixfmt/rgb24-xv30le.yuv
diff --git a/tests/ref/pixfmt/rgb24-xv36be b/tests/ref/pixfmt/rgb24-xv36be
new file mode 100644
index 0000000000..18294b2d49
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xv36be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-xv36be.yuv
+7603200 tests/data/pixfmt/rgb24-xv36be.yuv
diff --git a/tests/ref/pixfmt/rgb24-xv36le b/tests/ref/pixfmt/rgb24-xv36le
new file mode 100644
index 0000000000..dd38b4a5da
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xv36le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-xv36le.yuv
+7603200 tests/data/pixfmt/rgb24-xv36le.yuv
diff --git a/tests/ref/pixfmt/rgb24-xv48be b/tests/ref/pixfmt/rgb24-xv48be
new file mode 100644
index 0000000000..79cccd0628
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xv48be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-xv48be.yuv
+7603200 tests/data/pixfmt/rgb24-xv48be.yuv
diff --git a/tests/ref/pixfmt/rgb24-xv48le b/tests/ref/pixfmt/rgb24-xv48le
new file mode 100644
index 0000000000..2381c76525
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xv48le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-xv48le.yuv
+7603200 tests/data/pixfmt/rgb24-xv48le.yuv
diff --git a/tests/ref/pixfmt/rgb24-xyz12le b/tests/ref/pixfmt/rgb24-xyz12le
new file mode 100644
index 0000000000..46451083fa
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-xyz12le
@@ -0,0 +1,2 @@
+460b2b2fc5611d1125c87d5f7716511c *tests/data/pixfmt/rgb24-xyz12le.yuv
+7603200 tests/data/pixfmt/rgb24-xyz12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-y210le b/tests/ref/pixfmt/rgb24-y210le
new file mode 100644
index 0000000000..b509634bdb
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-y210le
@@ -0,0 +1,2 @@
+d7307ece8893eec9a9025a1ca94be5db *tests/data/pixfmt/rgb24-y210le.yuv
+7603200 tests/data/pixfmt/rgb24-y210le.yuv
diff --git a/tests/ref/pixfmt/rgb24-y212le b/tests/ref/pixfmt/rgb24-y212le
new file mode 100644
index 0000000000..53a8f25764
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-y212le
@@ -0,0 +1,2 @@
+1ea4c3048875f8def9ef3dceff4d245d *tests/data/pixfmt/rgb24-y212le.yuv
+7603200 tests/data/pixfmt/rgb24-y212le.yuv
diff --git a/tests/ref/pixfmt/rgb24-y216le b/tests/ref/pixfmt/rgb24-y216le
new file mode 100644
index 0000000000..ac2ad627fa
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-y216le
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-y216le.yuv
+7603200 tests/data/pixfmt/rgb24-y216le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv410p b/tests/ref/pixfmt/rgb24-yuv410p
new file mode 100644
index 0000000000..050b499906
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv410p
@@ -0,0 +1,2 @@
+ebf2c5913d3df43751509f0ca5c315b6 *tests/data/pixfmt/rgb24-yuv410p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv410p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv411p b/tests/ref/pixfmt/rgb24-yuv411p
new file mode 100644
index 0000000000..79f21e9597
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv411p
@@ -0,0 +1,2 @@
+356e5283a95c3a9803b395ff27964bd7 *tests/data/pixfmt/rgb24-yuv411p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv411p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p b/tests/ref/pixfmt/rgb24-yuv420p
new file mode 100644
index 0000000000..74e2c3f02d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p
@@ -0,0 +1,2 @@
+c50d8e79fb0c447a7d92e7780aaa2b54 *tests/data/pixfmt/rgb24-yuv420p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p10be b/tests/ref/pixfmt/rgb24-yuv420p10be
new file mode 100644
index 0000000000..949a450b8e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p10be
@@ -0,0 +1,2 @@
+5a865e5d85e660c4d691a2018355a9b8 *tests/data/pixfmt/rgb24-yuv420p10be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p10le b/tests/ref/pixfmt/rgb24-yuv420p10le
new file mode 100644
index 0000000000..8b1efece20
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p10le
@@ -0,0 +1,2 @@
+5a865e5d85e660c4d691a2018355a9b8 *tests/data/pixfmt/rgb24-yuv420p10le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p12be b/tests/ref/pixfmt/rgb24-yuv420p12be
new file mode 100644
index 0000000000..848596d5ca
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p12be
@@ -0,0 +1,2 @@
+deb598e81ec70a3ade89d2bd3cf24739 *tests/data/pixfmt/rgb24-yuv420p12be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p12le b/tests/ref/pixfmt/rgb24-yuv420p12le
new file mode 100644
index 0000000000..b7216024ee
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p12le
@@ -0,0 +1,2 @@
+deb598e81ec70a3ade89d2bd3cf24739 *tests/data/pixfmt/rgb24-yuv420p12le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p16be b/tests/ref/pixfmt/rgb24-yuv420p16be
new file mode 100644
index 0000000000..da235109e5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p16be
@@ -0,0 +1,2 @@
+040e45b750dd445538565b808cc1814f *tests/data/pixfmt/rgb24-yuv420p16be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv420p16le b/tests/ref/pixfmt/rgb24-yuv420p16le
new file mode 100644
index 0000000000..42b84f5286
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv420p16le
@@ -0,0 +1,2 @@
+040e45b750dd445538565b808cc1814f *tests/data/pixfmt/rgb24-yuv420p16le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p b/tests/ref/pixfmt/rgb24-yuv422p
new file mode 100644
index 0000000000..c48b7c9f33
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-yuv422p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p10be b/tests/ref/pixfmt/rgb24-yuv422p10be
new file mode 100644
index 0000000000..5f81701714
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p10be
@@ -0,0 +1,2 @@
+d7307ece8893eec9a9025a1ca94be5db *tests/data/pixfmt/rgb24-yuv422p10be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p10le b/tests/ref/pixfmt/rgb24-yuv422p10le
new file mode 100644
index 0000000000..042b403d25
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p10le
@@ -0,0 +1,2 @@
+d7307ece8893eec9a9025a1ca94be5db *tests/data/pixfmt/rgb24-yuv422p10le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p12be b/tests/ref/pixfmt/rgb24-yuv422p12be
new file mode 100644
index 0000000000..3c63ef0af8
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p12be
@@ -0,0 +1,2 @@
+1ea4c3048875f8def9ef3dceff4d245d *tests/data/pixfmt/rgb24-yuv422p12be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p12le b/tests/ref/pixfmt/rgb24-yuv422p12le
new file mode 100644
index 0000000000..62f76e4054
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p12le
@@ -0,0 +1,2 @@
+1ea4c3048875f8def9ef3dceff4d245d *tests/data/pixfmt/rgb24-yuv422p12le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p16be b/tests/ref/pixfmt/rgb24-yuv422p16be
new file mode 100644
index 0000000000..aed8f56251
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p16be
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-yuv422p16be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv422p16le b/tests/ref/pixfmt/rgb24-yuv422p16le
new file mode 100644
index 0000000000..5bb8b0b066
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv422p16le
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-yuv422p16le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv440p b/tests/ref/pixfmt/rgb24-yuv440p
new file mode 100644
index 0000000000..c1e92f13a9
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv440p
@@ -0,0 +1,2 @@
+8db52df5aafa43d9ba322423bd15fa54 *tests/data/pixfmt/rgb24-yuv440p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv440p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv440p10be b/tests/ref/pixfmt/rgb24-yuv440p10be
new file mode 100644
index 0000000000..0e5bd3fef1
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv440p10be
@@ -0,0 +1,2 @@
+c868dfd73a957a18f35eaaa56734e0ec *tests/data/pixfmt/rgb24-yuv440p10be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv440p10le b/tests/ref/pixfmt/rgb24-yuv440p10le
new file mode 100644
index 0000000000..603778cd6e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv440p10le
@@ -0,0 +1,2 @@
+c868dfd73a957a18f35eaaa56734e0ec *tests/data/pixfmt/rgb24-yuv440p10le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv440p12be b/tests/ref/pixfmt/rgb24-yuv440p12be
new file mode 100644
index 0000000000..e324c51013
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv440p12be
@@ -0,0 +1,2 @@
+60394a63264c36418c2a00bde1786232 *tests/data/pixfmt/rgb24-yuv440p12be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv440p12le b/tests/ref/pixfmt/rgb24-yuv440p12le
new file mode 100644
index 0000000000..d6950a858e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv440p12le
@@ -0,0 +1,2 @@
+60394a63264c36418c2a00bde1786232 *tests/data/pixfmt/rgb24-yuv440p12le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p b/tests/ref/pixfmt/rgb24-yuv444p
new file mode 100644
index 0000000000..8dff14a753
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p
@@ -0,0 +1,2 @@
+d5f6d817ca410332064c4b92ca355f35 *tests/data/pixfmt/rgb24-yuv444p.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p10be b/tests/ref/pixfmt/rgb24-yuv444p10be
new file mode 100644
index 0000000000..7b25b7a11e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p10be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p10be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p10le b/tests/ref/pixfmt/rgb24-yuv444p10le
new file mode 100644
index 0000000000..52755201a8
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p10le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p10le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p12be b/tests/ref/pixfmt/rgb24-yuv444p12be
new file mode 100644
index 0000000000..1d83214769
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p12be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p12be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p12le b/tests/ref/pixfmt/rgb24-yuv444p12le
new file mode 100644
index 0000000000..72b6acd96d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p12le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p12le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p16be b/tests/ref/pixfmt/rgb24-yuv444p16be
new file mode 100644
index 0000000000..8947e1e161
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p16be
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p16be.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuv444p16le b/tests/ref/pixfmt/rgb24-yuv444p16le
new file mode 100644
index 0000000000..2e074b9182
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuv444p16le
@@ -0,0 +1,2 @@
+b1edab4786df5840d98338d14625203f *tests/data/pixfmt/rgb24-yuv444p16le.yuv
+7603200 tests/data/pixfmt/rgb24-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuvj420p b/tests/ref/pixfmt/rgb24-yuvj420p
new file mode 100644
index 0000000000..08cd1511fd
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuvj420p
@@ -0,0 +1,2 @@
+a33f3536938810a6f9b227f8c2ae3dff *tests/data/pixfmt/rgb24-yuvj420p.yuv
+7603200 tests/data/pixfmt/rgb24-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuvj422p b/tests/ref/pixfmt/rgb24-yuvj422p
new file mode 100644
index 0000000000..9f8446480b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuvj422p
@@ -0,0 +1,2 @@
+8d2f420b2772c70b34ac7ecef404d6a6 *tests/data/pixfmt/rgb24-yuvj422p.yuv
+7603200 tests/data/pixfmt/rgb24-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuvj440p b/tests/ref/pixfmt/rgb24-yuvj440p
new file mode 100644
index 0000000000..7d176f0082
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuvj440p
@@ -0,0 +1,2 @@
+7f041435a0a3e35ee97db2e7cf922fa0 *tests/data/pixfmt/rgb24-yuvj440p.yuv
+7603200 tests/data/pixfmt/rgb24-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuvj444p b/tests/ref/pixfmt/rgb24-yuvj444p
new file mode 100644
index 0000000000..a841f97aad
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuvj444p
@@ -0,0 +1,2 @@
+0da6612faf5b963b3827a4c0a227af56 *tests/data/pixfmt/rgb24-yuvj444p.yuv
+7603200 tests/data/pixfmt/rgb24-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/rgb24-yuyv422 b/tests/ref/pixfmt/rgb24-yuyv422
new file mode 100644
index 0000000000..13f941f787
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yuyv422
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-yuyv422.yuv
+7603200 tests/data/pixfmt/rgb24-yuyv422.yuv
diff --git a/tests/ref/pixfmt/rgb24-yvyu422 b/tests/ref/pixfmt/rgb24-yvyu422
new file mode 100644
index 0000000000..66263ece75
--- /dev/null
+++ b/tests/ref/pixfmt/rgb24-yvyu422
@@ -0,0 +1,2 @@
+2f3b40e55b843623859e058f1343b4b7 *tests/data/pixfmt/rgb24-yvyu422.yuv
+7603200 tests/data/pixfmt/rgb24-yvyu422.yuv
diff --git a/tests/ref/pixfmt/rgb48-bgr24 b/tests/ref/pixfmt/rgb48-bgr24
new file mode 100644
index 0000000000..bf842f9cd7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-bgr24
@@ -0,0 +1,2 @@
+ac7c46f114eac77ef0f977ac0070a5b0 *tests/data/pixfmt/rgb48-bgr24.yuv
+15206400 tests/data/pixfmt/rgb48-bgr24.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp10be b/tests/ref/pixfmt/rgb48-gbrp10be
new file mode 100644
index 0000000000..a48cef78f1
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp10be
@@ -0,0 +1,2 @@
+840a8fff7007b1915782b85d8952ede5 *tests/data/pixfmt/rgb48-gbrp10be.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp10le b/tests/ref/pixfmt/rgb48-gbrp10le
new file mode 100644
index 0000000000..471a0added
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp10le
@@ -0,0 +1,2 @@
+840a8fff7007b1915782b85d8952ede5 *tests/data/pixfmt/rgb48-gbrp10le.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp12be b/tests/ref/pixfmt/rgb48-gbrp12be
new file mode 100644
index 0000000000..d08fc4dc46
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp12be
@@ -0,0 +1,2 @@
+6bbba44361f6f9166042fc7e750c3897 *tests/data/pixfmt/rgb48-gbrp12be.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp12le b/tests/ref/pixfmt/rgb48-gbrp12le
new file mode 100644
index 0000000000..3d09c3e63a
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp12le
@@ -0,0 +1,2 @@
+6bbba44361f6f9166042fc7e750c3897 *tests/data/pixfmt/rgb48-gbrp12le.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp16be b/tests/ref/pixfmt/rgb48-gbrp16be
new file mode 100644
index 0000000000..1daa5ca0a0
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp16be
@@ -0,0 +1,2 @@
+d7683d636dfcf005bd6bfde61eb8460d *tests/data/pixfmt/rgb48-gbrp16be.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gbrp16le b/tests/ref/pixfmt/rgb48-gbrp16le
new file mode 100644
index 0000000000..8a0c801a79
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gbrp16le
@@ -0,0 +1,2 @@
+d7683d636dfcf005bd6bfde61eb8460d *tests/data/pixfmt/rgb48-gbrp16le.yuv
+15206400 tests/data/pixfmt/rgb48-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray b/tests/ref/pixfmt/rgb48-gray
new file mode 100644
index 0000000000..fd91ced42b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray
@@ -0,0 +1,2 @@
+f876cc9009ffc146bd4df497d962dd89 *tests/data/pixfmt/rgb48-gray.yuv
+15206400 tests/data/pixfmt/rgb48-gray.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray10be b/tests/ref/pixfmt/rgb48-gray10be
new file mode 100644
index 0000000000..2868803120
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray10be
@@ -0,0 +1,2 @@
+83eabb9901c600f1bd2aac5a8ed8e27f *tests/data/pixfmt/rgb48-gray10be.yuv
+15206400 tests/data/pixfmt/rgb48-gray10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray10le b/tests/ref/pixfmt/rgb48-gray10le
new file mode 100644
index 0000000000..66887086b0
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray10le
@@ -0,0 +1,2 @@
+83eabb9901c600f1bd2aac5a8ed8e27f *tests/data/pixfmt/rgb48-gray10le.yuv
+15206400 tests/data/pixfmt/rgb48-gray10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray12be b/tests/ref/pixfmt/rgb48-gray12be
new file mode 100644
index 0000000000..f762e04637
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray12be
@@ -0,0 +1,2 @@
+bedaf4cd568131d3fcd3eec6b8a1bb37 *tests/data/pixfmt/rgb48-gray12be.yuv
+15206400 tests/data/pixfmt/rgb48-gray12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray12le b/tests/ref/pixfmt/rgb48-gray12le
new file mode 100644
index 0000000000..04ea586d95
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray12le
@@ -0,0 +1,2 @@
+bedaf4cd568131d3fcd3eec6b8a1bb37 *tests/data/pixfmt/rgb48-gray12le.yuv
+15206400 tests/data/pixfmt/rgb48-gray12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray16be b/tests/ref/pixfmt/rgb48-gray16be
new file mode 100644
index 0000000000..6e267451a5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray16be
@@ -0,0 +1,2 @@
+cc09855040c6601a108ff7ba73a0257d *tests/data/pixfmt/rgb48-gray16be.yuv
+15206400 tests/data/pixfmt/rgb48-gray16be.yuv
diff --git a/tests/ref/pixfmt/rgb48-gray16le b/tests/ref/pixfmt/rgb48-gray16le
new file mode 100644
index 0000000000..2351a22dff
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-gray16le
@@ -0,0 +1,2 @@
+cc09855040c6601a108ff7ba73a0257d *tests/data/pixfmt/rgb48-gray16le.yuv
+15206400 tests/data/pixfmt/rgb48-gray16le.yuv
diff --git a/tests/ref/pixfmt/rgb48-monob b/tests/ref/pixfmt/rgb48-monob
new file mode 100644
index 0000000000..1e2ddfdcc7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-monob
@@ -0,0 +1,2 @@
+0a194f7f837185ec324c719f6bb8ac60 *tests/data/pixfmt/rgb48-monob.yuv
+15206400 tests/data/pixfmt/rgb48-monob.yuv
diff --git a/tests/ref/pixfmt/rgb48-monow b/tests/ref/pixfmt/rgb48-monow
new file mode 100644
index 0000000000..debe49ccee
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-monow
@@ -0,0 +1,2 @@
+0a194f7f837185ec324c719f6bb8ac60 *tests/data/pixfmt/rgb48-monow.yuv
+15206400 tests/data/pixfmt/rgb48-monow.yuv
diff --git a/tests/ref/pixfmt/rgb48-nv12 b/tests/ref/pixfmt/rgb48-nv12
new file mode 100644
index 0000000000..1e123387f2
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-nv12
@@ -0,0 +1,2 @@
+6bb4022bd553678f751c6a198167c55e *tests/data/pixfmt/rgb48-nv12.yuv
+15206400 tests/data/pixfmt/rgb48-nv12.yuv
diff --git a/tests/ref/pixfmt/rgb48-nv16 b/tests/ref/pixfmt/rgb48-nv16
new file mode 100644
index 0000000000..e870cfa33d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-nv16
@@ -0,0 +1,2 @@
+93e26e8d94e78fdd26bad819af6e0fb2 *tests/data/pixfmt/rgb48-nv16.yuv
+15206400 tests/data/pixfmt/rgb48-nv16.yuv
diff --git a/tests/ref/pixfmt/rgb48-nv24 b/tests/ref/pixfmt/rgb48-nv24
new file mode 100644
index 0000000000..0e54956827
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-nv24
@@ -0,0 +1,2 @@
+01398d67e0844599253574c67fa2f608 *tests/data/pixfmt/rgb48-nv24.yuv
+15206400 tests/data/pixfmt/rgb48-nv24.yuv
diff --git a/tests/ref/pixfmt/rgb48-p010be b/tests/ref/pixfmt/rgb48-p010be
new file mode 100644
index 0000000000..a5ec35b9c5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p010be
@@ -0,0 +1,2 @@
+b28f10c94f0c5816531f43b3e7db7286 *tests/data/pixfmt/rgb48-p010be.yuv
+15206400 tests/data/pixfmt/rgb48-p010be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p010le b/tests/ref/pixfmt/rgb48-p010le
new file mode 100644
index 0000000000..a38faf31b8
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p010le
@@ -0,0 +1,2 @@
+b28f10c94f0c5816531f43b3e7db7286 *tests/data/pixfmt/rgb48-p010le.yuv
+15206400 tests/data/pixfmt/rgb48-p010le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p012be b/tests/ref/pixfmt/rgb48-p012be
new file mode 100644
index 0000000000..09c3643b59
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p012be
@@ -0,0 +1,2 @@
+6872aae37ba8e11cbc20295038513f79 *tests/data/pixfmt/rgb48-p012be.yuv
+15206400 tests/data/pixfmt/rgb48-p012be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p012le b/tests/ref/pixfmt/rgb48-p012le
new file mode 100644
index 0000000000..0ec3313eaf
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p012le
@@ -0,0 +1,2 @@
+6872aae37ba8e11cbc20295038513f79 *tests/data/pixfmt/rgb48-p012le.yuv
+15206400 tests/data/pixfmt/rgb48-p012le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p016be b/tests/ref/pixfmt/rgb48-p016be
new file mode 100644
index 0000000000..e38f7d3eb4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p016be
@@ -0,0 +1,2 @@
+ec26433a25a4d3e0f988c873584fd7f9 *tests/data/pixfmt/rgb48-p016be.yuv
+15206400 tests/data/pixfmt/rgb48-p016be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p016le b/tests/ref/pixfmt/rgb48-p016le
new file mode 100644
index 0000000000..86e6f6dbec
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p016le
@@ -0,0 +1,2 @@
+ec26433a25a4d3e0f988c873584fd7f9 *tests/data/pixfmt/rgb48-p016le.yuv
+15206400 tests/data/pixfmt/rgb48-p016le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p210be b/tests/ref/pixfmt/rgb48-p210be
new file mode 100644
index 0000000000..2757da955b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p210be
@@ -0,0 +1,2 @@
+6fe225140a49ded3cb63fa4e7d09f8ba *tests/data/pixfmt/rgb48-p210be.yuv
+15206400 tests/data/pixfmt/rgb48-p210be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p210le b/tests/ref/pixfmt/rgb48-p210le
new file mode 100644
index 0000000000..081e73d08c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p210le
@@ -0,0 +1,2 @@
+6fe225140a49ded3cb63fa4e7d09f8ba *tests/data/pixfmt/rgb48-p210le.yuv
+15206400 tests/data/pixfmt/rgb48-p210le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p212be b/tests/ref/pixfmt/rgb48-p212be
new file mode 100644
index 0000000000..f98f0358d1
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p212be
@@ -0,0 +1,2 @@
+89c6e9a5ceeaf98fd119b2726abde280 *tests/data/pixfmt/rgb48-p212be.yuv
+15206400 tests/data/pixfmt/rgb48-p212be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p212le b/tests/ref/pixfmt/rgb48-p212le
new file mode 100644
index 0000000000..114e9bc89b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p212le
@@ -0,0 +1,2 @@
+89c6e9a5ceeaf98fd119b2726abde280 *tests/data/pixfmt/rgb48-p212le.yuv
+15206400 tests/data/pixfmt/rgb48-p212le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p216be b/tests/ref/pixfmt/rgb48-p216be
new file mode 100644
index 0000000000..d7c973fe2e
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p216be
@@ -0,0 +1,2 @@
+cb77542fc810d89ac810cbc65ed77508 *tests/data/pixfmt/rgb48-p216be.yuv
+15206400 tests/data/pixfmt/rgb48-p216be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p216le b/tests/ref/pixfmt/rgb48-p216le
new file mode 100644
index 0000000000..e4e715d64c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p216le
@@ -0,0 +1,2 @@
+cb77542fc810d89ac810cbc65ed77508 *tests/data/pixfmt/rgb48-p216le.yuv
+15206400 tests/data/pixfmt/rgb48-p216le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p410be b/tests/ref/pixfmt/rgb48-p410be
new file mode 100644
index 0000000000..a7939fff81
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p410be
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-p410be.yuv
+15206400 tests/data/pixfmt/rgb48-p410be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p410le b/tests/ref/pixfmt/rgb48-p410le
new file mode 100644
index 0000000000..43c54423ef
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p410le
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-p410le.yuv
+15206400 tests/data/pixfmt/rgb48-p410le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p412be b/tests/ref/pixfmt/rgb48-p412be
new file mode 100644
index 0000000000..83f17066c7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p412be
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-p412be.yuv
+15206400 tests/data/pixfmt/rgb48-p412be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p412le b/tests/ref/pixfmt/rgb48-p412le
new file mode 100644
index 0000000000..937bd2f09d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p412le
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-p412le.yuv
+15206400 tests/data/pixfmt/rgb48-p412le.yuv
diff --git a/tests/ref/pixfmt/rgb48-p416be b/tests/ref/pixfmt/rgb48-p416be
new file mode 100644
index 0000000000..f075620a6b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p416be
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-p416be.yuv
+15206400 tests/data/pixfmt/rgb48-p416be.yuv
diff --git a/tests/ref/pixfmt/rgb48-p416le b/tests/ref/pixfmt/rgb48-p416le
new file mode 100644
index 0000000000..d5de6bdd8c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-p416le
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-p416le.yuv
+15206400 tests/data/pixfmt/rgb48-p416le.yuv
diff --git a/tests/ref/pixfmt/rgb48-rgb24 b/tests/ref/pixfmt/rgb48-rgb24
new file mode 100644
index 0000000000..973847d933
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-rgb24
@@ -0,0 +1,2 @@
+ac7c46f114eac77ef0f977ac0070a5b0 *tests/data/pixfmt/rgb48-rgb24.yuv
+15206400 tests/data/pixfmt/rgb48-rgb24.yuv
diff --git a/tests/ref/pixfmt/rgb48-rgb32 b/tests/ref/pixfmt/rgb48-rgb32
new file mode 100644
index 0000000000..254f30cb73
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-rgb32
@@ -0,0 +1,2 @@
+ac7c46f114eac77ef0f977ac0070a5b0 *tests/data/pixfmt/rgb48-rgb32.yuv
+15206400 tests/data/pixfmt/rgb48-rgb32.yuv
diff --git a/tests/ref/pixfmt/rgb48-rgb48 b/tests/ref/pixfmt/rgb48-rgb48
new file mode 100644
index 0000000000..5ebb1a5d2c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-rgb48
@@ -0,0 +1,2 @@
+d7683d636dfcf005bd6bfde61eb8460d *tests/data/pixfmt/rgb48-rgb48.yuv
+15206400 tests/data/pixfmt/rgb48-rgb48.yuv
diff --git a/tests/ref/pixfmt/rgb48-rgb555 b/tests/ref/pixfmt/rgb48-rgb555
new file mode 100644
index 0000000000..f0e4f45d86
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-rgb555
@@ -0,0 +1,2 @@
+2f5b4e3ae938bf7d0a9de34629942b56 *tests/data/pixfmt/rgb48-rgb555.yuv
+15206400 tests/data/pixfmt/rgb48-rgb555.yuv
diff --git a/tests/ref/pixfmt/rgb48-rgb565 b/tests/ref/pixfmt/rgb48-rgb565
new file mode 100644
index 0000000000..bbde379bdc
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-rgb565
@@ -0,0 +1,2 @@
+6d1bf4f7ffbb13e32381fd5082e39fb3 *tests/data/pixfmt/rgb48-rgb565.yuv
+15206400 tests/data/pixfmt/rgb48-rgb565.yuv
diff --git a/tests/ref/pixfmt/rgb48-uyvy422 b/tests/ref/pixfmt/rgb48-uyvy422
new file mode 100644
index 0000000000..3d3c06c8ea
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-uyvy422
@@ -0,0 +1,2 @@
+06a931c33e33596a5bec92547d0bd66c *tests/data/pixfmt/rgb48-uyvy422.yuv
+15206400 tests/data/pixfmt/rgb48-uyvy422.yuv
diff --git a/tests/ref/pixfmt/rgb48-v30xle b/tests/ref/pixfmt/rgb48-v30xle
new file mode 100644
index 0000000000..b1de97210c
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-v30xle
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-v30xle.yuv
+15206400 tests/data/pixfmt/rgb48-v30xle.yuv
diff --git a/tests/ref/pixfmt/rgb48-vuyx b/tests/ref/pixfmt/rgb48-vuyx
new file mode 100644
index 0000000000..3fe398e14b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-vuyx
@@ -0,0 +1,2 @@
+50f17469c9ce27cba8b218220300c1d8 *tests/data/pixfmt/rgb48-vuyx.yuv
+15206400 tests/data/pixfmt/rgb48-vuyx.yuv
diff --git a/tests/ref/pixfmt/rgb48-vyu444 b/tests/ref/pixfmt/rgb48-vyu444
new file mode 100644
index 0000000000..251cdb9f38
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-vyu444
@@ -0,0 +1,2 @@
+50f17469c9ce27cba8b218220300c1d8 *tests/data/pixfmt/rgb48-vyu444.yuv
+15206400 tests/data/pixfmt/rgb48-vyu444.yuv
diff --git a/tests/ref/pixfmt/rgb48-x2bgr10le b/tests/ref/pixfmt/rgb48-x2bgr10le
new file mode 100644
index 0000000000..23efe9515b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-x2bgr10le
@@ -0,0 +1,2 @@
+dba09af0e2b67f8d2649f85c588c9ed6 *tests/data/pixfmt/rgb48-x2bgr10le.yuv
+15206400 tests/data/pixfmt/rgb48-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-x2rgb10le b/tests/ref/pixfmt/rgb48-x2rgb10le
new file mode 100644
index 0000000000..a4a5c6b0f2
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-x2rgb10le
@@ -0,0 +1,2 @@
+dba09af0e2b67f8d2649f85c588c9ed6 *tests/data/pixfmt/rgb48-x2rgb10le.yuv
+15206400 tests/data/pixfmt/rgb48-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-xv30le b/tests/ref/pixfmt/rgb48-xv30le
new file mode 100644
index 0000000000..40f4161c14
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xv30le
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-xv30le.yuv
+15206400 tests/data/pixfmt/rgb48-xv30le.yuv
diff --git a/tests/ref/pixfmt/rgb48-xv36be b/tests/ref/pixfmt/rgb48-xv36be
new file mode 100644
index 0000000000..6c0166022b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xv36be
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-xv36be.yuv
+15206400 tests/data/pixfmt/rgb48-xv36be.yuv
diff --git a/tests/ref/pixfmt/rgb48-xv36le b/tests/ref/pixfmt/rgb48-xv36le
new file mode 100644
index 0000000000..40a8f15ecf
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xv36le
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-xv36le.yuv
+15206400 tests/data/pixfmt/rgb48-xv36le.yuv
diff --git a/tests/ref/pixfmt/rgb48-xv48be b/tests/ref/pixfmt/rgb48-xv48be
new file mode 100644
index 0000000000..3a8906c11f
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xv48be
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-xv48be.yuv
+15206400 tests/data/pixfmt/rgb48-xv48be.yuv
diff --git a/tests/ref/pixfmt/rgb48-xv48le b/tests/ref/pixfmt/rgb48-xv48le
new file mode 100644
index 0000000000..5741208fb7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xv48le
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-xv48le.yuv
+15206400 tests/data/pixfmt/rgb48-xv48le.yuv
diff --git a/tests/ref/pixfmt/rgb48-xyz12le b/tests/ref/pixfmt/rgb48-xyz12le
new file mode 100644
index 0000000000..5417e2dd48
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-xyz12le
@@ -0,0 +1,2 @@
+16a15582e2fe7ff56951ca9d06d3a7a3 *tests/data/pixfmt/rgb48-xyz12le.yuv
+15206400 tests/data/pixfmt/rgb48-xyz12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-y210le b/tests/ref/pixfmt/rgb48-y210le
new file mode 100644
index 0000000000..832c0feb4d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-y210le
@@ -0,0 +1,2 @@
+6fe225140a49ded3cb63fa4e7d09f8ba *tests/data/pixfmt/rgb48-y210le.yuv
+15206400 tests/data/pixfmt/rgb48-y210le.yuv
diff --git a/tests/ref/pixfmt/rgb48-y212le b/tests/ref/pixfmt/rgb48-y212le
new file mode 100644
index 0000000000..630dc8e0e9
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-y212le
@@ -0,0 +1,2 @@
+89c6e9a5ceeaf98fd119b2726abde280 *tests/data/pixfmt/rgb48-y212le.yuv
+15206400 tests/data/pixfmt/rgb48-y212le.yuv
diff --git a/tests/ref/pixfmt/rgb48-y216le b/tests/ref/pixfmt/rgb48-y216le
new file mode 100644
index 0000000000..456818bc61
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-y216le
@@ -0,0 +1,2 @@
+cb77542fc810d89ac810cbc65ed77508 *tests/data/pixfmt/rgb48-y216le.yuv
+15206400 tests/data/pixfmt/rgb48-y216le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv410p b/tests/ref/pixfmt/rgb48-yuv410p
new file mode 100644
index 0000000000..463b1cf088
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv410p
@@ -0,0 +1,2 @@
+7ea1161c7c9fa1444047bb252f1cb2b3 *tests/data/pixfmt/rgb48-yuv410p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv410p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv411p b/tests/ref/pixfmt/rgb48-yuv411p
new file mode 100644
index 0000000000..18738e03ee
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv411p
@@ -0,0 +1,2 @@
+9e7ec47633c517b4077da447bf41bb32 *tests/data/pixfmt/rgb48-yuv411p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv411p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p b/tests/ref/pixfmt/rgb48-yuv420p
new file mode 100644
index 0000000000..74e8cd6f45
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p
@@ -0,0 +1,2 @@
+2a9817112e5dab50d753eb331eac2c34 *tests/data/pixfmt/rgb48-yuv420p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p10be b/tests/ref/pixfmt/rgb48-yuv420p10be
new file mode 100644
index 0000000000..823bba5e81
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p10be
@@ -0,0 +1,2 @@
+b28f10c94f0c5816531f43b3e7db7286 *tests/data/pixfmt/rgb48-yuv420p10be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p10le b/tests/ref/pixfmt/rgb48-yuv420p10le
new file mode 100644
index 0000000000..150f745377
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p10le
@@ -0,0 +1,2 @@
+b28f10c94f0c5816531f43b3e7db7286 *tests/data/pixfmt/rgb48-yuv420p10le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p12be b/tests/ref/pixfmt/rgb48-yuv420p12be
new file mode 100644
index 0000000000..837f3c034d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p12be
@@ -0,0 +1,2 @@
+6872aae37ba8e11cbc20295038513f79 *tests/data/pixfmt/rgb48-yuv420p12be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p12le b/tests/ref/pixfmt/rgb48-yuv420p12le
new file mode 100644
index 0000000000..516d3f27e8
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p12le
@@ -0,0 +1,2 @@
+6872aae37ba8e11cbc20295038513f79 *tests/data/pixfmt/rgb48-yuv420p12le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p16be b/tests/ref/pixfmt/rgb48-yuv420p16be
new file mode 100644
index 0000000000..2aa400cff0
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p16be
@@ -0,0 +1,2 @@
+ec26433a25a4d3e0f988c873584fd7f9 *tests/data/pixfmt/rgb48-yuv420p16be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv420p16le b/tests/ref/pixfmt/rgb48-yuv420p16le
new file mode 100644
index 0000000000..857fe16ec4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv420p16le
@@ -0,0 +1,2 @@
+ec26433a25a4d3e0f988c873584fd7f9 *tests/data/pixfmt/rgb48-yuv420p16le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p b/tests/ref/pixfmt/rgb48-yuv422p
new file mode 100644
index 0000000000..fb3662ef07
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p
@@ -0,0 +1,2 @@
+93e26e8d94e78fdd26bad819af6e0fb2 *tests/data/pixfmt/rgb48-yuv422p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p10be b/tests/ref/pixfmt/rgb48-yuv422p10be
new file mode 100644
index 0000000000..aea4559bbd
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p10be
@@ -0,0 +1,2 @@
+6fe225140a49ded3cb63fa4e7d09f8ba *tests/data/pixfmt/rgb48-yuv422p10be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p10le b/tests/ref/pixfmt/rgb48-yuv422p10le
new file mode 100644
index 0000000000..4f28b08f3d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p10le
@@ -0,0 +1,2 @@
+6fe225140a49ded3cb63fa4e7d09f8ba *tests/data/pixfmt/rgb48-yuv422p10le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p12be b/tests/ref/pixfmt/rgb48-yuv422p12be
new file mode 100644
index 0000000000..8a64f6e737
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p12be
@@ -0,0 +1,2 @@
+89c6e9a5ceeaf98fd119b2726abde280 *tests/data/pixfmt/rgb48-yuv422p12be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p12le b/tests/ref/pixfmt/rgb48-yuv422p12le
new file mode 100644
index 0000000000..b280282873
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p12le
@@ -0,0 +1,2 @@
+89c6e9a5ceeaf98fd119b2726abde280 *tests/data/pixfmt/rgb48-yuv422p12le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p16be b/tests/ref/pixfmt/rgb48-yuv422p16be
new file mode 100644
index 0000000000..6509318775
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p16be
@@ -0,0 +1,2 @@
+cb77542fc810d89ac810cbc65ed77508 *tests/data/pixfmt/rgb48-yuv422p16be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv422p16le b/tests/ref/pixfmt/rgb48-yuv422p16le
new file mode 100644
index 0000000000..602868bc3a
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv422p16le
@@ -0,0 +1,2 @@
+cb77542fc810d89ac810cbc65ed77508 *tests/data/pixfmt/rgb48-yuv422p16le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv440p b/tests/ref/pixfmt/rgb48-yuv440p
new file mode 100644
index 0000000000..4c20df5c82
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv440p
@@ -0,0 +1,2 @@
+741d0a28a33feac7c57ef165d7c534dd *tests/data/pixfmt/rgb48-yuv440p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv440p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv440p10be b/tests/ref/pixfmt/rgb48-yuv440p10be
new file mode 100644
index 0000000000..6f0bce127b
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv440p10be
@@ -0,0 +1,2 @@
+a7c1e021256023ca151792f079d1b561 *tests/data/pixfmt/rgb48-yuv440p10be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv440p10le b/tests/ref/pixfmt/rgb48-yuv440p10le
new file mode 100644
index 0000000000..034e8ddd1a
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv440p10le
@@ -0,0 +1,2 @@
+a7c1e021256023ca151792f079d1b561 *tests/data/pixfmt/rgb48-yuv440p10le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv440p12be b/tests/ref/pixfmt/rgb48-yuv440p12be
new file mode 100644
index 0000000000..4b755657be
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv440p12be
@@ -0,0 +1,2 @@
+0a2eb7ffa3a1997103a2fd1b26cfdb97 *tests/data/pixfmt/rgb48-yuv440p12be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv440p12le b/tests/ref/pixfmt/rgb48-yuv440p12le
new file mode 100644
index 0000000000..bb4a2637fb
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv440p12le
@@ -0,0 +1,2 @@
+0a2eb7ffa3a1997103a2fd1b26cfdb97 *tests/data/pixfmt/rgb48-yuv440p12le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p b/tests/ref/pixfmt/rgb48-yuv444p
new file mode 100644
index 0000000000..23ccc8c3e3
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p
@@ -0,0 +1,2 @@
+fbb12a3f411e34fec877c03cb41ad455 *tests/data/pixfmt/rgb48-yuv444p.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p10be b/tests/ref/pixfmt/rgb48-yuv444p10be
new file mode 100644
index 0000000000..c96211cdbb
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p10be
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-yuv444p10be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p10le b/tests/ref/pixfmt/rgb48-yuv444p10le
new file mode 100644
index 0000000000..0269a8e62d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p10le
@@ -0,0 +1,2 @@
+7f02ab701faaf31bdddcc070b0114d1a *tests/data/pixfmt/rgb48-yuv444p10le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p12be b/tests/ref/pixfmt/rgb48-yuv444p12be
new file mode 100644
index 0000000000..15ad9054ae
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p12be
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-yuv444p12be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p12le b/tests/ref/pixfmt/rgb48-yuv444p12le
new file mode 100644
index 0000000000..3d5bfa99d7
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p12le
@@ -0,0 +1,2 @@
+ec3178abe146892b926760d65991da43 *tests/data/pixfmt/rgb48-yuv444p12le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p16be b/tests/ref/pixfmt/rgb48-yuv444p16be
new file mode 100644
index 0000000000..bb5ad393a5
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p16be
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-yuv444p16be.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuv444p16le b/tests/ref/pixfmt/rgb48-yuv444p16le
new file mode 100644
index 0000000000..8a610a16fd
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuv444p16le
@@ -0,0 +1,2 @@
+7855ab7ea619777f2b136366cf9efde7 *tests/data/pixfmt/rgb48-yuv444p16le.yuv
+15206400 tests/data/pixfmt/rgb48-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuvj420p b/tests/ref/pixfmt/rgb48-yuvj420p
new file mode 100644
index 0000000000..890ebcbd4d
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuvj420p
@@ -0,0 +1,2 @@
+91edc3b298c9ee85dd09ffb7c43a2249 *tests/data/pixfmt/rgb48-yuvj420p.yuv
+15206400 tests/data/pixfmt/rgb48-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuvj422p b/tests/ref/pixfmt/rgb48-yuvj422p
new file mode 100644
index 0000000000..d352cae9f4
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuvj422p
@@ -0,0 +1,2 @@
+09beabc54a361f51abb30a976ee2a800 *tests/data/pixfmt/rgb48-yuvj422p.yuv
+15206400 tests/data/pixfmt/rgb48-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuvj440p b/tests/ref/pixfmt/rgb48-yuvj440p
new file mode 100644
index 0000000000..2372bb4e84
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuvj440p
@@ -0,0 +1,2 @@
+b9239170fef29746740ca636e410edf9 *tests/data/pixfmt/rgb48-yuvj440p.yuv
+15206400 tests/data/pixfmt/rgb48-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuvj444p b/tests/ref/pixfmt/rgb48-yuvj444p
new file mode 100644
index 0000000000..44ed59b8af
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuvj444p
@@ -0,0 +1,2 @@
+e3c7ccfa9149c542ef5657090b1825fd *tests/data/pixfmt/rgb48-yuvj444p.yuv
+15206400 tests/data/pixfmt/rgb48-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/rgb48-yuyv422 b/tests/ref/pixfmt/rgb48-yuyv422
new file mode 100644
index 0000000000..c04b7e4fcc
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yuyv422
@@ -0,0 +1,2 @@
+06a931c33e33596a5bec92547d0bd66c *tests/data/pixfmt/rgb48-yuyv422.yuv
+15206400 tests/data/pixfmt/rgb48-yuyv422.yuv
diff --git a/tests/ref/pixfmt/rgb48-yvyu422 b/tests/ref/pixfmt/rgb48-yvyu422
new file mode 100644
index 0000000000..99f0e35063
--- /dev/null
+++ b/tests/ref/pixfmt/rgb48-yvyu422
@@ -0,0 +1,2 @@
+06a931c33e33596a5bec92547d0bd66c *tests/data/pixfmt/rgb48-yvyu422.yuv
+15206400 tests/data/pixfmt/rgb48-yvyu422.yuv
diff --git a/tests/ref/pixfmt/uyvy422 b/tests/ref/pixfmt/uyvy422
new file mode 100644
index 0000000000..28840e0c44
--- /dev/null
+++ b/tests/ref/pixfmt/uyvy422
@@ -0,0 +1,2 @@
+ac68f9fdd9d55efd0306d9b004038761 *tests/data/pixfmt/uyvy422.yuv
+304128 tests/data/pixfmt/uyvy422.yuv
diff --git a/tests/ref/pixfmt/vuyx b/tests/ref/pixfmt/vuyx
new file mode 100644
index 0000000000..855436aaec
--- /dev/null
+++ b/tests/ref/pixfmt/vuyx
@@ -0,0 +1,2 @@
+5641dba168ff665af1cdb4a91e1afdd6 *tests/data/pixfmt/vuyx.yuv
+304128 tests/data/pixfmt/vuyx.yuv
diff --git a/tests/ref/pixfmt/vyu444 b/tests/ref/pixfmt/vyu444
new file mode 100644
index 0000000000..4b12abc18f
--- /dev/null
+++ b/tests/ref/pixfmt/vyu444
@@ -0,0 +1,2 @@
+5641dba168ff665af1cdb4a91e1afdd6 *tests/data/pixfmt/vyu444.yuv
+304128 tests/data/pixfmt/vyu444.yuv
diff --git a/tests/ref/pixfmt/yuv444p-bgr24 b/tests/ref/pixfmt/yuv444p-bgr24
new file mode 100644
index 0000000000..02f76d150b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-bgr24
@@ -0,0 +1,2 @@
+abf45693d7faa2e6ad9bc3319a0e4d2d *tests/data/pixfmt/yuv444p-bgr24.yuv
+7603200 tests/data/pixfmt/yuv444p-bgr24.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp10be b/tests/ref/pixfmt/yuv444p-gbrp10be
new file mode 100644
index 0000000000..cf5d6184d5
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp10be
@@ -0,0 +1,2 @@
+400e95f2e7321e64c1d254546640ec1f *tests/data/pixfmt/yuv444p-gbrp10be.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp10le b/tests/ref/pixfmt/yuv444p-gbrp10le
new file mode 100644
index 0000000000..ce514ca9b4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp10le
@@ -0,0 +1,2 @@
+400e95f2e7321e64c1d254546640ec1f *tests/data/pixfmt/yuv444p-gbrp10le.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp12be b/tests/ref/pixfmt/yuv444p-gbrp12be
new file mode 100644
index 0000000000..65948a8254
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp12be
@@ -0,0 +1,2 @@
+122f6b6687295b9a17f667fc429b7a72 *tests/data/pixfmt/yuv444p-gbrp12be.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp12le b/tests/ref/pixfmt/yuv444p-gbrp12le
new file mode 100644
index 0000000000..8b80e7edd5
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp12le
@@ -0,0 +1,2 @@
+122f6b6687295b9a17f667fc429b7a72 *tests/data/pixfmt/yuv444p-gbrp12le.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp16be b/tests/ref/pixfmt/yuv444p-gbrp16be
new file mode 100644
index 0000000000..be21356f74
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp16be
@@ -0,0 +1,2 @@
+1a80ddde8d8e489b4bddf9da31c22ce6 *tests/data/pixfmt/yuv444p-gbrp16be.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gbrp16le b/tests/ref/pixfmt/yuv444p-gbrp16le
new file mode 100644
index 0000000000..3b9ee0af23
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gbrp16le
@@ -0,0 +1,2 @@
+1a80ddde8d8e489b4bddf9da31c22ce6 *tests/data/pixfmt/yuv444p-gbrp16le.yuv
+7603200 tests/data/pixfmt/yuv444p-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray b/tests/ref/pixfmt/yuv444p-gray
new file mode 100644
index 0000000000..e8075222eb
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray
@@ -0,0 +1,2 @@
+20b27d4336d38a6a4a082f7e929a5c25 *tests/data/pixfmt/yuv444p-gray.yuv
+7603200 tests/data/pixfmt/yuv444p-gray.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray10be b/tests/ref/pixfmt/yuv444p-gray10be
new file mode 100644
index 0000000000..cdab6690f8
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray10be
@@ -0,0 +1,2 @@
+3d7c822c6d41e676e1cfe5357ddb3768 *tests/data/pixfmt/yuv444p-gray10be.yuv
+7603200 tests/data/pixfmt/yuv444p-gray10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray10le b/tests/ref/pixfmt/yuv444p-gray10le
new file mode 100644
index 0000000000..d14f4361db
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray10le
@@ -0,0 +1,2 @@
+3d7c822c6d41e676e1cfe5357ddb3768 *tests/data/pixfmt/yuv444p-gray10le.yuv
+7603200 tests/data/pixfmt/yuv444p-gray10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray12be b/tests/ref/pixfmt/yuv444p-gray12be
new file mode 100644
index 0000000000..84d9989c58
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray12be
@@ -0,0 +1,2 @@
+734955d8c6664be1be5675392a60b2b2 *tests/data/pixfmt/yuv444p-gray12be.yuv
+7603200 tests/data/pixfmt/yuv444p-gray12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray12le b/tests/ref/pixfmt/yuv444p-gray12le
new file mode 100644
index 0000000000..8520ad4c18
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray12le
@@ -0,0 +1,2 @@
+734955d8c6664be1be5675392a60b2b2 *tests/data/pixfmt/yuv444p-gray12le.yuv
+7603200 tests/data/pixfmt/yuv444p-gray12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray16be b/tests/ref/pixfmt/yuv444p-gray16be
new file mode 100644
index 0000000000..52c9aa88cb
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray16be
@@ -0,0 +1,2 @@
+4dc65fcf29a6de3ed3eb1149edcfd35f *tests/data/pixfmt/yuv444p-gray16be.yuv
+7603200 tests/data/pixfmt/yuv444p-gray16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-gray16le b/tests/ref/pixfmt/yuv444p-gray16le
new file mode 100644
index 0000000000..1b2313663b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-gray16le
@@ -0,0 +1,2 @@
+4dc65fcf29a6de3ed3eb1149edcfd35f *tests/data/pixfmt/yuv444p-gray16le.yuv
+7603200 tests/data/pixfmt/yuv444p-gray16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-monob b/tests/ref/pixfmt/yuv444p-monob
new file mode 100644
index 0000000000..c5e44e3a9b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-monob
@@ -0,0 +1,2 @@
+3988749a5157074ab6dda717acb9cc88 *tests/data/pixfmt/yuv444p-monob.yuv
+7603200 tests/data/pixfmt/yuv444p-monob.yuv
diff --git a/tests/ref/pixfmt/yuv444p-monow b/tests/ref/pixfmt/yuv444p-monow
new file mode 100644
index 0000000000..03ca21267f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-monow
@@ -0,0 +1,2 @@
+3988749a5157074ab6dda717acb9cc88 *tests/data/pixfmt/yuv444p-monow.yuv
+7603200 tests/data/pixfmt/yuv444p-monow.yuv
diff --git a/tests/ref/pixfmt/yuv444p-nv12 b/tests/ref/pixfmt/yuv444p-nv12
new file mode 100644
index 0000000000..cb17813c95
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-nv12
@@ -0,0 +1,2 @@
+a1950c9102daff4e84a469baefc1e8f6 *tests/data/pixfmt/yuv444p-nv12.yuv
+7603200 tests/data/pixfmt/yuv444p-nv12.yuv
diff --git a/tests/ref/pixfmt/yuv444p-nv16 b/tests/ref/pixfmt/yuv444p-nv16
new file mode 100644
index 0000000000..2102c5e76e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-nv16
@@ -0,0 +1,2 @@
+84e2d8da47290d76073bfed3496fa4ff *tests/data/pixfmt/yuv444p-nv16.yuv
+7603200 tests/data/pixfmt/yuv444p-nv16.yuv
diff --git a/tests/ref/pixfmt/yuv444p-nv24 b/tests/ref/pixfmt/yuv444p-nv24
new file mode 100644
index 0000000000..8b2bea7f2e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-nv24
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-nv24.yuv
+7603200 tests/data/pixfmt/yuv444p-nv24.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p010be b/tests/ref/pixfmt/yuv444p-p010be
new file mode 100644
index 0000000000..4b0339b7a4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p010be
@@ -0,0 +1,2 @@
+ed33ca5de81ecd58eb1986d78d201261 *tests/data/pixfmt/yuv444p-p010be.yuv
+7603200 tests/data/pixfmt/yuv444p-p010be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p010le b/tests/ref/pixfmt/yuv444p-p010le
new file mode 100644
index 0000000000..ab1626ca3f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p010le
@@ -0,0 +1,2 @@
+ed33ca5de81ecd58eb1986d78d201261 *tests/data/pixfmt/yuv444p-p010le.yuv
+7603200 tests/data/pixfmt/yuv444p-p010le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p012be b/tests/ref/pixfmt/yuv444p-p012be
new file mode 100644
index 0000000000..bb2e899fd4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p012be
@@ -0,0 +1,2 @@
+4830217df38f320a41b81b19e3744059 *tests/data/pixfmt/yuv444p-p012be.yuv
+7603200 tests/data/pixfmt/yuv444p-p012be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p012le b/tests/ref/pixfmt/yuv444p-p012le
new file mode 100644
index 0000000000..285f81f99e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p012le
@@ -0,0 +1,2 @@
+4830217df38f320a41b81b19e3744059 *tests/data/pixfmt/yuv444p-p012le.yuv
+7603200 tests/data/pixfmt/yuv444p-p012le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p016be b/tests/ref/pixfmt/yuv444p-p016be
new file mode 100644
index 0000000000..f15202c1bb
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p016be
@@ -0,0 +1,2 @@
+7cfbe672623f103e8090ee088327d55f *tests/data/pixfmt/yuv444p-p016be.yuv
+7603200 tests/data/pixfmt/yuv444p-p016be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p016le b/tests/ref/pixfmt/yuv444p-p016le
new file mode 100644
index 0000000000..4c2dab9362
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p016le
@@ -0,0 +1,2 @@
+7cfbe672623f103e8090ee088327d55f *tests/data/pixfmt/yuv444p-p016le.yuv
+7603200 tests/data/pixfmt/yuv444p-p016le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p210be b/tests/ref/pixfmt/yuv444p-p210be
new file mode 100644
index 0000000000..8bc1c74ee0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p210be
@@ -0,0 +1,2 @@
+878171dab657dc5f2bd7cb7a1c0c16e7 *tests/data/pixfmt/yuv444p-p210be.yuv
+7603200 tests/data/pixfmt/yuv444p-p210be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p210le b/tests/ref/pixfmt/yuv444p-p210le
new file mode 100644
index 0000000000..5a3d6586bf
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p210le
@@ -0,0 +1,2 @@
+878171dab657dc5f2bd7cb7a1c0c16e7 *tests/data/pixfmt/yuv444p-p210le.yuv
+7603200 tests/data/pixfmt/yuv444p-p210le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p212be b/tests/ref/pixfmt/yuv444p-p212be
new file mode 100644
index 0000000000..56d0dc046e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p212be
@@ -0,0 +1,2 @@
+71e1fd6c0dec785ea8fbd58c6540b045 *tests/data/pixfmt/yuv444p-p212be.yuv
+7603200 tests/data/pixfmt/yuv444p-p212be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p212le b/tests/ref/pixfmt/yuv444p-p212le
new file mode 100644
index 0000000000..b507f14ade
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p212le
@@ -0,0 +1,2 @@
+71e1fd6c0dec785ea8fbd58c6540b045 *tests/data/pixfmt/yuv444p-p212le.yuv
+7603200 tests/data/pixfmt/yuv444p-p212le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p216be b/tests/ref/pixfmt/yuv444p-p216be
new file mode 100644
index 0000000000..51fbe0aa18
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p216be
@@ -0,0 +1,2 @@
+f1f7224269e15bb427948340871708c2 *tests/data/pixfmt/yuv444p-p216be.yuv
+7603200 tests/data/pixfmt/yuv444p-p216be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p216le b/tests/ref/pixfmt/yuv444p-p216le
new file mode 100644
index 0000000000..bbd005166f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p216le
@@ -0,0 +1,2 @@
+f1f7224269e15bb427948340871708c2 *tests/data/pixfmt/yuv444p-p216le.yuv
+7603200 tests/data/pixfmt/yuv444p-p216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p410be b/tests/ref/pixfmt/yuv444p-p410be
new file mode 100644
index 0000000000..b7b1ff4056
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p410be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p410be.yuv
+7603200 tests/data/pixfmt/yuv444p-p410be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p410le b/tests/ref/pixfmt/yuv444p-p410le
new file mode 100644
index 0000000000..37503d58b6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p410le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p410le.yuv
+7603200 tests/data/pixfmt/yuv444p-p410le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p412be b/tests/ref/pixfmt/yuv444p-p412be
new file mode 100644
index 0000000000..570320babd
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p412be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p412be.yuv
+7603200 tests/data/pixfmt/yuv444p-p412be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p412le b/tests/ref/pixfmt/yuv444p-p412le
new file mode 100644
index 0000000000..0898d03b2b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p412le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p412le.yuv
+7603200 tests/data/pixfmt/yuv444p-p412le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p416be b/tests/ref/pixfmt/yuv444p-p416be
new file mode 100644
index 0000000000..e80fb48e08
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p416be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p416be.yuv
+7603200 tests/data/pixfmt/yuv444p-p416be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-p416le b/tests/ref/pixfmt/yuv444p-p416le
new file mode 100644
index 0000000000..7cebe38fea
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-p416le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-p416le.yuv
+7603200 tests/data/pixfmt/yuv444p-p416le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-rgb24 b/tests/ref/pixfmt/yuv444p-rgb24
new file mode 100644
index 0000000000..8897080a6e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-rgb24
@@ -0,0 +1,2 @@
+abf45693d7faa2e6ad9bc3319a0e4d2d *tests/data/pixfmt/yuv444p-rgb24.yuv
+7603200 tests/data/pixfmt/yuv444p-rgb24.yuv
diff --git a/tests/ref/pixfmt/yuv444p-rgb32 b/tests/ref/pixfmt/yuv444p-rgb32
new file mode 100644
index 0000000000..36aacdb806
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-rgb32
@@ -0,0 +1,2 @@
+abf45693d7faa2e6ad9bc3319a0e4d2d *tests/data/pixfmt/yuv444p-rgb32.yuv
+7603200 tests/data/pixfmt/yuv444p-rgb32.yuv
diff --git a/tests/ref/pixfmt/yuv444p-rgb48 b/tests/ref/pixfmt/yuv444p-rgb48
new file mode 100644
index 0000000000..13f7e8ac2e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-rgb48
@@ -0,0 +1,2 @@
+1a80ddde8d8e489b4bddf9da31c22ce6 *tests/data/pixfmt/yuv444p-rgb48.yuv
+7603200 tests/data/pixfmt/yuv444p-rgb48.yuv
diff --git a/tests/ref/pixfmt/yuv444p-rgb555 b/tests/ref/pixfmt/yuv444p-rgb555
new file mode 100644
index 0000000000..a25db74c8e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-rgb555
@@ -0,0 +1,2 @@
+e2fe4fb593dc65eb7b92710717c68cdd *tests/data/pixfmt/yuv444p-rgb555.yuv
+7603200 tests/data/pixfmt/yuv444p-rgb555.yuv
diff --git a/tests/ref/pixfmt/yuv444p-rgb565 b/tests/ref/pixfmt/yuv444p-rgb565
new file mode 100644
index 0000000000..75ab74a450
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-rgb565
@@ -0,0 +1,2 @@
+0151a12feb607ae3dc9d176d63dfa2e5 *tests/data/pixfmt/yuv444p-rgb565.yuv
+7603200 tests/data/pixfmt/yuv444p-rgb565.yuv
diff --git a/tests/ref/pixfmt/yuv444p-uyvy422 b/tests/ref/pixfmt/yuv444p-uyvy422
new file mode 100644
index 0000000000..d55d9b104b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-uyvy422
@@ -0,0 +1,2 @@
+84e2d8da47290d76073bfed3496fa4ff *tests/data/pixfmt/yuv444p-uyvy422.yuv
+7603200 tests/data/pixfmt/yuv444p-uyvy422.yuv
diff --git a/tests/ref/pixfmt/yuv444p-v30xle b/tests/ref/pixfmt/yuv444p-v30xle
new file mode 100644
index 0000000000..21bf012b83
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-v30xle
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-v30xle.yuv
+7603200 tests/data/pixfmt/yuv444p-v30xle.yuv
diff --git a/tests/ref/pixfmt/yuv444p-vuyx b/tests/ref/pixfmt/yuv444p-vuyx
new file mode 100644
index 0000000000..15db88913a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-vuyx
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-vuyx.yuv
+7603200 tests/data/pixfmt/yuv444p-vuyx.yuv
diff --git a/tests/ref/pixfmt/yuv444p-vyu444 b/tests/ref/pixfmt/yuv444p-vyu444
new file mode 100644
index 0000000000..554b5c5cc1
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-vyu444
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-vyu444.yuv
+7603200 tests/data/pixfmt/yuv444p-vyu444.yuv
diff --git a/tests/ref/pixfmt/yuv444p-x2bgr10le b/tests/ref/pixfmt/yuv444p-x2bgr10le
new file mode 100644
index 0000000000..ea63713ca8
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-x2bgr10le
@@ -0,0 +1,2 @@
+bb9fb1f6aa5ebb4fe0cc0fcfbf07c99c *tests/data/pixfmt/yuv444p-x2bgr10le.yuv
+7603200 tests/data/pixfmt/yuv444p-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-x2rgb10le b/tests/ref/pixfmt/yuv444p-x2rgb10le
new file mode 100644
index 0000000000..2cdd007a38
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-x2rgb10le
@@ -0,0 +1,2 @@
+bb9fb1f6aa5ebb4fe0cc0fcfbf07c99c *tests/data/pixfmt/yuv444p-x2rgb10le.yuv
+7603200 tests/data/pixfmt/yuv444p-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xv30le b/tests/ref/pixfmt/yuv444p-xv30le
new file mode 100644
index 0000000000..c584f80960
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xv30le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-xv30le.yuv
+7603200 tests/data/pixfmt/yuv444p-xv30le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xv36be b/tests/ref/pixfmt/yuv444p-xv36be
new file mode 100644
index 0000000000..592cd01da6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xv36be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-xv36be.yuv
+7603200 tests/data/pixfmt/yuv444p-xv36be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xv36le b/tests/ref/pixfmt/yuv444p-xv36le
new file mode 100644
index 0000000000..315827ba4f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xv36le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-xv36le.yuv
+7603200 tests/data/pixfmt/yuv444p-xv36le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xv48be b/tests/ref/pixfmt/yuv444p-xv48be
new file mode 100644
index 0000000000..af634ebe91
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xv48be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-xv48be.yuv
+7603200 tests/data/pixfmt/yuv444p-xv48be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xv48le b/tests/ref/pixfmt/yuv444p-xv48le
new file mode 100644
index 0000000000..d5220a6d39
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xv48le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-xv48le.yuv
+7603200 tests/data/pixfmt/yuv444p-xv48le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-xyz12le b/tests/ref/pixfmt/yuv444p-xyz12le
new file mode 100644
index 0000000000..d661f5bcb5
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-xyz12le
@@ -0,0 +1,2 @@
+a0acdd9c25a84c8698d0dc1e52950c8d *tests/data/pixfmt/yuv444p-xyz12le.yuv
+7603200 tests/data/pixfmt/yuv444p-xyz12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-y210le b/tests/ref/pixfmt/yuv444p-y210le
new file mode 100644
index 0000000000..839fe8fa91
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-y210le
@@ -0,0 +1,2 @@
+878171dab657dc5f2bd7cb7a1c0c16e7 *tests/data/pixfmt/yuv444p-y210le.yuv
+7603200 tests/data/pixfmt/yuv444p-y210le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-y212le b/tests/ref/pixfmt/yuv444p-y212le
new file mode 100644
index 0000000000..ccd0735153
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-y212le
@@ -0,0 +1,2 @@
+71e1fd6c0dec785ea8fbd58c6540b045 *tests/data/pixfmt/yuv444p-y212le.yuv
+7603200 tests/data/pixfmt/yuv444p-y212le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-y216le b/tests/ref/pixfmt/yuv444p-y216le
new file mode 100644
index 0000000000..8fbc5fec9d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-y216le
@@ -0,0 +1,2 @@
+f1f7224269e15bb427948340871708c2 *tests/data/pixfmt/yuv444p-y216le.yuv
+7603200 tests/data/pixfmt/yuv444p-y216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv410p b/tests/ref/pixfmt/yuv444p-yuv410p
new file mode 100644
index 0000000000..b6963197b9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv410p
@@ -0,0 +1,2 @@
+7c75a87e091fd30b3196563fb48bb683 *tests/data/pixfmt/yuv444p-yuv410p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv410p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv411p b/tests/ref/pixfmt/yuv444p-yuv411p
new file mode 100644
index 0000000000..53ca66ad6d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv411p
@@ -0,0 +1,2 @@
+5cac17a17ddd3e8a39e45d0cce0fb4a6 *tests/data/pixfmt/yuv444p-yuv411p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv411p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p b/tests/ref/pixfmt/yuv444p-yuv420p
new file mode 100644
index 0000000000..af37fe7097
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p
@@ -0,0 +1,2 @@
+a1950c9102daff4e84a469baefc1e8f6 *tests/data/pixfmt/yuv444p-yuv420p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p10be b/tests/ref/pixfmt/yuv444p-yuv420p10be
new file mode 100644
index 0000000000..90302a8e50
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p10be
@@ -0,0 +1,2 @@
+ed33ca5de81ecd58eb1986d78d201261 *tests/data/pixfmt/yuv444p-yuv420p10be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p10le b/tests/ref/pixfmt/yuv444p-yuv420p10le
new file mode 100644
index 0000000000..307a748a03
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p10le
@@ -0,0 +1,2 @@
+ed33ca5de81ecd58eb1986d78d201261 *tests/data/pixfmt/yuv444p-yuv420p10le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p12be b/tests/ref/pixfmt/yuv444p-yuv420p12be
new file mode 100644
index 0000000000..153e07591b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p12be
@@ -0,0 +1,2 @@
+4830217df38f320a41b81b19e3744059 *tests/data/pixfmt/yuv444p-yuv420p12be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p12le b/tests/ref/pixfmt/yuv444p-yuv420p12le
new file mode 100644
index 0000000000..db4c4e5f60
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p12le
@@ -0,0 +1,2 @@
+4830217df38f320a41b81b19e3744059 *tests/data/pixfmt/yuv444p-yuv420p12le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p16be b/tests/ref/pixfmt/yuv444p-yuv420p16be
new file mode 100644
index 0000000000..95ec83add3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p16be
@@ -0,0 +1,2 @@
+7cfbe672623f103e8090ee088327d55f *tests/data/pixfmt/yuv444p-yuv420p16be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv420p16le b/tests/ref/pixfmt/yuv444p-yuv420p16le
new file mode 100644
index 0000000000..b6b7d9c41a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv420p16le
@@ -0,0 +1,2 @@
+7cfbe672623f103e8090ee088327d55f *tests/data/pixfmt/yuv444p-yuv420p16le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p b/tests/ref/pixfmt/yuv444p-yuv422p
new file mode 100644
index 0000000000..b846f9dc73
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p
@@ -0,0 +1,2 @@
+84e2d8da47290d76073bfed3496fa4ff *tests/data/pixfmt/yuv444p-yuv422p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p10be b/tests/ref/pixfmt/yuv444p-yuv422p10be
new file mode 100644
index 0000000000..2241fae773
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p10be
@@ -0,0 +1,2 @@
+878171dab657dc5f2bd7cb7a1c0c16e7 *tests/data/pixfmt/yuv444p-yuv422p10be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p10le b/tests/ref/pixfmt/yuv444p-yuv422p10le
new file mode 100644
index 0000000000..1658153cac
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p10le
@@ -0,0 +1,2 @@
+878171dab657dc5f2bd7cb7a1c0c16e7 *tests/data/pixfmt/yuv444p-yuv422p10le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p12be b/tests/ref/pixfmt/yuv444p-yuv422p12be
new file mode 100644
index 0000000000..0d301dd9a9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p12be
@@ -0,0 +1,2 @@
+71e1fd6c0dec785ea8fbd58c6540b045 *tests/data/pixfmt/yuv444p-yuv422p12be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p12le b/tests/ref/pixfmt/yuv444p-yuv422p12le
new file mode 100644
index 0000000000..68e04ecb6a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p12le
@@ -0,0 +1,2 @@
+71e1fd6c0dec785ea8fbd58c6540b045 *tests/data/pixfmt/yuv444p-yuv422p12le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p16be b/tests/ref/pixfmt/yuv444p-yuv422p16be
new file mode 100644
index 0000000000..ea97d46a26
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p16be
@@ -0,0 +1,2 @@
+f1f7224269e15bb427948340871708c2 *tests/data/pixfmt/yuv444p-yuv422p16be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv422p16le b/tests/ref/pixfmt/yuv444p-yuv422p16le
new file mode 100644
index 0000000000..78112171ca
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv422p16le
@@ -0,0 +1,2 @@
+f1f7224269e15bb427948340871708c2 *tests/data/pixfmt/yuv444p-yuv422p16le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv440p b/tests/ref/pixfmt/yuv444p-yuv440p
new file mode 100644
index 0000000000..afc0fb5b27
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv440p
@@ -0,0 +1,2 @@
+30e9915a8e4476015214149d5a7f1a97 *tests/data/pixfmt/yuv444p-yuv440p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv440p10be b/tests/ref/pixfmt/yuv444p-yuv440p10be
new file mode 100644
index 0000000000..6612fd9f0f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv440p10be
@@ -0,0 +1,2 @@
+ab78f16899c9c57fb684a2d5cb8468b7 *tests/data/pixfmt/yuv444p-yuv440p10be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv440p10le b/tests/ref/pixfmt/yuv444p-yuv440p10le
new file mode 100644
index 0000000000..a6558f5ca9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv440p10le
@@ -0,0 +1,2 @@
+ab78f16899c9c57fb684a2d5cb8468b7 *tests/data/pixfmt/yuv444p-yuv440p10le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv440p12be b/tests/ref/pixfmt/yuv444p-yuv440p12be
new file mode 100644
index 0000000000..4d2a68d1b1
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv440p12be
@@ -0,0 +1,2 @@
+c2f8aa88eeb70e82fc5b4aba2adcaff6 *tests/data/pixfmt/yuv444p-yuv440p12be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv440p12le b/tests/ref/pixfmt/yuv444p-yuv440p12le
new file mode 100644
index 0000000000..b03d5ef591
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv440p12le
@@ -0,0 +1,2 @@
+c2f8aa88eeb70e82fc5b4aba2adcaff6 *tests/data/pixfmt/yuv444p-yuv440p12le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p b/tests/ref/pixfmt/yuv444p-yuv444p
new file mode 100644
index 0000000000..1bbcffa21f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p10be b/tests/ref/pixfmt/yuv444p-yuv444p10be
new file mode 100644
index 0000000000..0161457289
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p10be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p10be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p10le b/tests/ref/pixfmt/yuv444p-yuv444p10le
new file mode 100644
index 0000000000..21af057a21
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p10le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p10le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p12be b/tests/ref/pixfmt/yuv444p-yuv444p12be
new file mode 100644
index 0000000000..d3db274494
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p12be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p12be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p12le b/tests/ref/pixfmt/yuv444p-yuv444p12le
new file mode 100644
index 0000000000..0979a226e1
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p12le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p12le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p16be b/tests/ref/pixfmt/yuv444p-yuv444p16be
new file mode 100644
index 0000000000..25ae14c910
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p16be
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p16be.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuv444p16le b/tests/ref/pixfmt/yuv444p-yuv444p16le
new file mode 100644
index 0000000000..b61496303c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuv444p16le
@@ -0,0 +1,2 @@
+e41775e4a6798bc545ab3212a0d88544 *tests/data/pixfmt/yuv444p-yuv444p16le.yuv
+7603200 tests/data/pixfmt/yuv444p-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuvj420p b/tests/ref/pixfmt/yuv444p-yuvj420p
new file mode 100644
index 0000000000..2189eb5db6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuvj420p
@@ -0,0 +1,2 @@
+231709437c88659f4799d23a852e9a5e *tests/data/pixfmt/yuv444p-yuvj420p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuvj422p b/tests/ref/pixfmt/yuv444p-yuvj422p
new file mode 100644
index 0000000000..a2baa35767
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuvj422p
@@ -0,0 +1,2 @@
+1dd3db7826cd0a08f99f6f43424ac3a4 *tests/data/pixfmt/yuv444p-yuvj422p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuvj440p b/tests/ref/pixfmt/yuv444p-yuvj440p
new file mode 100644
index 0000000000..831bdf0fb7
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuvj440p
@@ -0,0 +1,2 @@
+40eba7ccd535f819dffa1baa0108b4bf *tests/data/pixfmt/yuv444p-yuvj440p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuvj444p b/tests/ref/pixfmt/yuv444p-yuvj444p
new file mode 100644
index 0000000000..7aa38f41ee
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuvj444p
@@ -0,0 +1,2 @@
+754c5309c258ecefab46388da7ba2b05 *tests/data/pixfmt/yuv444p-yuvj444p.yuv
+7603200 tests/data/pixfmt/yuv444p-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yuyv422 b/tests/ref/pixfmt/yuv444p-yuyv422
new file mode 100644
index 0000000000..7f10b9edd2
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yuyv422
@@ -0,0 +1,2 @@
+84e2d8da47290d76073bfed3496fa4ff *tests/data/pixfmt/yuv444p-yuyv422.yuv
+7603200 tests/data/pixfmt/yuv444p-yuyv422.yuv
diff --git a/tests/ref/pixfmt/yuv444p-yvyu422 b/tests/ref/pixfmt/yuv444p-yvyu422
new file mode 100644
index 0000000000..98a230d4c3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p-yvyu422
@@ -0,0 +1,2 @@
+84e2d8da47290d76073bfed3496fa4ff *tests/data/pixfmt/yuv444p-yvyu422.yuv
+7603200 tests/data/pixfmt/yuv444p-yvyu422.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-bgr24 b/tests/ref/pixfmt/yuv444p10-bgr24
new file mode 100644
index 0000000000..712ef34fd0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-bgr24
@@ -0,0 +1,2 @@
+99cd01761f1baa6c8b7b41367a446d0b *tests/data/pixfmt/yuv444p10-bgr24.yuv
+15206400 tests/data/pixfmt/yuv444p10-bgr24.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gbrp12be b/tests/ref/pixfmt/yuv444p10-gbrp12be
new file mode 100644
index 0000000000..e6848440af
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gbrp12be
@@ -0,0 +1,2 @@
+bdab24d051a65c962aebcd79b6959bf1 *tests/data/pixfmt/yuv444p10-gbrp12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-gbrp12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gbrp12le b/tests/ref/pixfmt/yuv444p10-gbrp12le
new file mode 100644
index 0000000000..42001dbd4c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gbrp12le
@@ -0,0 +1,2 @@
+bdab24d051a65c962aebcd79b6959bf1 *tests/data/pixfmt/yuv444p10-gbrp12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-gbrp12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gbrp16be b/tests/ref/pixfmt/yuv444p10-gbrp16be
new file mode 100644
index 0000000000..a9cc1ec182
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gbrp16be
@@ -0,0 +1,2 @@
+d49f82a1c63cf15ab9126f3c2f7957bf *tests/data/pixfmt/yuv444p10-gbrp16be.yuv
+15206400 tests/data/pixfmt/yuv444p10-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gbrp16le b/tests/ref/pixfmt/yuv444p10-gbrp16le
new file mode 100644
index 0000000000..a37b870df0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gbrp16le
@@ -0,0 +1,2 @@
+d49f82a1c63cf15ab9126f3c2f7957bf *tests/data/pixfmt/yuv444p10-gbrp16le.yuv
+15206400 tests/data/pixfmt/yuv444p10-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gray b/tests/ref/pixfmt/yuv444p10-gray
new file mode 100644
index 0000000000..e62e690a6a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gray
@@ -0,0 +1,2 @@
+50e875752cce3203b8b2d222be6c68da *tests/data/pixfmt/yuv444p10-gray.yuv
+15206400 tests/data/pixfmt/yuv444p10-gray.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gray12be b/tests/ref/pixfmt/yuv444p10-gray12be
new file mode 100644
index 0000000000..e4139340f6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gray12be
@@ -0,0 +1,2 @@
+8aa2787bccc6bb606b6465ca7807c916 *tests/data/pixfmt/yuv444p10-gray12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-gray12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gray12le b/tests/ref/pixfmt/yuv444p10-gray12le
new file mode 100644
index 0000000000..53bed80b6f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gray12le
@@ -0,0 +1,2 @@
+8aa2787bccc6bb606b6465ca7807c916 *tests/data/pixfmt/yuv444p10-gray12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-gray12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gray16be b/tests/ref/pixfmt/yuv444p10-gray16be
new file mode 100644
index 0000000000..7a175a8207
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gray16be
@@ -0,0 +1,2 @@
+8aa2787bccc6bb606b6465ca7807c916 *tests/data/pixfmt/yuv444p10-gray16be.yuv
+15206400 tests/data/pixfmt/yuv444p10-gray16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-gray16le b/tests/ref/pixfmt/yuv444p10-gray16le
new file mode 100644
index 0000000000..83a7a24ae9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-gray16le
@@ -0,0 +1,2 @@
+8aa2787bccc6bb606b6465ca7807c916 *tests/data/pixfmt/yuv444p10-gray16le.yuv
+15206400 tests/data/pixfmt/yuv444p10-gray16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-monob b/tests/ref/pixfmt/yuv444p10-monob
new file mode 100644
index 0000000000..cedbde5651
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-monob
@@ -0,0 +1,2 @@
+a4a1ea993af831bd35f54f2534b82470 *tests/data/pixfmt/yuv444p10-monob.yuv
+15206400 tests/data/pixfmt/yuv444p10-monob.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-monow b/tests/ref/pixfmt/yuv444p10-monow
new file mode 100644
index 0000000000..b316ad3da0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-monow
@@ -0,0 +1,2 @@
+a4a1ea993af831bd35f54f2534b82470 *tests/data/pixfmt/yuv444p10-monow.yuv
+15206400 tests/data/pixfmt/yuv444p10-monow.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-nv12 b/tests/ref/pixfmt/yuv444p10-nv12
new file mode 100644
index 0000000000..4f4c9af43e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-nv12
@@ -0,0 +1,2 @@
+bd5e32b13acc3f3431e5fc0c14466b4f *tests/data/pixfmt/yuv444p10-nv12.yuv
+15206400 tests/data/pixfmt/yuv444p10-nv12.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-nv16 b/tests/ref/pixfmt/yuv444p10-nv16
new file mode 100644
index 0000000000..74bb701cb3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-nv16
@@ -0,0 +1,2 @@
+753f7d1febe56f7e0c6f3f38e947c89e *tests/data/pixfmt/yuv444p10-nv16.yuv
+15206400 tests/data/pixfmt/yuv444p10-nv16.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-nv24 b/tests/ref/pixfmt/yuv444p10-nv24
new file mode 100644
index 0000000000..0f9b405cb3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-nv24
@@ -0,0 +1,2 @@
+12e33acf9605dd7b8c3f2ce4bec5b275 *tests/data/pixfmt/yuv444p10-nv24.yuv
+15206400 tests/data/pixfmt/yuv444p10-nv24.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p012be b/tests/ref/pixfmt/yuv444p10-p012be
new file mode 100644
index 0000000000..62f4f4f173
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p012be
@@ -0,0 +1,2 @@
+ee9f10eb6d260e2b6778bee2a76d8b68 *tests/data/pixfmt/yuv444p10-p012be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p012be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p012le b/tests/ref/pixfmt/yuv444p10-p012le
new file mode 100644
index 0000000000..304424354b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p012le
@@ -0,0 +1,2 @@
+ee9f10eb6d260e2b6778bee2a76d8b68 *tests/data/pixfmt/yuv444p10-p012le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p012le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p016be b/tests/ref/pixfmt/yuv444p10-p016be
new file mode 100644
index 0000000000..b6cf4ef4e0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p016be
@@ -0,0 +1,2 @@
+a416598999f9f3fabbb7b4cbbffe69c8 *tests/data/pixfmt/yuv444p10-p016be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p016be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p016le b/tests/ref/pixfmt/yuv444p10-p016le
new file mode 100644
index 0000000000..4dac53144c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p016le
@@ -0,0 +1,2 @@
+a416598999f9f3fabbb7b4cbbffe69c8 *tests/data/pixfmt/yuv444p10-p016le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p016le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p212be b/tests/ref/pixfmt/yuv444p10-p212be
new file mode 100644
index 0000000000..76de8e1634
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p212be
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-p212be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p212be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p212le b/tests/ref/pixfmt/yuv444p10-p212le
new file mode 100644
index 0000000000..f0aaddbfe2
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p212le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-p212le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p212le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p216be b/tests/ref/pixfmt/yuv444p10-p216be
new file mode 100644
index 0000000000..43643a8ddc
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p216be
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-p216be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p216be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p216le b/tests/ref/pixfmt/yuv444p10-p216le
new file mode 100644
index 0000000000..61a044578e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p216le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-p216le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p412be b/tests/ref/pixfmt/yuv444p10-p412be
new file mode 100644
index 0000000000..67aa730ae1
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p412be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-p412be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p412be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p412le b/tests/ref/pixfmt/yuv444p10-p412le
new file mode 100644
index 0000000000..fdcbbdd65b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p412le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-p412le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p412le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p416be b/tests/ref/pixfmt/yuv444p10-p416be
new file mode 100644
index 0000000000..92e132d066
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p416be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-p416be.yuv
+15206400 tests/data/pixfmt/yuv444p10-p416be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-p416le b/tests/ref/pixfmt/yuv444p10-p416le
new file mode 100644
index 0000000000..6cad499256
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-p416le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-p416le.yuv
+15206400 tests/data/pixfmt/yuv444p10-p416le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-rgb24 b/tests/ref/pixfmt/yuv444p10-rgb24
new file mode 100644
index 0000000000..064d2df448
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-rgb24
@@ -0,0 +1,2 @@
+99cd01761f1baa6c8b7b41367a446d0b *tests/data/pixfmt/yuv444p10-rgb24.yuv
+15206400 tests/data/pixfmt/yuv444p10-rgb24.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-rgb32 b/tests/ref/pixfmt/yuv444p10-rgb32
new file mode 100644
index 0000000000..ee4a984655
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-rgb32
@@ -0,0 +1,2 @@
+99cd01761f1baa6c8b7b41367a446d0b *tests/data/pixfmt/yuv444p10-rgb32.yuv
+15206400 tests/data/pixfmt/yuv444p10-rgb32.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-rgb48 b/tests/ref/pixfmt/yuv444p10-rgb48
new file mode 100644
index 0000000000..b06fc4e2e6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-rgb48
@@ -0,0 +1,2 @@
+d49f82a1c63cf15ab9126f3c2f7957bf *tests/data/pixfmt/yuv444p10-rgb48.yuv
+15206400 tests/data/pixfmt/yuv444p10-rgb48.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-rgb555 b/tests/ref/pixfmt/yuv444p10-rgb555
new file mode 100644
index 0000000000..77a25f692c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-rgb555
@@ -0,0 +1,2 @@
+9b79bf02174a5c29c6e7bc65054ba498 *tests/data/pixfmt/yuv444p10-rgb555.yuv
+15206400 tests/data/pixfmt/yuv444p10-rgb555.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-rgb565 b/tests/ref/pixfmt/yuv444p10-rgb565
new file mode 100644
index 0000000000..1b7b5d4983
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-rgb565
@@ -0,0 +1,2 @@
+b2d91487d398ea2e6c7da06c362001ca *tests/data/pixfmt/yuv444p10-rgb565.yuv
+15206400 tests/data/pixfmt/yuv444p10-rgb565.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-uyvy422 b/tests/ref/pixfmt/yuv444p10-uyvy422
new file mode 100644
index 0000000000..7521535c95
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-uyvy422
@@ -0,0 +1,2 @@
+97a35da480112b2c91169eaf7919cbc4 *tests/data/pixfmt/yuv444p10-uyvy422.yuv
+15206400 tests/data/pixfmt/yuv444p10-uyvy422.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-vuyx b/tests/ref/pixfmt/yuv444p10-vuyx
new file mode 100644
index 0000000000..f9ab965b68
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-vuyx
@@ -0,0 +1,2 @@
+51b33e13d1f9f7f5da849f780262200c *tests/data/pixfmt/yuv444p10-vuyx.yuv
+15206400 tests/data/pixfmt/yuv444p10-vuyx.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-vyu444 b/tests/ref/pixfmt/yuv444p10-vyu444
new file mode 100644
index 0000000000..ffdb5157e4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-vyu444
@@ -0,0 +1,2 @@
+51b33e13d1f9f7f5da849f780262200c *tests/data/pixfmt/yuv444p10-vyu444.yuv
+15206400 tests/data/pixfmt/yuv444p10-vyu444.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-xv36be b/tests/ref/pixfmt/yuv444p10-xv36be
new file mode 100644
index 0000000000..2e0b1c040d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-xv36be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-xv36be.yuv
+15206400 tests/data/pixfmt/yuv444p10-xv36be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-xv36le b/tests/ref/pixfmt/yuv444p10-xv36le
new file mode 100644
index 0000000000..7707488484
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-xv36le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-xv36le.yuv
+15206400 tests/data/pixfmt/yuv444p10-xv36le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-xv48be b/tests/ref/pixfmt/yuv444p10-xv48be
new file mode 100644
index 0000000000..93e310e6fd
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-xv48be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-xv48be.yuv
+15206400 tests/data/pixfmt/yuv444p10-xv48be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-xv48le b/tests/ref/pixfmt/yuv444p10-xv48le
new file mode 100644
index 0000000000..fc9c65fddc
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-xv48le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-xv48le.yuv
+15206400 tests/data/pixfmt/yuv444p10-xv48le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-xyz12le b/tests/ref/pixfmt/yuv444p10-xyz12le
new file mode 100644
index 0000000000..d41b0d1369
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-xyz12le
@@ -0,0 +1,2 @@
+52b4ba6b111bd781c99ed8350e3b25e1 *tests/data/pixfmt/yuv444p10-xyz12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-xyz12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-y212le b/tests/ref/pixfmt/yuv444p10-y212le
new file mode 100644
index 0000000000..cfb03401e4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-y212le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-y212le.yuv
+15206400 tests/data/pixfmt/yuv444p10-y212le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-y216le b/tests/ref/pixfmt/yuv444p10-y216le
new file mode 100644
index 0000000000..496b2823df
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-y216le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-y216le.yuv
+15206400 tests/data/pixfmt/yuv444p10-y216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv410p b/tests/ref/pixfmt/yuv444p10-yuv410p
new file mode 100644
index 0000000000..e9972f97af
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv410p
@@ -0,0 +1,2 @@
+c0bca9a71f5ad5c5380ac655b78fce62 *tests/data/pixfmt/yuv444p10-yuv410p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv410p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv411p b/tests/ref/pixfmt/yuv444p10-yuv411p
new file mode 100644
index 0000000000..c30317775b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv411p
@@ -0,0 +1,2 @@
+6fc1accb9b9da7d37567dcd2fe562d3f *tests/data/pixfmt/yuv444p10-yuv411p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv411p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv420p b/tests/ref/pixfmt/yuv444p10-yuv420p
new file mode 100644
index 0000000000..9f27dffa4f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv420p
@@ -0,0 +1,2 @@
+27fc9d596cdb023945263f612de8d7d0 *tests/data/pixfmt/yuv444p10-yuv420p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv420p12be b/tests/ref/pixfmt/yuv444p10-yuv420p12be
new file mode 100644
index 0000000000..1a04d6a857
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv420p12be
@@ -0,0 +1,2 @@
+ee9f10eb6d260e2b6778bee2a76d8b68 *tests/data/pixfmt/yuv444p10-yuv420p12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv420p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv420p12le b/tests/ref/pixfmt/yuv444p10-yuv420p12le
new file mode 100644
index 0000000000..d81074de6c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv420p12le
@@ -0,0 +1,2 @@
+ee9f10eb6d260e2b6778bee2a76d8b68 *tests/data/pixfmt/yuv444p10-yuv420p12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv420p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv420p16be b/tests/ref/pixfmt/yuv444p10-yuv420p16be
new file mode 100644
index 0000000000..f9c356449a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv420p16be
@@ -0,0 +1,2 @@
+a416598999f9f3fabbb7b4cbbffe69c8 *tests/data/pixfmt/yuv444p10-yuv420p16be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv420p16le b/tests/ref/pixfmt/yuv444p10-yuv420p16le
new file mode 100644
index 0000000000..0ec15203d0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv420p16le
@@ -0,0 +1,2 @@
+a416598999f9f3fabbb7b4cbbffe69c8 *tests/data/pixfmt/yuv444p10-yuv420p16le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv422p b/tests/ref/pixfmt/yuv444p10-yuv422p
new file mode 100644
index 0000000000..89632d8905
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv422p
@@ -0,0 +1,2 @@
+753f7d1febe56f7e0c6f3f38e947c89e *tests/data/pixfmt/yuv444p10-yuv422p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv422p12be b/tests/ref/pixfmt/yuv444p10-yuv422p12be
new file mode 100644
index 0000000000..dff6aa25c9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv422p12be
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-yuv422p12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv422p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv422p12le b/tests/ref/pixfmt/yuv444p10-yuv422p12le
new file mode 100644
index 0000000000..373a17b971
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv422p12le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-yuv422p12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv422p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv422p16be b/tests/ref/pixfmt/yuv444p10-yuv422p16be
new file mode 100644
index 0000000000..2ca5077bcc
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv422p16be
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-yuv422p16be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv422p16le b/tests/ref/pixfmt/yuv444p10-yuv422p16le
new file mode 100644
index 0000000000..3fc765d590
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv422p16le
@@ -0,0 +1,2 @@
+f190abbfb009018f67717f0dce8ebef0 *tests/data/pixfmt/yuv444p10-yuv422p16le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv440p b/tests/ref/pixfmt/yuv444p10-yuv440p
new file mode 100644
index 0000000000..c4a92a6b32
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv440p
@@ -0,0 +1,2 @@
+4af01dd05fc7503438a345124d83503d *tests/data/pixfmt/yuv444p10-yuv440p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv440p12be b/tests/ref/pixfmt/yuv444p10-yuv440p12be
new file mode 100644
index 0000000000..16f3ec7977
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv440p12be
@@ -0,0 +1,2 @@
+bd4b6d863b997590c6eea281d32076da *tests/data/pixfmt/yuv444p10-yuv440p12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv440p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv440p12le b/tests/ref/pixfmt/yuv444p10-yuv440p12le
new file mode 100644
index 0000000000..05f4da40ee
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv440p12le
@@ -0,0 +1,2 @@
+bd4b6d863b997590c6eea281d32076da *tests/data/pixfmt/yuv444p10-yuv440p12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv440p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv444p b/tests/ref/pixfmt/yuv444p10-yuv444p
new file mode 100644
index 0000000000..c39314523a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv444p
@@ -0,0 +1,2 @@
+67d5749f3b40b343008f9a62db1b2abd *tests/data/pixfmt/yuv444p10-yuv444p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv444p12be b/tests/ref/pixfmt/yuv444p10-yuv444p12be
new file mode 100644
index 0000000000..e2c92714f8
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv444p12be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-yuv444p12be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv444p12be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv444p12le b/tests/ref/pixfmt/yuv444p10-yuv444p12le
new file mode 100644
index 0000000000..dab5ee374d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv444p12le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-yuv444p12le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv444p12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv444p16be b/tests/ref/pixfmt/yuv444p10-yuv444p16be
new file mode 100644
index 0000000000..926572d11e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv444p16be
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-yuv444p16be.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuv444p16le b/tests/ref/pixfmt/yuv444p10-yuv444p16le
new file mode 100644
index 0000000000..7a29285324
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuv444p16le
@@ -0,0 +1,2 @@
+c9f69deda55dd67c78c6e1e819b0bc52 *tests/data/pixfmt/yuv444p10-yuv444p16le.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuvj420p b/tests/ref/pixfmt/yuv444p10-yuvj420p
new file mode 100644
index 0000000000..433956b097
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuvj420p
@@ -0,0 +1,2 @@
+32292af6cea04b9c348a8874f58bc733 *tests/data/pixfmt/yuv444p10-yuvj420p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuvj422p b/tests/ref/pixfmt/yuv444p10-yuvj422p
new file mode 100644
index 0000000000..fc7b73fc8d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuvj422p
@@ -0,0 +1,2 @@
+ee6e29de4160f158827c930b5c16d038 *tests/data/pixfmt/yuv444p10-yuvj422p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuvj440p b/tests/ref/pixfmt/yuv444p10-yuvj440p
new file mode 100644
index 0000000000..6ecc476082
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuvj440p
@@ -0,0 +1,2 @@
+0b325a2bd9ed49bb53b504647a5de8d7 *tests/data/pixfmt/yuv444p10-yuvj440p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuvj444p b/tests/ref/pixfmt/yuv444p10-yuvj444p
new file mode 100644
index 0000000000..753aa73457
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuvj444p
@@ -0,0 +1,2 @@
+d524133b7a42e03399b390b584d76832 *tests/data/pixfmt/yuv444p10-yuvj444p.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yuyv422 b/tests/ref/pixfmt/yuv444p10-yuyv422
new file mode 100644
index 0000000000..764f975c14
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yuyv422
@@ -0,0 +1,2 @@
+97a35da480112b2c91169eaf7919cbc4 *tests/data/pixfmt/yuv444p10-yuyv422.yuv
+15206400 tests/data/pixfmt/yuv444p10-yuyv422.yuv
diff --git a/tests/ref/pixfmt/yuv444p10-yvyu422 b/tests/ref/pixfmt/yuv444p10-yvyu422
new file mode 100644
index 0000000000..a7d83b1bbc
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p10-yvyu422
@@ -0,0 +1,2 @@
+97a35da480112b2c91169eaf7919cbc4 *tests/data/pixfmt/yuv444p10-yvyu422.yuv
+15206400 tests/data/pixfmt/yuv444p10-yvyu422.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-bgr24 b/tests/ref/pixfmt/yuv444p12-bgr24
new file mode 100644
index 0000000000..c5ab719e71
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-bgr24
@@ -0,0 +1,2 @@
+a4c229a3e21792d671c3d120353617d6 *tests/data/pixfmt/yuv444p12-bgr24.yuv
+15206400 tests/data/pixfmt/yuv444p12-bgr24.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gbrp10be b/tests/ref/pixfmt/yuv444p12-gbrp10be
new file mode 100644
index 0000000000..0310a7deda
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gbrp10be
@@ -0,0 +1,2 @@
+6eec07201d81a9167874e6cfaae26747 *tests/data/pixfmt/yuv444p12-gbrp10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-gbrp10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gbrp10le b/tests/ref/pixfmt/yuv444p12-gbrp10le
new file mode 100644
index 0000000000..8946fae805
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gbrp10le
@@ -0,0 +1,2 @@
+6eec07201d81a9167874e6cfaae26747 *tests/data/pixfmt/yuv444p12-gbrp10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-gbrp10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gbrp16be b/tests/ref/pixfmt/yuv444p12-gbrp16be
new file mode 100644
index 0000000000..4dc316f76c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gbrp16be
@@ -0,0 +1,2 @@
+f909672776c933e57f139131756935af *tests/data/pixfmt/yuv444p12-gbrp16be.yuv
+15206400 tests/data/pixfmt/yuv444p12-gbrp16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gbrp16le b/tests/ref/pixfmt/yuv444p12-gbrp16le
new file mode 100644
index 0000000000..66c003007b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gbrp16le
@@ -0,0 +1,2 @@
+f909672776c933e57f139131756935af *tests/data/pixfmt/yuv444p12-gbrp16le.yuv
+15206400 tests/data/pixfmt/yuv444p12-gbrp16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gray b/tests/ref/pixfmt/yuv444p12-gray
new file mode 100644
index 0000000000..40e612232e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gray
@@ -0,0 +1,2 @@
+accbb9c5ccfb9dfd1a8ae00a265938dd *tests/data/pixfmt/yuv444p12-gray.yuv
+15206400 tests/data/pixfmt/yuv444p12-gray.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gray10be b/tests/ref/pixfmt/yuv444p12-gray10be
new file mode 100644
index 0000000000..2ace6e0c3a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gray10be
@@ -0,0 +1,2 @@
+8a6ace85d0c018303135fef8be18dff4 *tests/data/pixfmt/yuv444p12-gray10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-gray10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gray10le b/tests/ref/pixfmt/yuv444p12-gray10le
new file mode 100644
index 0000000000..d74d24343a
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gray10le
@@ -0,0 +1,2 @@
+8a6ace85d0c018303135fef8be18dff4 *tests/data/pixfmt/yuv444p12-gray10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-gray10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gray16be b/tests/ref/pixfmt/yuv444p12-gray16be
new file mode 100644
index 0000000000..476823ffcc
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gray16be
@@ -0,0 +1,2 @@
+420cd2272d4466f10109ac7c4b40e14c *tests/data/pixfmt/yuv444p12-gray16be.yuv
+15206400 tests/data/pixfmt/yuv444p12-gray16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-gray16le b/tests/ref/pixfmt/yuv444p12-gray16le
new file mode 100644
index 0000000000..0aab395eaf
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-gray16le
@@ -0,0 +1,2 @@
+420cd2272d4466f10109ac7c4b40e14c *tests/data/pixfmt/yuv444p12-gray16le.yuv
+15206400 tests/data/pixfmt/yuv444p12-gray16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-monob b/tests/ref/pixfmt/yuv444p12-monob
new file mode 100644
index 0000000000..375bf87be2
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-monob
@@ -0,0 +1,2 @@
+e1e9929210aad83707d91306336bdb04 *tests/data/pixfmt/yuv444p12-monob.yuv
+15206400 tests/data/pixfmt/yuv444p12-monob.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-monow b/tests/ref/pixfmt/yuv444p12-monow
new file mode 100644
index 0000000000..4ed615fd11
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-monow
@@ -0,0 +1,2 @@
+e1e9929210aad83707d91306336bdb04 *tests/data/pixfmt/yuv444p12-monow.yuv
+15206400 tests/data/pixfmt/yuv444p12-monow.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-nv12 b/tests/ref/pixfmt/yuv444p12-nv12
new file mode 100644
index 0000000000..ccbda0773c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-nv12
@@ -0,0 +1,2 @@
+b123008efd2e1793c90d6aede028004b *tests/data/pixfmt/yuv444p12-nv12.yuv
+15206400 tests/data/pixfmt/yuv444p12-nv12.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-nv16 b/tests/ref/pixfmt/yuv444p12-nv16
new file mode 100644
index 0000000000..62126f88e6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-nv16
@@ -0,0 +1,2 @@
+95974d93b3b0a54d3f6b10157a68f524 *tests/data/pixfmt/yuv444p12-nv16.yuv
+15206400 tests/data/pixfmt/yuv444p12-nv16.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-nv24 b/tests/ref/pixfmt/yuv444p12-nv24
new file mode 100644
index 0000000000..fe9c97e4e1
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-nv24
@@ -0,0 +1,2 @@
+fe5f29ca40140c63f082029bfd23047d *tests/data/pixfmt/yuv444p12-nv24.yuv
+15206400 tests/data/pixfmt/yuv444p12-nv24.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p010be b/tests/ref/pixfmt/yuv444p12-p010be
new file mode 100644
index 0000000000..afb0f21885
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p010be
@@ -0,0 +1,2 @@
+ae9e67fe331f256a2307beac7c59c984 *tests/data/pixfmt/yuv444p12-p010be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p010be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p010le b/tests/ref/pixfmt/yuv444p12-p010le
new file mode 100644
index 0000000000..efff072ab6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p010le
@@ -0,0 +1,2 @@
+ae9e67fe331f256a2307beac7c59c984 *tests/data/pixfmt/yuv444p12-p010le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p010le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p016be b/tests/ref/pixfmt/yuv444p12-p016be
new file mode 100644
index 0000000000..d9828fd1ee
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p016be
@@ -0,0 +1,2 @@
+58326a2c6b3c5a0cf2e3f3e2bc46a171 *tests/data/pixfmt/yuv444p12-p016be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p016be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p016le b/tests/ref/pixfmt/yuv444p12-p016le
new file mode 100644
index 0000000000..ff44b5100f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p016le
@@ -0,0 +1,2 @@
+58326a2c6b3c5a0cf2e3f3e2bc46a171 *tests/data/pixfmt/yuv444p12-p016le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p016le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p210be b/tests/ref/pixfmt/yuv444p12-p210be
new file mode 100644
index 0000000000..a10c362b4f
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p210be
@@ -0,0 +1,2 @@
+daff93ab0bc1d9cbad6103f6f48f93b3 *tests/data/pixfmt/yuv444p12-p210be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p210be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p210le b/tests/ref/pixfmt/yuv444p12-p210le
new file mode 100644
index 0000000000..03cec760f0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p210le
@@ -0,0 +1,2 @@
+daff93ab0bc1d9cbad6103f6f48f93b3 *tests/data/pixfmt/yuv444p12-p210le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p210le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p216be b/tests/ref/pixfmt/yuv444p12-p216be
new file mode 100644
index 0000000000..6df2f01b6e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p216be
@@ -0,0 +1,2 @@
+4eeb97d1d167ce69dddbd38701cc14db *tests/data/pixfmt/yuv444p12-p216be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p216be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p216le b/tests/ref/pixfmt/yuv444p12-p216le
new file mode 100644
index 0000000000..d4e2d4f648
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p216le
@@ -0,0 +1,2 @@
+4eeb97d1d167ce69dddbd38701cc14db *tests/data/pixfmt/yuv444p12-p216le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p410be b/tests/ref/pixfmt/yuv444p12-p410be
new file mode 100644
index 0000000000..96c62e909c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p410be
@@ -0,0 +1,2 @@
+d885def826d77206e10cd7f9bc2ce72a *tests/data/pixfmt/yuv444p12-p410be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p410be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p410le b/tests/ref/pixfmt/yuv444p12-p410le
new file mode 100644
index 0000000000..6e909f762c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p410le
@@ -0,0 +1,2 @@
+d885def826d77206e10cd7f9bc2ce72a *tests/data/pixfmt/yuv444p12-p410le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p410le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p416be b/tests/ref/pixfmt/yuv444p12-p416be
new file mode 100644
index 0000000000..35f778edef
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p416be
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-p416be.yuv
+15206400 tests/data/pixfmt/yuv444p12-p416be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-p416le b/tests/ref/pixfmt/yuv444p12-p416le
new file mode 100644
index 0000000000..55abacb3cb
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-p416le
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-p416le.yuv
+15206400 tests/data/pixfmt/yuv444p12-p416le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-rgb24 b/tests/ref/pixfmt/yuv444p12-rgb24
new file mode 100644
index 0000000000..b50c40f8ef
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-rgb24
@@ -0,0 +1,2 @@
+a4c229a3e21792d671c3d120353617d6 *tests/data/pixfmt/yuv444p12-rgb24.yuv
+15206400 tests/data/pixfmt/yuv444p12-rgb24.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-rgb32 b/tests/ref/pixfmt/yuv444p12-rgb32
new file mode 100644
index 0000000000..a0bae7b381
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-rgb32
@@ -0,0 +1,2 @@
+a4c229a3e21792d671c3d120353617d6 *tests/data/pixfmt/yuv444p12-rgb32.yuv
+15206400 tests/data/pixfmt/yuv444p12-rgb32.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-rgb48 b/tests/ref/pixfmt/yuv444p12-rgb48
new file mode 100644
index 0000000000..8de6463fc8
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-rgb48
@@ -0,0 +1,2 @@
+f909672776c933e57f139131756935af *tests/data/pixfmt/yuv444p12-rgb48.yuv
+15206400 tests/data/pixfmt/yuv444p12-rgb48.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-rgb555 b/tests/ref/pixfmt/yuv444p12-rgb555
new file mode 100644
index 0000000000..47d63fa248
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-rgb555
@@ -0,0 +1,2 @@
+20e4839897ec4394b500a56df3b4a144 *tests/data/pixfmt/yuv444p12-rgb555.yuv
+15206400 tests/data/pixfmt/yuv444p12-rgb555.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-rgb565 b/tests/ref/pixfmt/yuv444p12-rgb565
new file mode 100644
index 0000000000..68483e9985
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-rgb565
@@ -0,0 +1,2 @@
+a4d83b1eb591e4f2912fe1c3d148e4a9 *tests/data/pixfmt/yuv444p12-rgb565.yuv
+15206400 tests/data/pixfmt/yuv444p12-rgb565.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-uyvy422 b/tests/ref/pixfmt/yuv444p12-uyvy422
new file mode 100644
index 0000000000..86fb3a9877
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-uyvy422
@@ -0,0 +1,2 @@
+590a009e5faf9c1b25fbc0e254575c62 *tests/data/pixfmt/yuv444p12-uyvy422.yuv
+15206400 tests/data/pixfmt/yuv444p12-uyvy422.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-v30xle b/tests/ref/pixfmt/yuv444p12-v30xle
new file mode 100644
index 0000000000..0c554fb74e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-v30xle
@@ -0,0 +1,2 @@
+d885def826d77206e10cd7f9bc2ce72a *tests/data/pixfmt/yuv444p12-v30xle.yuv
+15206400 tests/data/pixfmt/yuv444p12-v30xle.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-vuyx b/tests/ref/pixfmt/yuv444p12-vuyx
new file mode 100644
index 0000000000..3e1474777b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-vuyx
@@ -0,0 +1,2 @@
+6b16abfcc822202064351794f08b6db8 *tests/data/pixfmt/yuv444p12-vuyx.yuv
+15206400 tests/data/pixfmt/yuv444p12-vuyx.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-vyu444 b/tests/ref/pixfmt/yuv444p12-vyu444
new file mode 100644
index 0000000000..e519481bf5
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-vyu444
@@ -0,0 +1,2 @@
+6b16abfcc822202064351794f08b6db8 *tests/data/pixfmt/yuv444p12-vyu444.yuv
+15206400 tests/data/pixfmt/yuv444p12-vyu444.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-x2bgr10le b/tests/ref/pixfmt/yuv444p12-x2bgr10le
new file mode 100644
index 0000000000..a9352d00a4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-x2bgr10le
@@ -0,0 +1,2 @@
+10fc3067bf3bf8bc012b527188ded5aa *tests/data/pixfmt/yuv444p12-x2bgr10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-x2bgr10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-x2rgb10le b/tests/ref/pixfmt/yuv444p12-x2rgb10le
new file mode 100644
index 0000000000..8cebaf1b8c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-x2rgb10le
@@ -0,0 +1,2 @@
+10fc3067bf3bf8bc012b527188ded5aa *tests/data/pixfmt/yuv444p12-x2rgb10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-x2rgb10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-xv30le b/tests/ref/pixfmt/yuv444p12-xv30le
new file mode 100644
index 0000000000..f05d880e3b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-xv30le
@@ -0,0 +1,2 @@
+d885def826d77206e10cd7f9bc2ce72a *tests/data/pixfmt/yuv444p12-xv30le.yuv
+15206400 tests/data/pixfmt/yuv444p12-xv30le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-xv48be b/tests/ref/pixfmt/yuv444p12-xv48be
new file mode 100644
index 0000000000..4ec0a25195
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-xv48be
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-xv48be.yuv
+15206400 tests/data/pixfmt/yuv444p12-xv48be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-xv48le b/tests/ref/pixfmt/yuv444p12-xv48le
new file mode 100644
index 0000000000..441d487de0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-xv48le
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-xv48le.yuv
+15206400 tests/data/pixfmt/yuv444p12-xv48le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-xyz12le b/tests/ref/pixfmt/yuv444p12-xyz12le
new file mode 100644
index 0000000000..e947e6c4eb
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-xyz12le
@@ -0,0 +1,2 @@
+7dd2de39e7bc112ebd94f39284b16f06 *tests/data/pixfmt/yuv444p12-xyz12le.yuv
+15206400 tests/data/pixfmt/yuv444p12-xyz12le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-y210le b/tests/ref/pixfmt/yuv444p12-y210le
new file mode 100644
index 0000000000..a3054e9334
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-y210le
@@ -0,0 +1,2 @@
+daff93ab0bc1d9cbad6103f6f48f93b3 *tests/data/pixfmt/yuv444p12-y210le.yuv
+15206400 tests/data/pixfmt/yuv444p12-y210le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-y216le b/tests/ref/pixfmt/yuv444p12-y216le
new file mode 100644
index 0000000000..25b305bdf7
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-y216le
@@ -0,0 +1,2 @@
+4eeb97d1d167ce69dddbd38701cc14db *tests/data/pixfmt/yuv444p12-y216le.yuv
+15206400 tests/data/pixfmt/yuv444p12-y216le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv410p b/tests/ref/pixfmt/yuv444p12-yuv410p
new file mode 100644
index 0000000000..0e18d0f5ae
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv410p
@@ -0,0 +1,2 @@
+9e5ebe0e14c9b33922ace133246ebe68 *tests/data/pixfmt/yuv444p12-yuv410p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv410p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv411p b/tests/ref/pixfmt/yuv444p12-yuv411p
new file mode 100644
index 0000000000..d04e8fd6c3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv411p
@@ -0,0 +1,2 @@
+46207354abe6abf88b4645caf8e5a7df *tests/data/pixfmt/yuv444p12-yuv411p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv411p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv420p b/tests/ref/pixfmt/yuv444p12-yuv420p
new file mode 100644
index 0000000000..6087de535d
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv420p
@@ -0,0 +1,2 @@
+02679cf4ddfb12d1f4ba03d54a949d9e *tests/data/pixfmt/yuv444p12-yuv420p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv420p10be b/tests/ref/pixfmt/yuv444p12-yuv420p10be
new file mode 100644
index 0000000000..28be619971
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv420p10be
@@ -0,0 +1,2 @@
+ae9e67fe331f256a2307beac7c59c984 *tests/data/pixfmt/yuv444p12-yuv420p10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv420p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv420p10le b/tests/ref/pixfmt/yuv444p12-yuv420p10le
new file mode 100644
index 0000000000..1d795889c3
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv420p10le
@@ -0,0 +1,2 @@
+ae9e67fe331f256a2307beac7c59c984 *tests/data/pixfmt/yuv444p12-yuv420p10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv420p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv420p16be b/tests/ref/pixfmt/yuv444p12-yuv420p16be
new file mode 100644
index 0000000000..e32af4df38
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv420p16be
@@ -0,0 +1,2 @@
+58326a2c6b3c5a0cf2e3f3e2bc46a171 *tests/data/pixfmt/yuv444p12-yuv420p16be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv420p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv420p16le b/tests/ref/pixfmt/yuv444p12-yuv420p16le
new file mode 100644
index 0000000000..4e4938a1ca
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv420p16le
@@ -0,0 +1,2 @@
+58326a2c6b3c5a0cf2e3f3e2bc46a171 *tests/data/pixfmt/yuv444p12-yuv420p16le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv420p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv422p b/tests/ref/pixfmt/yuv444p12-yuv422p
new file mode 100644
index 0000000000..9d60decf3b
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv422p
@@ -0,0 +1,2 @@
+95974d93b3b0a54d3f6b10157a68f524 *tests/data/pixfmt/yuv444p12-yuv422p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv422p10be b/tests/ref/pixfmt/yuv444p12-yuv422p10be
new file mode 100644
index 0000000000..f7f76bb834
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv422p10be
@@ -0,0 +1,2 @@
+daff93ab0bc1d9cbad6103f6f48f93b3 *tests/data/pixfmt/yuv444p12-yuv422p10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv422p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv422p10le b/tests/ref/pixfmt/yuv444p12-yuv422p10le
new file mode 100644
index 0000000000..332c388048
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv422p10le
@@ -0,0 +1,2 @@
+daff93ab0bc1d9cbad6103f6f48f93b3 *tests/data/pixfmt/yuv444p12-yuv422p10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv422p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv422p16be b/tests/ref/pixfmt/yuv444p12-yuv422p16be
new file mode 100644
index 0000000000..c9b48c2e82
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv422p16be
@@ -0,0 +1,2 @@
+4eeb97d1d167ce69dddbd38701cc14db *tests/data/pixfmt/yuv444p12-yuv422p16be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv422p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv422p16le b/tests/ref/pixfmt/yuv444p12-yuv422p16le
new file mode 100644
index 0000000000..c8f382839e
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv422p16le
@@ -0,0 +1,2 @@
+4eeb97d1d167ce69dddbd38701cc14db *tests/data/pixfmt/yuv444p12-yuv422p16le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv422p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv440p b/tests/ref/pixfmt/yuv444p12-yuv440p
new file mode 100644
index 0000000000..ffaafac524
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv440p
@@ -0,0 +1,2 @@
+e8aeda5bc1f7e27b190b2ba3f9b6bc85 *tests/data/pixfmt/yuv444p12-yuv440p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv440p10be b/tests/ref/pixfmt/yuv444p12-yuv440p10be
new file mode 100644
index 0000000000..e60b0e81b2
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv440p10be
@@ -0,0 +1,2 @@
+b1ca4aaf69d3abc4be103a7b60dfa849 *tests/data/pixfmt/yuv444p12-yuv440p10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv440p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv440p10le b/tests/ref/pixfmt/yuv444p12-yuv440p10le
new file mode 100644
index 0000000000..d64e48d534
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv440p10le
@@ -0,0 +1,2 @@
+b1ca4aaf69d3abc4be103a7b60dfa849 *tests/data/pixfmt/yuv444p12-yuv440p10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv440p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv444p b/tests/ref/pixfmt/yuv444p12-yuv444p
new file mode 100644
index 0000000000..a59328f3c0
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv444p
@@ -0,0 +1,2 @@
+1ece60e7894b113b09c86575c66a2ec8 *tests/data/pixfmt/yuv444p12-yuv444p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv444p10be b/tests/ref/pixfmt/yuv444p12-yuv444p10be
new file mode 100644
index 0000000000..90740e0467
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv444p10be
@@ -0,0 +1,2 @@
+284113a13f5c2378e87ff5e53aff23cb *tests/data/pixfmt/yuv444p12-yuv444p10be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv444p10be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv444p10le b/tests/ref/pixfmt/yuv444p12-yuv444p10le
new file mode 100644
index 0000000000..317094ed20
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv444p10le
@@ -0,0 +1,2 @@
+284113a13f5c2378e87ff5e53aff23cb *tests/data/pixfmt/yuv444p12-yuv444p10le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv444p10le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv444p16be b/tests/ref/pixfmt/yuv444p12-yuv444p16be
new file mode 100644
index 0000000000..62e83941b9
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv444p16be
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-yuv444p16be.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv444p16be.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuv444p16le b/tests/ref/pixfmt/yuv444p12-yuv444p16le
new file mode 100644
index 0000000000..dac6f154d6
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuv444p16le
@@ -0,0 +1,2 @@
+5d600b24fcb10ff30d9ea1bdd0df87d0 *tests/data/pixfmt/yuv444p12-yuv444p16le.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuv444p16le.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuvj420p b/tests/ref/pixfmt/yuv444p12-yuvj420p
new file mode 100644
index 0000000000..c19dd46694
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuvj420p
@@ -0,0 +1,2 @@
+10510ca260b22e5fa0e2dc2b4ad86d8a *tests/data/pixfmt/yuv444p12-yuvj420p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuvj420p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuvj422p b/tests/ref/pixfmt/yuv444p12-yuvj422p
new file mode 100644
index 0000000000..0d0b52f64c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuvj422p
@@ -0,0 +1,2 @@
+545dd010f72e8a3b2567f2d2f7c5e5a4 *tests/data/pixfmt/yuv444p12-yuvj422p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuvj422p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuvj440p b/tests/ref/pixfmt/yuv444p12-yuvj440p
new file mode 100644
index 0000000000..26b5a10c47
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuvj440p
@@ -0,0 +1,2 @@
+155892996e069e66f95be52173df10ad *tests/data/pixfmt/yuv444p12-yuvj440p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuvj440p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuvj444p b/tests/ref/pixfmt/yuv444p12-yuvj444p
new file mode 100644
index 0000000000..f657f8e7c7
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuvj444p
@@ -0,0 +1,2 @@
+2e70694b7ab9dab49620f3c2eda5d814 *tests/data/pixfmt/yuv444p12-yuvj444p.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuvj444p.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yuyv422 b/tests/ref/pixfmt/yuv444p12-yuyv422
new file mode 100644
index 0000000000..b7fe7a340c
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yuyv422
@@ -0,0 +1,2 @@
+590a009e5faf9c1b25fbc0e254575c62 *tests/data/pixfmt/yuv444p12-yuyv422.yuv
+15206400 tests/data/pixfmt/yuv444p12-yuyv422.yuv
diff --git a/tests/ref/pixfmt/yuv444p12-yvyu422 b/tests/ref/pixfmt/yuv444p12-yvyu422
new file mode 100644
index 0000000000..8bf8dfb2a4
--- /dev/null
+++ b/tests/ref/pixfmt/yuv444p12-yvyu422
@@ -0,0 +1,2 @@
+590a009e5faf9c1b25fbc0e254575c62 *tests/data/pixfmt/yuv444p12-yvyu422.yuv
+15206400 tests/data/pixfmt/yuv444p12-yvyu422.yuv
diff --git a/tests/ref/pixfmt/yvyu422 b/tests/ref/pixfmt/yvyu422
new file mode 100644
index 0000000000..48933c54fc
--- /dev/null
+++ b/tests/ref/pixfmt/yvyu422
@@ -0,0 +1,2 @@
+ac68f9fdd9d55efd0306d9b004038761 *tests/data/pixfmt/yvyu422.yuv
+304128 tests/data/pixfmt/yvyu422.yuv



More information about the ffmpeg-cvslog mailing list