Message ID | 20221031003235.348-1-mindmark@gmail.com |
---|---|
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:8e01:b0:a3:a294:714c with SMTP id y1csp619720pzj; Sun, 30 Oct 2022 17:33:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM41f8DKyLEOpyMHp2KjT3COdmfK914tOvp64ittNPdF3JZ1tUjOEOZtV94Ibbrtw1QZSuGd X-Received: by 2002:a50:fe99:0:b0:45c:329a:40f6 with SMTP id d25-20020a50fe99000000b0045c329a40f6mr11077999edt.425.1667176390372; Sun, 30 Oct 2022 17:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667176390; cv=none; d=google.com; s=arc-20160816; b=qXnN94vlz0bS08Bgoxb8lNEI4g932qg0dEDF/yBWWVGlUlOEftzItbvLmA0cp4oizq J7PV7pzZFdnmUuUFSua2Z07ZEMFCn8cMl+J8Ec3XeZCACzuDwpcJ0qv3ZInkHCDAjEq/ DgtvbA1BUdXagSsBuVwVJvl6cA3GwYvRaWgxwvWYjyxGI6pbOA6RDs28lLYE3ePIvnYE clnyu1yJfZWGqR/SrwlmCtw95ZLHE+JnhIBOUYWUZQDwyZAUC7jRv4XehKsRUnmKZgEq qU89CmfV1AKqboEAUabTglwCv+iJO4FeOiGzKN17mw9oKcxjc+pijVTqZQhE/xXWR0I2 felA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=F2SsUwq/ZKuImPGDfK1Ixc3scUwms2PAW+3YApBnMd8=; b=rKRPS6hAcb7JFYEvmAPQCowk2JI5yz28wze+WvtPxO8Q+KsdtNzjI2Zw+AqQo4ZhR8 xARw8VArAOJXf+t0mbOGX0z7oBgHUCzxZPXdhWhqjD7QZ66j5OhtHLAcS32BzUuTFLqZ Us7uxPSg9sABCBtlhtuK3HsKf/OcKJQoLtrbY5y91bjtI5WUPXDKBJFRih3110sUA0k3 7SGy+5E69TewQuh4n1oWz2/H7ZJF5BMXQl7TXLP13JqL9j2g6jtdLzmpkG2MZFi/lmg+ 3EwTG/uQoQcHW+/iPfTVyQ6kHlYvyJfGI82QYgmHYRX3PgTRJJPz0UcaWLu6Ot0pCTQh OgTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b="f/v/8ZFw"; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a26-20020a1709065f9a00b0078dd7383ed8si4892857eju.414.2022.10.30.17.33.09; Sun, 30 Oct 2022 17:33:10 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b="f/v/8ZFw"; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 55B1068BDBC; Mon, 31 Oct 2022 02:33:07 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 38B3E68BD36 for <ffmpeg-devel@ffmpeg.org>; Mon, 31 Oct 2022 02:33:00 +0200 (EET) Received: by mail-pl1-f173.google.com with SMTP id c2so9395114plz.11 for <ffmpeg-devel@ffmpeg.org>; Sun, 30 Oct 2022 17:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KYSDuGaJ+Yq8ma5Mn9Ivf3JOm7Px76hClgMzWNVqYJg=; b=f/v/8ZFwhD6EtpDMWesHZYdQ69j+Jg3FDWFKtfDTpWJv5xIdJ/VZJKnFZdB+pEG88M xfhiQh7mYGTpGvJwm194l8DOiDI3a1ZcW4rDEIk/IrDQO/0+ibylOmJyofRBnUNjKZtf OiqMynOdsxxu7nbug856VTFlCs3cEfN+8Ei/HSash8kZNL/erEN1tGvS9oF2iSoH4olH sifaIozNI5k1ILq8yMeFuHz85hg12XG92/nPLglph2Nx3Q59g8C3rKsEL4VR0o3h2QE0 HnhMeI+nOSbawBT094g9sj2QqL4coMhUmv/b7GHJwcf6+VEBas5tJO8AekUNR6jHpZNl iEVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KYSDuGaJ+Yq8ma5Mn9Ivf3JOm7Px76hClgMzWNVqYJg=; b=QzLbhxwXReREgel1s7MHpEMr7qI2fCvXHeWUwYA+W6b0MG9i3tDLt2Z6fbXE1+I880 oiYH4N1mvBOwsptX9sMLRsPUbTMxNL3jiscgQHuzYpYiqIXDrBPIrf/v3l+MBUt6BJly fDviyYj/dxykCClxtF6qKnh05KeQoxtBp0rmac45JelGkAjkI0dx21L6THFVHOlI3YfM o6SQb91sTgxUE+A37h0k3nML3XNjSTm7Xd/s6ZmxV49n3UHDksU/g7lrCWx3EmCAMC/0 N1vCcNCUDiLIybIyq4i5E0Z0VoFmt1Nf6Q5GrLnf0K9UGVmxCGpUakC2pYnWW+hHljn3 W+Kw== X-Gm-Message-State: ACrzQf3sDGefBb5GYRFpRPAPnNQVyt1wor6y8O1vzY8IIleepy53oz2B 1xPKF8vdeNdmCxuDzQZtF/4By0djs/I= X-Received: by 2002:a17:90a:f414:b0:212:cacf:42c3 with SMTP id ch20-20020a17090af41400b00212cacf42c3mr29228669pjb.198.1667176376485; Sun, 30 Oct 2022 17:32:56 -0700 (PDT) Received: from localhost.localdomain (S0106bc4dfba470f3.vc.shawcable.net. [174.7.244.175]) by smtp.gmail.com with ESMTPSA id m18-20020a62a212000000b0056bd737fdf3sm3175699pff.123.2022.10.30.17.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 17:32:55 -0700 (PDT) From: mindmark@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Sun, 30 Oct 2022 17:32:31 -0700 Message-Id: <20221031003235.348-1-mindmark@gmail.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 0/4] swscale rgbaf32 input/output support X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Mark Reid <mindmark@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: uUgB8B7E5qEb |
Series |
swscale rgbaf32 input/output support
|
expand
|
Hi, On Mon, Oct 31, 2022 at 1:33 AM <mindmark@gmail.com> wrote: > > From: Mark Reid <mindmark@gmail.com> > > This patch series adds swscale input/output support for the packed rgb float formats. > A few of the filters also needed support the larger 96/128 bit packed pixel sizes. > > I also plan to eventually add lossless unscaled conversions between the planer and packed formats. > > changes since v1 > * output correct alpha is src doesn't have alpha I do not have the knowledge to review this patchset, but let me say i am very happy to see it! Thanks for the work. All the best, Dee
From: Mark Reid <mindmark@gmail.com> This patch series adds swscale input/output support for the packed rgb float formats. A few of the filters also needed support the larger 96/128 bit packed pixel sizes. I also plan to eventually add lossless unscaled conversions between the planer and packed formats. changes since v1 * output correct alpha is src doesn't have alpha Mark Reid (4): swscale/input: add rgbaf32 input support avfilter/vf_hflip: add support for packed rgb float formats avfilter/vf_transpose: add support for packed rgb float formats swscale/output: add rgbaf32 output support libavfilter/vf_hflip_init.h | 25 ++++ libavfilter/vf_transpose.c | 44 ++++++ libswscale/input.c | 172 +++++++++++++++++++++++ libswscale/output.c | 92 ++++++++++++ libswscale/swscale_unscaled.c | 4 +- libswscale/tests/floatimg_cmp.c | 4 +- libswscale/utils.c | 12 +- libswscale/yuv2rgb.c | 2 + tests/ref/fate/filter-pixdesc-rgbaf32be | 1 + tests/ref/fate/filter-pixdesc-rgbaf32le | 1 + tests/ref/fate/filter-pixdesc-rgbf32be | 1 + tests/ref/fate/filter-pixdesc-rgbf32le | 1 + tests/ref/fate/filter-pixfmts-copy | 4 + tests/ref/fate/filter-pixfmts-crop | 4 + tests/ref/fate/filter-pixfmts-field | 4 + tests/ref/fate/filter-pixfmts-fieldorder | 4 + tests/ref/fate/filter-pixfmts-hflip | 4 + tests/ref/fate/filter-pixfmts-il | 4 + tests/ref/fate/filter-pixfmts-null | 4 + tests/ref/fate/filter-pixfmts-scale | 4 + tests/ref/fate/filter-pixfmts-transpose | 4 + tests/ref/fate/filter-pixfmts-vflip | 4 + tests/ref/fate/sws-floatimg-cmp | 16 +++ 23 files changed, 411 insertions(+), 4 deletions(-) create mode 100644 tests/ref/fate/filter-pixdesc-rgbaf32be create mode 100644 tests/ref/fate/filter-pixdesc-rgbaf32le create mode 100644 tests/ref/fate/filter-pixdesc-rgbf32be create mode 100644 tests/ref/fate/filter-pixdesc-rgbf32le -- 2.31.1.windows.1