From 04e7ebea5d5fff9a5a4c2b518205344b6364c68a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 31 Mar 2021 09:43:00 -0500 Subject: [PATCH] util/format: YUYV and UYVY have 4 8-bit channels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They're all packed and weird but this is more accurate than saying they have a single x32 blob of data. Reviewed-by: Alejandro PiƱeiro Part-of: --- src/util/format/u_format.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/format/u_format.csv b/src/util/format/u_format.csv index 5d6b0c744d5..8d95133aa87 100644 --- a/src/util/format/u_format.csv +++ b/src/util/format/u_format.csv @@ -176,9 +176,9 @@ PIPE_FORMAT_Z24_UNORM_S8_UINT_AS_R8G8B8A8 , plain, 1, 1, 1, un8 , un8 , un8 , un # YUV formats # http://www.fourcc.org/yuv.php#UYVY -PIPE_FORMAT_UYVY , subsampled, 2, 1, 1, x32 , , , , xyz1, yuv +PIPE_FORMAT_UYVY , subsampled, 2, 1, 1, un8 , un8 , un8 , un8 , xyz1, yuv # http://www.fourcc.org/yuv.php#YUYV (a.k.a http://www.fourcc.org/yuv.php#YUY2) -PIPE_FORMAT_YUYV , subsampled, 2, 1, 1, x32 , , , , xyz1, yuv +PIPE_FORMAT_YUYV , subsampled, 2, 1, 1, un8 , un8 , un8 , un8 , xyz1, yuv PIPE_FORMAT_AYUV , other, 4, 4, 1, un8 , , , , xyzw, yuv PIPE_FORMAT_XYUV , other, 4, 4, 1, un8 , , , , xyz1, yuv