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 CAC8C44940 for ; Mon, 31 Oct 2022 00:33:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2134768BDBA; Mon, 31 Oct 2022 02:33:07 +0200 (EET) 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 ; Mon, 31 Oct 2022 02:33:00 +0200 (EET) Received: by mail-pl1-f173.google.com with SMTP id c2so9395114plz.11 for ; 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-Google-Smtp-Source: AMsMyM77O0nInRj1W9FCpXep2bhKHbiWd6eqwzoi2/iO5ktHui3WztAfGkcw+LQJT91c2q4nal1zyA== 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Mark Reid 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: From: Mark Reid 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 _______________________________________________ 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".