summaryrefslogtreecommitdiff
path: root/libavutil/tests
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-08-19 16:50:44 -0700
committerPhilip Langdale <philipl@overt.org>2022-08-25 19:02:49 -0700
commitcc5a5c986047d38b53c0f12a227b04487624e7cb (patch)
tree0ba7ef3f27db4e9ea8cad35f1e26dfb300a9d913 /libavutil/tests
parent61fa1e14e4178d3f2550c76f7a36484220f6dc0c (diff)
downloadffmpeg-cc5a5c986047d38b53c0f12a227b04487624e7cb.tar.gz
lavu/pixfmt: Introduce VUYX format
This is the alphaless version of VUYA that I introduced recently. After further discussion and noting that the Intel vaapi driver explicitly lists XYUV as a support format for encoding and decoding 8bit 444 content, we decided to switch our usage and avoid the overhead of having a declared alpha channel around. Note that I am not removing VUYA, as this turned out to have another use, which was to replace the need for v408enc/dec when dealing with the format. The vaapi switching will happen in the next change
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/pixfmt_best.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/tests/pixfmt_best.c b/libavutil/tests/pixfmt_best.c
index de53baf092..0542af494f 100644
--- a/libavutil/tests/pixfmt_best.c
+++ b/libavutil/tests/pixfmt_best.c
@@ -84,6 +84,7 @@ int main(void)
TEST(AV_PIX_FMT_GBRP, AV_PIX_FMT_RGB24);
TEST(AV_PIX_FMT_0RGB, AV_PIX_FMT_RGB24);
TEST(AV_PIX_FMT_GBRP16, AV_PIX_FMT_RGB48);
+ TEST(AV_PIX_FMT_VUYX, AV_PIX_FMT_YUV444P);
// Formats additionally containing alpha (here ignored).
TEST(AV_PIX_FMT_YA8, AV_PIX_FMT_GRAY8);