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 76C73440E4 for ; Fri, 26 Aug 2022 02:18:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 16E2B68B9E2; Fri, 26 Aug 2022 05:17:58 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4290768B99E for ; Fri, 26 Aug 2022 05:17:51 +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 F1BF63F6FD; Thu, 25 Aug 2022 21:17:49 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1661480270; bh=ZKcPhDVLW6SNDPYIdHATXPHuT5P3b/xFYDgt7KFMwIA=; h=From:To:Cc:Subject:Date:From; b=kC/bqgrr2YZii+obP4oH0GtiGY4xBidAdv2qnqEXU75Wy2iC7zB0Zp/4pxu4g73M6 DeD4uomli0TYaAbPAF6suSZ9tTHL8h8p3fBeddfqUI5P3XyqdZsW5Ke/2UTqJFoxIQ HhYBs80RfiOh2KGvVE8n2PFPpLpwvmXLg0ggNOP6KmmTUEMbj/RIUOjd4PQkiG6d8w 3f522+myyJP+xjZgJYA0RIfR1oS8A4zhsNsUXaJyjq2Mgor8RMCyYIXAJQ8NCrjGLl QeV7N+H4Fmj22XlB+v3vRwUAsqmZ3xopt5HAaLCATLdBTmlToFKw4ZzI4czgpHdXCH 5O3CNXi2Q1/mQ== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Aug 2022 19:17:33 -0700 Message-Id: <20220826021736.355903-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] V5: VAAPI: Add high bit depth encode/decode support 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: This changeset fills in support for the remaining high bit depth formats the VAAPI exposes. This requires adding more weird Microsoft pixel formats and then mapping them in the VAAPI code. I've also enabled hw mapping between VAAPI and vulkan for sufficiently simple formats. V5: Switched to using alpha-less variants of Y410 and Y412 (called XV30 and XV36 in libdrm) to avoid forcing the overhead of alpha handling in situations where it can't actually be used. Philip Langdale (3): lavu/pixfmt: Add P012, Y212, XV30, and XV36 formats lavc/vaapi: Add support for remaining 10/12bit profiles lavu/hwcontext_vulkan: support mapping VUYX, P012, and XV36 libavcodec/hevcdec.c | 8 +++ libavcodec/vaapi_decode.c | 13 +++++ libavcodec/vaapi_encode.c | 4 ++ libavcodec/vaapi_encode_h265.c | 4 ++ libavcodec/vaapi_encode_vp9.c | 1 + libavcodec/vaapi_hevc.c | 11 +++- libavcodec/vp9.c | 2 + libavutil/hwcontext_vaapi.c | 25 +++++++++ libavutil/hwcontext_vulkan.c | 10 ++++ libavutil/pixdesc.c | 95 +++++++++++++++++++++++++++++++- libavutil/pixfmt.h | 16 ++++++ tests/ref/fate/imgutils | 8 +++ tests/ref/fate/sws-pixdesc-query | 38 +++++++++++++ 13 files changed, 233 insertions(+), 2 deletions(-) -- 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".