From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id D2A6643F5B for ; Sat, 20 Aug 2022 04:32:06 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4587068B97D; Sat, 20 Aug 2022 07:32:03 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C969E68B920 for ; Sat, 20 Aug 2022 07:31:56 +0300 (EEST) Received: from authenticated-user (mail.overt.org [157.230.92.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id D41293F1EB; Fri, 19 Aug 2022 23:31:54 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1660969915; bh=pqVDb0I5s2ILMTC07sJUESi+DsG04Oot7JKpGcuO1jA=; h=From:To:Cc:Subject:Date:From; b=Mijj1Z4Y8P8bMMyYC9/j9yk1C/tWEqEU3PE2da57cHxwuP6QR5RCHvUSM4QWpsRhy 2J7m5n62Za4L2nfbaMtOG1UDqKH57bFEP98rIkimH9Vj5dAlwoGOASyvTyVGco5dAs mx/FMUmgPy46plx+hCrjgMUZbt7XhcwYDvujipfekZ2vnkCXFemNKy3tLfJuMDX4l6 sAvRFhPLoBEPNMfbPZkbQbitb6obgZfLN8niTpCDY1PgMMw7VmaPGY7H7rBEdnmb05 yMQ/izd2oDmk17HfVAD+5MV3l8gEGlP/cRanXFqGFQCf8F4WxcX0kV2w5vJe8k2s55 2USmt0BtDItVw== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Aug 2022 21:31:43 -0700 Message-Id: <20220820043146.398996-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] v2: vaapi: switch 8bit 444 format to VUYX X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Philip Langdale Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: After discussion with Mark, I'm switching the preferred format for 8bit 444 content in vaapi to VUYX, which is the alpha-less variant of VUYA. This format is formally supported by the driver, so we don't even need to do any fudging. I am not removing VUYA because we found another use for it, replacing the previous requirement to use v408[enc|dec] to work with it. * v2: Fix test update in wrong change * v3: Remove incorrect alpha flag from pix_fmt Philip Langdale (3): lavu/pixfmt: Introduce VUYX format libswscale: add support for VUYX format lavc/vaapi: Switch preferred 8bit 444 format to VUYX libavcodec/vaapi_decode.c | 4 ++- libavcodec/vaapi_encode.c | 2 +- libavcodec/vaapi_encode_h265.c | 3 +- libavcodec/vaapi_encode_vp9.c | 3 +- libavutil/pixdesc.c | 12 ++++++++ libavutil/pixfmt.h | 2 ++ libavutil/tests/pixfmt_best.c | 1 + libswscale/input.c | 10 ++++--- libswscale/output.c | 35 +++++++++++++++++++++--- libswscale/utils.c | 1 + tests/ref/fate/filter-pixdesc-vuyx | 1 + tests/ref/fate/filter-pixfmts-copy | 1 + tests/ref/fate/filter-pixfmts-crop | 1 + tests/ref/fate/filter-pixfmts-field | 1 + tests/ref/fate/filter-pixfmts-fieldorder | 1 + tests/ref/fate/filter-pixfmts-hflip | 1 + tests/ref/fate/filter-pixfmts-il | 1 + tests/ref/fate/filter-pixfmts-null | 1 + tests/ref/fate/filter-pixfmts-pad | 1 + tests/ref/fate/filter-pixfmts-scale | 1 + tests/ref/fate/filter-pixfmts-transpose | 1 + tests/ref/fate/filter-pixfmts-vflip | 1 + tests/ref/fate/imgutils | 1 + tests/ref/fate/pixfmt_best | 2 +- tests/ref/fate/sws-pixdesc-query | 3 ++ 25 files changed, 76 insertions(+), 15 deletions(-) create mode 100644 tests/ref/fate/filter-pixdesc-vuyx -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".