From patchwork Fri Sep 13 15:10:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 15057 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 3D72A446E94 for ; Fri, 13 Sep 2019 18:11:04 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 143216881C5; Fri, 13 Sep 2019 18:11:04 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AA975687F59 for ; Fri, 13 Sep 2019 18:10:57 +0300 (EEST) X-Originating-IP: 213.47.68.29 Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id DEC61FF811 for ; Fri, 13 Sep 2019 15:10:56 +0000 (UTC) Date: Fri, 13 Sep 2019 17:10:55 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20190913151055.GR3219@michaelspb> References: <1568219321-20955-1-git-send-email-linjie.fu@intel.com> MIME-Version: 1.0 In-Reply-To: <1568219321-20955-1-git-send-email-linjie.fu@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Thu, Sep 12, 2019 at 12:28:41AM +0800, Linjie Fu wrote: > Previously, media driver provided planar format(like 420 8 bit), > but for HEVC Range Extension (422/444 8/10 bit), the decoded image > is produced in packed format because Windows expects it. > > Add some packed pixel formats for hardware decode support in VAAPI > and QSV: > > 4:2:2 10 bit: Y210 > 4:4:4 8 bit: AYUV > 4:4:4 10 bit: Y410 > > Signed-off-by: Linjie Fu > --- > libavutil/pixdesc.c | 62 +++++++++++++++++++++++++++++++++++++++++++ > libavutil/pixfmt.h | 9 +++++++ > libavutil/tests/pixfmt_best.c | 1 + > libavutil/version.h | 2 +- > 4 files changed, 73 insertions(+), 1 deletion(-) breaks fate Test pixfmt_best failed. Look at tests/data/fate/pixfmt_best.err for details. make: *** [fate-pixfmt_best] Error 1 [...] --- ./tests/ref/fate/pixfmt_best 2019-09-11 20:36:09.435012759 +0200 +++ tests/data/fate/pixfmt_best 2019-09-13 17:09:53.430392453 +0200 @@ -1 +1 @@ -73 tests passed, 0 tests failed. +74 tests passed, 0 tests failed.