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 F108E401DE for ; Sat, 20 Aug 2022 01:24:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1DBED68B984; Sat, 20 Aug 2022 04:24:24 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7A0BA68B876 for ; Sat, 20 Aug 2022 04:24:17 +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 3FB143F86B; Fri, 19 Aug 2022 20:24:15 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1660958655; bh=JqPEZgBHjVhgP7Do5cd0HZ0DzRIUbMxycrWj0FPavUU=; h=From:To:Cc:Subject:Date:From; b=nEvHPkRqiEPiWEJBL8Vx1DDaBym/T63CN9gsqoxQqeGhMmnls+2hB0yfd7LByfoCj ixo8/A1eGW6p0UEJNMkDz0J/Fn/Ypkaik29duJgrWVX2IQV/eyLBY8H9ZLNLEF5RzT kqJweQah40gSK1PUh6HcXCRSTSno+GqfmSJ1GE0t/ad1yxJ7nZfnnD3hV4q+o6rqBm TCuBYIAGGjke4Ux7cF3JrqORn7UKxcyl4csYaDlbM8JhFmRPllxZKZXByZ7LSLVMc/ xcBWkSFMQaYQHtCxB58XcKGeWfxK4GbktNhoAPp/XcdXhQkkY0z5dT3ueUZYeyInTc CdfSWxH9j5UbQ== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Aug 2022 18:24:01 -0700 Message-Id: <20220820012404.932086-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] 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. 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".