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 1D43043E3B for ; Tue, 16 Aug 2022 04:37:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 99EE268B915; Tue, 16 Aug 2022 07:37:05 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C8C6968B830 for ; Tue, 16 Aug 2022 07:36:59 +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 738033F71E; Mon, 15 Aug 2022 23:36:57 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1660624617; bh=WsZsWVV5+Clx9QflxA069lVwQbx9Aeb0CaENxa3Qh0g=; h=From:To:Cc:Subject:Date:From; b=PQKrlsDJG9L9J5ojUROd/lwfP9xKx3ED6ef5ancRWwtEj0lcvxkzmdj4Fu9z3tYx2 bUfNW/7TYpKDmFtFGEIwSj4xj+lhmNd6ZAiGgA6u18VCqcRhhaUdMRroH1vzB9UqyA iq0LJuezv0RvEHlqRgagg1CM9Xfy1jvF6MAjm0Dofv2T17J6z5FZS7s7Zslh0SbzAJ TeQQ8OcEgn6eXgimO1tndAq5Q9kMsgm01YDmrMHAotV6VKgsyLVblrQdWO1A/G49Z0 Ysgemf1rZ0igTaQjClU5hCBJF5ydZcC9zesFB82Xn6YwVPuMSQMTIxxAXUM+1nE8dH ZnLxsoiaqt8PQ== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Mon, 15 Aug 2022 21:36:38 -0700 Message-Id: <20220816043641.41521-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] V3: 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. * Updated to use explicit 12bit pixel formats after I learned that the driver supports them and doesn't force the use of 16bit formats. Philip Langdale (3): lavu/pixfmt: Add P012, Y212, Y410, and Y412 formats lavc/vaapi: Add support for remaining 10/12bit profiles lavu/hwcontext_[vaapi|vulkan]: support mapping VUYA, P012, and Y412 libavcodec/hevcdec.c | 8 +++ libavcodec/vaapi_decode.c | 13 ++++ libavcodec/vaapi_encode.c | 10 ++- libavcodec/vaapi_encode_h265.c | 6 +- libavcodec/vaapi_encode_vp9.c | 4 +- libavcodec/vaapi_hevc.c | 11 +++- libavcodec/vp9.c | 2 + libavutil/hwcontext_vaapi.c | 21 +++++++ libavutil/hwcontext_vulkan.c | 10 +++ libavutil/pixdesc.c | 101 ++++++++++++++++++++++++++++++- libavutil/pixfmt.h | 16 +++++ tests/ref/fate/imgutils | 8 +++ tests/ref/fate/sws-pixdesc-query | 42 +++++++++++++ 13 files changed, 246 insertions(+), 6 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".