summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-07-23 11:11:59 -0700
committerPhilip Langdale <philipl@overt.org>2022-08-03 14:09:46 -0700
commit6ab8a9d375ca922b2a94cd7160a4e3c5abe6339c (patch)
tree6a1b7e534f3c71ce880d98fa820a8ec072874f3b /tests
parent900ce6f8c3526f27173057bb955f54f4f4f41246 (diff)
lavu/pixfmt: Add packed 4:4:4 format
The "AYUV" format is defined by Microsoft as their preferred format for 4:4:4 content, and so it is the format used by Intel VAAPI and QSV. As Microsoft like to define their byte ordering in little-endian fashion, the memory order is reversed, and so our pix_fmt, which follows memory order, has a reversed name (VUYA).
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/imgutils1
-rw-r--r--tests/ref/fate/sws-pixdesc-query4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/fate/imgutils b/tests/ref/fate/imgutils
index b23d1b4c39..4ec66febb8 100644
--- a/tests/ref/fate/imgutils
+++ b/tests/ref/fate/imgutils
@@ -246,3 +246,4 @@ p216be planes: 2, linesizes: 128 128 0 0, plane_sizes: 6144 6144
p216le planes: 2, linesizes: 128 128 0 0, plane_sizes: 6144 6144 0 0, plane_offsets: 6144 0 0, total_size: 12288
p416be planes: 2, linesizes: 128 256 0 0, plane_sizes: 6144 12288 0 0, plane_offsets: 6144 0 0, total_size: 18432
p416le planes: 2, linesizes: 128 256 0 0, plane_sizes: 6144 12288 0 0, plane_offsets: 6144 0 0, total_size: 18432
+vuya 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 76104bc5a6..bd0f1fcb82 100644
--- a/tests/ref/fate/sws-pixdesc-query
+++ b/tests/ref/fate/sws-pixdesc-query
@@ -215,6 +215,7 @@ isYUV:
p416le
uyvy422
uyyvyy411
+ vuya
xyz12be
xyz12le
y210be
@@ -654,6 +655,7 @@ ALPHA:
rgb32_1
rgba64be
rgba64le
+ vuya
ya16be
ya16le
ya8
@@ -739,6 +741,7 @@ Packed:
rgba64le
uyvy422
uyyvyy411
+ vuya
x2bgr10be
x2bgr10le
x2rgb10be
@@ -967,5 +970,6 @@ DataInHighBits:
SwappedChroma:
nv21
nv42
+ vuya
yvyu422