diff options
author | Seungha Yang <seungha@centricular.com> | 2021-04-20 02:00:18 +0900 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-04-21 05:45:59 +0000 |
commit | 817544860d96d8ef3a1ec50be45ead9b72f87713 (patch) | |
tree | 215b8e4a3fee9f98498e50f6ef2b4228cef6af00 /tests | |
parent | 33078bf54a15cf29000ee2bc160d3f12a66d4857 (diff) | |
download | gstreamer-plugins-bad-817544860d96d8ef3a1ec50be45ead9b72f87713.tar.gz |
d3d11: Add support for BGRx and RGBx formats
For such formats, we can re-use existing BGRA/RGBA implementations
but ignoring alpha channel
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2174>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/d3d11colorconvert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check/elements/d3d11colorconvert.c b/tests/check/elements/d3d11colorconvert.c index fc96fa8e6..6cd010ace 100644 --- a/tests/check/elements/d3d11colorconvert.c +++ b/tests/check/elements/d3d11colorconvert.c @@ -187,7 +187,7 @@ GST_START_TEST (test_d3d11_color_convert_yuv_rgb) "VUYA", "NV12", "P010_10LE", "P016_LE", "I420", "I420_10LE" }; const gchar *out_format_list[] = { - "BGRA", "RGBA", "RGB10A2_LE", + "BGRA", "RGBA", "RGB10A2_LE", "BGRx", "RGBx", }; @@ -210,7 +210,7 @@ GST_END_TEST; GST_START_TEST (test_d3d11_color_convert_rgb_yuv) { const gchar *in_format_list[] = { - "BGRA", "RGBA", "RGB10A2_LE", + "BGRA", "RGBA", "RGB10A2_LE", "BGRx", "RGBx", }; const gchar *out_format_list[] = { "VUYA", "NV12", "P010_10LE", "P016_LE", "I420", "I420_10LE" @@ -232,7 +232,7 @@ GST_END_TEST; GST_START_TEST (test_d3d11_color_convert_rgb_rgb) { const gchar *format_list[] = { - "BGRA", "RGBA", "RGB10A2_LE", + "BGRA", "RGBA", "RGB10A2_LE", "BGRx", "RGBx", }; gint i, j; @@ -278,7 +278,7 @@ GST_START_TEST (test_d3d11_color_convert_packed_yuv_rgb) "YUY2", "UYVY", "VYUY", "Y210", "Y410", }; const gchar *out_format_list[] = { - "BGRA", "RGBA", "RGB10A2_LE", + "BGRA", "RGBA", "RGB10A2_LE", "BGRx", "RGBx", }; gint i, j; |