From patchwork Sun Mar 4 00:56:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 7810 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.181.170 with SMTP id m39csp1083302jaj; Sat, 3 Mar 2018 16:56:20 -0800 (PST) X-Google-Smtp-Source: AG47ELvQ/N4Ua9Jr+/WoSBPJwmtfVn5vrISfpCTUWsZcUQAiCQvpdAIoZwc35HyKmbpYYEeVliuL X-Received: by 10.223.224.199 with SMTP id e7mr8080243wri.263.1520124980063; Sat, 03 Mar 2018 16:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520124980; cv=none; d=google.com; s=arc-20160816; b=eHRowupokGxrLsce0EA/76kaohqZvpW2Zjqf7xcJI7uKPdVBJbm7ufWXfUKHkkmoDo Cqbz0zFRrFXW7vnz13qGz5Jzz9A+0jXsdH6EOmIYlxD3zJBLm98sPS3qujhjqJu1cf3z EfgPlTSYHtQ98Utj26ymd1zfNM6LEuCGTbEOVFvf70edKUhprBi7K4e6gXqDQUw0uFJu xP3DwaUeApnCrQDayjOvRKiCV4gVsZqVgof7fIH4UrngelF9p/xxBhMNWKnDupnY/4rW 6lU2AQ+CAHz6T7deCbQB3QXkBnn+sZLp+L3DUl2hEI9jU/y/z1VzagHzqTLTpx5gstoq iDgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to:arc-authentication-results; bh=z55zXrAvtA/Ie3Ojnc+OeX1gmCMAY1S3EzJi0r+LTrw=; b=b7bsLD9NyfudstI219K2Sc6Pr7ZO+0noSGmfEC0rKiUysXQRVYD4vr67kGEinK8eMK qWUMK97L6sVbKh9gHYbK4cgi9GKPaeMU7A0psu3cI3kduM2hW9Jhy9bFyclnF4MQkZm7 fjD0ouVf5SY/AezruOEixkcSnUk3Uh/0igsdRQbL1AsyubEu9OOj4rtBOq7p5hwb/7Hv tBEQiHXi0XriGfFtwy1oibkOKzOEtgwCd1InB8PfmgL8lWleViEn3TyCRByVLGXE8Y9d 3T3NqVGswwAQkTz1KCnWTi0Hl6DHWUoFYkGKaUhWN7WQ4gU3U45CNRB+GNf4lkFL2Crb Svfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 59si6871133wre.468.2018.03.03.16.56.19; Sat, 03 Mar 2018 16:56:20 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DD7A768A5ED; Sun, 4 Mar 2018 02:56:10 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F1EB868A3F4 for ; Sun, 4 Mar 2018 02:56:04 +0200 (EET) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id F125FC5A46 for ; Sun, 4 Mar 2018 01:56:10 +0100 (CET) Date: Sun, 4 Mar 2018 01:56:09 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20180304005609.GQ23018@michaelspb> References: <20180302042653.14337-1-philipl@overt.org> <20180302042653.14337-3-philipl@overt.org> <20180302235525.GJ23018@michaelspb> <20180302205727.0eda9758@fido6> MIME-Version: 1.0 In-Reply-To: <20180302205727.0eda9758@fido6> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [FFmpeg-devel] [PATCH 2/3] swscale: Add p016 output support and generalise yuv420p1x to p010 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 Fri, Mar 02, 2018 at 08:57:27PM -0800, Philip Langdale wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 3 Mar 2018 00:55:25 +0100 > Michael Niedermayer wrote: > > > On Thu, Mar 01, 2018 at 08:26:52PM -0800, Philip Langdale wrote: > > > To make the best use of existing code, I generalised the wrapper > > > that currently does yuv420p10 to p010 to support any mixture of > > > input and output sizes between 10 and 16 bits. This had the side > > > effect of yielding a working code path for all yuv420p1x formats > > > to p01x. > > > > > > Signed-off-by: Philip Langdale > > > --- > > > libswscale/output.c | 31 +++++++++++++++++++++++++++++++ > > > libswscale/swscale_unscaled.c | 35 > > > +++++++++++++++++++++++++---------- libswscale/utils.c > > > | 4 ++-- 3 files changed, 58 insertions(+), 12 deletions(-) > > > > this needs updates to fate > > > > should be ok with that and if the output looks correct > > > > thx > > > > [...] > > Pushed with fate updates. seems to fail on qemu mips here: Test filter-pixfmts-pad failed. Look at tests/data/fate/filter-pixfmts-pad.err for details. make: *** [fate-filter-pixfmts-pad] Error 1 TEST filter-pixfmts-scale [...] --- ffmpeg/tests/ref/fate/filter-pixfmts-pad 2018-03-03 23:01:41.916865351 +0100 +++ tests/data/fate/filter-pixfmts-pad 2018-03-04 01:48:22.464822530 +0100 @@ -22,7 +22,7 @@ gray9le f8f3dfe31ca5fcba828285bceefdab9a nv12 381574979cb04be10c9168540310afad nv21 0fdeb2cdd56cf5a7147dc273456fa217 -p016le 536a3b4c3b47d005f9ab033370cc1c3b +p016le c57224f2dc09601c66aa3365b3cd7254 rgb0 78d500c8361ab6423a4826a00268c908 rgb24 17f9e2e0c609009acaf2175c42d4a2a5 rgba b157c90191463d34fb3ce77b36c96386