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 CAAB443E45 for ; Tue, 16 Aug 2022 05:03:12 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EC84968B702; Tue, 16 Aug 2022 08:03:10 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AE0BF68B3B2 for ; Tue, 16 Aug 2022 08:03:04 +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 76C763F71E; Tue, 16 Aug 2022 00:03:03 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1660626183; bh=EBYZXmktQm32OZ6LDFC/Z4Hgtcrgl9riBS1UI9IDprI=; h=From:To:Cc:Subject:Date:From; b=dQgz4/wqwnNbfDdwahEpWeHDPDez/b6JLlzweIQa/zCXPr1Hxj6wk1flq8bkq5OBU 2I9MGTY32g5bszgrAbSRkXnXnZNXAkkuGkcWjO/3ou39VQzpFVaC9EP6XvARFkbrCb eScxkPrkfs8L2uigpydu0iFfltNBNByxZ7Sv3bOU1O8wIATv4OCeYLlLHVA931bDXA cf5XJZRCEd1M2oWgUKUyn/UgDziiW+Lec+q45jlMN2Qr1rfOhu16hikyawuWoW4Z56 pvmF9nprWSmc8C8uyIyxOZO5rp02HAToxnjdUGiGprOFDceioi1D4PhtWhHEm8UYhX lwgzG2+sqTZuA== From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Date: Mon, 15 Aug 2022 22:02:53 -0700 Message-Id: <20220816050256.32149-1-philipl@overt.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] V4: 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. * V2: Added vaapi/vulkan mapping support * V3: Updated to use explicit 12bit pixel formats after I learned tha the driver supports them and doesn't force the use of 16bit formats. * V4: Fixed incorrect chunk in wrong change 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".