summaryrefslogtreecommitdiff
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-09-23 23:22:31 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2021-09-26 16:26:10 +0200
commit0760d9153c39e95e175c434e56916e7d950a4f03 (patch)
tree9b5667d9407b9533f96f0e5483b9b86b4539ad0b /tests/ref/fate
parentca594df622abae0c59ef735d63f071db983a35f7 (diff)
downloadffmpeg-0760d9153c39e95e175c434e56916e7d950a4f03.tar.gz
lavu/pix_fmt: add pixel format for x2bgr10
The new format (given in big/little endian forms) matches the existing X2RGB10 format, except with B and R channels switched. AV_PIX_FMT_X2BGR10 data often is created by OpenGL programs whose buffers use the GL_RGB10 internal format. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r--tests/ref/fate/imgutils2
-rw-r--r--tests/ref/fate/sws-pixdesc-query11
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/fate/imgutils b/tests/ref/fate/imgutils
index f510150ea1..495bbd46f0 100644
--- a/tests/ref/fate/imgutils
+++ b/tests/ref/fate/imgutils
@@ -236,3 +236,5 @@ y210be planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0
y210le planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288
x2rgb10le planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288
x2rgb10be planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288
+x2bgr10le planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288
+x2bgr10be planes: 1, linesizes: 256 0 0 0, plane_sizes: 12288 0 0 0, plane_offsets: 0 0 0, total_size: 12288
diff --git a/tests/ref/fate/sws-pixdesc-query b/tests/ref/fate/sws-pixdesc-query
index c3cccfa492..a74109c3d7 100644
--- a/tests/ref/fate/sws-pixdesc-query
+++ b/tests/ref/fate/sws-pixdesc-query
@@ -57,6 +57,8 @@ isNBPS:
nv20le
p010be
p010le
+ x2bgr10be
+ x2bgr10le
x2rgb10be
x2rgb10le
xyz12be
@@ -143,6 +145,7 @@ isBE:
rgb555be
rgb565be
rgba64be
+ x2bgr10be
x2rgb10be
xyz12be
y210be
@@ -439,6 +442,8 @@ isRGB:
rgb8
rgba64be
rgba64le
+ x2bgr10be
+ x2bgr10le
x2rgb10be
x2rgb10le
@@ -587,6 +592,8 @@ AnyRGB:
rgb8
rgba64be
rgba64le
+ x2bgr10be
+ x2bgr10le
x2rgb10be
x2rgb10le
@@ -696,6 +703,8 @@ Packed:
rgba64le
uyvy422
uyyvyy411
+ x2bgr10be
+ x2bgr10le
x2rgb10be
x2rgb10le
xyz12be
@@ -862,6 +871,8 @@ PackedRGB:
rgb8
rgba64be
rgba64le
+ x2bgr10be
+ x2bgr10le
x2rgb10be
x2rgb10le