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 5A0E643288 for ; Wed, 23 Nov 2022 19:36:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C049468B17E; Wed, 23 Nov 2022 21:36:07 +0200 (EET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3FF2C68B068 for ; Wed, 23 Nov 2022 21:36:02 +0200 (EET) Received: by mail-pl1-f179.google.com with SMTP id io19so17540981plb.8 for ; Wed, 23 Nov 2022 11:36:02 -0800 (PST) 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=e7zx5BeLSEbUyyQojwHUmpcaP/OXE4W2mHn/yfgMM/4=; b=UPAnLgCvByyL0yrUUbqsJ8awzBxNSoJEafkW3RF1SBhMRxRHNTpZfurtLPXs0WK3y/ LtbC1d1U5qzlhnBEHZP950TfveSNRf3NZ7dIuejz0kh8cC9fNFQX6gFaNb1t8gIh9WzH 5u4xZszzyTGOgo7HdoCnmKW5hqIQIqfTSZImYiHB3QdnD4T10STAzORT0Sb1we55XkjG 5lQf6azq0gcxSahoDRA3hemwZzJr8pCjTi/40B6mvj298+aDuyIJZtnP+6TvDx6YI0v5 Xj/qtQ1QLjyzwv6p5P/kCtG8AR6wFtvrxjxfhSq+5eyEeEoUSZo7TTDG2WEMjYkahLX8 j47A== 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=e7zx5BeLSEbUyyQojwHUmpcaP/OXE4W2mHn/yfgMM/4=; b=uyh+8qYP0ym1FyXHfrvEhFy+8FjBgfK4MXoWzUrOFtMUaReiOdIOJJ6jnSm9Vri0T0 EPmR8N8wbu6tRx1RQX6BS0xDIFqzD8r9G0XGvfHYQ4LZHYDh6HocXg+urgyK6wD+bcqX o0+jh5M+KT/mKCopMCMK2ffBfucUdiHjq4abLaFKIvehVR+6kcLuvomUfcIWZkPDESrF JMW9CNNxGH8aliSY4jHY5m2lksszx/aESjA7gVD5FvQPJu6uchMG78l2MDnj4xcRR+no szeLxwU1oA6x3q/VEW5dy0xmCIjctn8cZqk1wILjezEP55vNNshCdnWBVnnbpyhzWj3A i14w== X-Gm-Message-State: ANoB5pnFStjQBGU7FiMsM4HIMd0vvvc3iJa8mas7UE2gkpGXLR32VmhY rta3qgc1/L6JjHt9c0DD0vciNkZdlbY= X-Google-Smtp-Source: AA0mqf4mCo0rFaHAqBZEGyPmmSf84kCM5piS+BiXXwGdxHxvaUIx2VZXkT2NO1e4t6raNqcgxaXtBg== X-Received: by 2002:a17:902:ee51:b0:189:1dda:5675 with SMTP id 17-20020a170902ee5100b001891dda5675mr12591986plo.115.1669232160008; Wed, 23 Nov 2022 11:36:00 -0800 (PST) Received: from localhost.localdomain (S0106bc4dfba470f3.vc.shawcable.net. [174.7.244.175]) by smtp.gmail.com with ESMTPSA id a8-20020a63d408000000b00460fbe0d75esm11319276pgh.31.2022.11.23.11.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 11:35:59 -0800 (PST) From: mindmark@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 23 Nov 2022 11:35:36 -0800 Message-Id: <20221123193540.741-1-mindmark@gmail.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v5 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 v4 * added comment about refactoring input functions changes since v3 * removed half uv path implementation changes since v2 * add bias to rgbaf32 output to improve non overflowing range changes since v1 * output correct alpha if 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 | 122 +++++++++++++++++++++++ libswscale/output.c | 92 +++++++++++++++++ libswscale/swscale_unscaled.c | 4 +- libswscale/tests/floatimg_cmp.c | 4 +- libswscale/utils.c | 14 ++- 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, 363 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".