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 1419443C97 for ; Fri, 29 Jul 2022 17:36:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 95EA768BA20; Fri, 29 Jul 2022 20:36:25 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 902E768B96B for ; Fri, 29 Jul 2022 20:36:19 +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 43D443FAD8 for ; Fri, 29 Jul 2022 12:36:17 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1659116177; bh=ZrINURMEEaZVoTpzmA7u6zjF5e4k5ELyAJ30xu/pmUw=; h=Date:From:To:Subject:In-Reply-To:References:From; b=kcIM40fPcQ7j0dsqmrrJAgz8jQ8hrcPMzILA8mnsm1dc1xY/mCmtdNsPR3AUIGGa6 EHoOK6hRIA0SwrosAO4PzokZmCA2844r7v4a+4Q4vanp3O6bVkk2kB2d7O9xrdaEio m9mJEpLAXF0m6hr2OiZ6QsDGqAKgAW/1Ol3xUSFuHMM9nuiN5gBVRziuARN2mTMc04 5TbOjIrxuuFYVwzgtuX9HSWTNf3V5FMoV14QOJ09jqFcPQOAbHhDHflusmdI9i0t4Z vqqmWbPru0lRFBu1NYcCmmj1ZiMtzk5t9mdg3a7M+rs/LFzrWw5mh946SYR4WhU47G iSVtB5hJ3pm8w== Date: Fri, 29 Jul 2022 10:33:59 -0700 From: Philip Langdale To: ffmpeg-devel@ffmpeg.org Message-ID: <20220729103359.15074081@fido7> In-Reply-To: <20220723185315.207081-1-philipl@overt.org> References: <20220723185315.207081-1-philipl@overt.org> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 0/3] vaapi: Add support for decoding 8bit 4:4:4 content 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 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: On Sat, 23 Jul 2022 11:53:12 -0700 Philip Langdale wrote: > Recent Intel hardware is capable of decoding 8bit 4:4:4 HEVC and VP9, > but it uses a packed format that Microsoft wants, and which we don't > currently know about. > > This patch series adds support for the AYUV format and declares > support in VAAPI. > > Mark has noted that due to there never being any actual Alpha produced > by the hardware, we should use an XYUV format. I've not done so here > because libva does declare an explicit XYUV format, which I assume we > will see used in the future, and I didn't want to fudge the formats so > that they lose the nominal distinction. But I'm happy to change that > if desired. > > Philip Langdale (3): > lavu/pixfmt: Add packed 4:4:4 format > lavu/hwcontext_vaapi: Map the AYUV format > lavc/vaapi: Declare support for decoding 8bit 4:4:4 content > > Changelog | 1 + > doc/APIchanges | 3 +++ > libavcodec/hevcdec.c | 3 +++ > libavcodec/vaapi_decode.c | 2 ++ > libavcodec/version.h | 2 +- > libavcodec/vp9.c | 5 +++++ > libavutil/hwcontext_vaapi.c | 1 + > libavutil/pixdesc.c | 13 +++++++++++++ > libavutil/pixfmt.h | 2 ++ > libavutil/version.h | 4 ++-- > tests/ref/fate/imgutils | 1 + > tests/ref/fate/sws-pixdesc-query | 4 ++++ > 12 files changed, 38 insertions(+), 3 deletions(-) > I will push this in the next few days if I don't get any comments or objections. Hai Hao confirmed in IRC that the Intel driver does explicitly set the alpha value to 0xFF so it is correct to treat it as an alpha value rather than undefined. Thanks, --phil _______________________________________________ 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".