aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-21 21:38:55 -0300
committerJames Almer <jamrial@gmail.com>2024-10-23 14:11:16 -0300
commitf462ba05f54dae6b4113c2d2162b861ed2ffe27c (patch)
tree48eeeb8dfe9472ea6f66d14ea69e1cb29bd2c315 /libavutil/tests
parent9eb7e8d2a4da108c9cf5d25984cf20b613ce593e (diff)
downloadffmpeg-f462ba05f54dae6b4113c2d2162b861ed2ffe27c.tar.gz
avutil/pixfmt: add Y216 pixel format
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/pixfmt_best.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/tests/pixfmt_best.c b/libavutil/tests/pixfmt_best.c
index fe04e26689..c853be0e34 100644
--- a/libavutil/tests/pixfmt_best.c
+++ b/libavutil/tests/pixfmt_best.c
@@ -50,6 +50,7 @@ static const enum AVPixelFormat packed_list[] = {
AV_PIX_FMT_XV36,
AV_PIX_FMT_XV30,
AV_PIX_FMT_VUYX,
+ AV_PIX_FMT_Y216,
AV_PIX_FMT_Y212,
AV_PIX_FMT_Y210,
AV_PIX_FMT_YUYV422,
@@ -210,6 +211,7 @@ int main(void)
TEST_PACKED(AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUYV422);
TEST_PACKED(AV_PIX_FMT_YUV422P10, AV_PIX_FMT_Y210);
TEST_PACKED(AV_PIX_FMT_YUV422P12, AV_PIX_FMT_Y212);
+ TEST_PACKED(AV_PIX_FMT_YUV422P16, AV_PIX_FMT_Y216);
#define TEST_SUBSAMPLED(input, expected) \
test(input, expected, &pass, &fail, find_best_subsampled)