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 2EA6044D74 for ; Mon, 21 Nov 2022 22:12:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E729B68B8FD; Tue, 22 Nov 2022 00:12:23 +0200 (EET) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8629968B0A6 for ; Tue, 22 Nov 2022 00:12:17 +0200 (EET) Received: by mail-pl1-f180.google.com with SMTP id d20so11824405plr.10 for ; Mon, 21 Nov 2022 14:12:17 -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=aA22+kO+AhXnqvJ1NWi1yEhQMQSlICeqHsTXzXj5ERE=; b=Jz0AuMWg+kzQK6lE7cmhlu49PCuMaeVBTRKpr3PQRIhe9m1Atni1sOzsvtPghGiJwT yZQC9Y+Q3ynHfyJ39xOoJxITC/sCnt4L+dKGMisXmc9YT7dLStB0MH2cAP9cTNOygAfL IZhPvGJdd/T9L3q1V5eddYNpfbrXK12L8NMQw7x9rVL9StGz9k2fdj5rlvP5z/e4VypR 5QLbn+vp1QGJdpAh3VHmhakFcnYpCO8Yq/RfHwN0/7kKLBR8V8f3ViOrPqJfXlENStJn VgCtPTtddSMCURJtxtGR7xxfkJTTxYOzKBoVzeFOtP0Uktf7bMGMFtdnRdooAV82yn82 VvBw== 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=aA22+kO+AhXnqvJ1NWi1yEhQMQSlICeqHsTXzXj5ERE=; b=k9HkV6Vth1Gfc4eDV5nWUGWuMk5+T2Ia7XHqyGE/gUDAp/9ez0KiAm9NMN/LPH+TXN 1VRmI7amblOyBWmNO176t5rdUV97ZPnXLQ6LkHYIm/2ugb7zkt3xPI8BXT57UBCIkqfX 0kspTZmhdT+fjCn+tKAdXAxHePjS7tpeMTJw8sMpoyrpVW7V1e1MmR8JZNYv+fKC5zmV 2vHiLuSK6WKYbAb5rJkNX9HP9RSzOc2SavHZAHmKwf0P2xroe1ZcRJcwfsf3458RqewO hvSE/wrQyAPdT3d9NgMdeLFlSWr49gBkJQmBb66CCb9CxuFlqaew0IbEOP3A+vDUoD1M p2jw== X-Gm-Message-State: ANoB5pkyImMUbmsnmcaj2wi+8+mZ/RCMIlu6PkpjTfUAhYaWl4osoHVD 5T5zzwkUR5i94mVuY6nEpLNCIaK6Yrs= X-Google-Smtp-Source: AA0mqf5lpJc8Az35OEyVyS+zt6AXS4y6/dUwXDevNlr/WP7zqBaH06oIHAf6DmpJcSjRwwuRf7bktA== X-Received: by 2002:a17:902:7e88:b0:17f:6e07:74ed with SMTP id z8-20020a1709027e8800b0017f6e0774edmr1367921pla.67.1669068734646; Mon, 21 Nov 2022 14:12:14 -0800 (PST) Received: from localhost.localdomain (S0106bc4dfba470f3.vc.shawcable.net. [174.7.244.175]) by smtp.gmail.com with ESMTPSA id b8-20020aa78ec8000000b0056b8b17f914sm9111095pfr.216.2022.11.21.14.12.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 14:12:14 -0800 (PST) From: mindmark@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Mon, 21 Nov 2022 14:11:42 -0800 Message-Id: <20221121221146.426-1-mindmark@gmail.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4 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 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 | 120 +++++++++++++++++++++++ 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, 361 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".