From patchwork Wed Apr 29 03:02:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Reid X-Patchwork-Id: 19356 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 30C6244B6E0 for ; Wed, 29 Apr 2020 06:02:49 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 17D6868BE2F; Wed, 29 Apr 2020 06:02:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5B12068BE50 for ; Wed, 29 Apr 2020 06:02:45 +0300 (EEST) Received: by mail-pf1-f194.google.com with SMTP id x77so417639pfc.0 for ; Tue, 28 Apr 2020 20:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QA5kl+QLWFNFkg8gHdK6QciKON4YHuBAQKAQX0d+olY=; b=EDSHIF5ilIP9/crVb5ZPZL/0AG6PZ9GVqAM3L2FnTLx6WD1TDdi7g5uAcE0+ul3rhy 72ASrxg/IfaeGPL0aLHRzcunbU+BYJZsCoR0ziW7rF31yh7VZ5FxZ6CgvEWM8CtJiwZ8 +1a+W8Li0fQFt4xzKjwx85+XsHUk6hwP0ha/WGVWfXnsKGrEYwBolPFOvT5DRP5BRkvE HvdlWdrZp6x0TfFkOfx6/fWqlknbb3rgbAeGtum52MfkaPx6ksTRj06xJa/C+P9ZJuLo wT9x0N+j4HBFBedai3YX+FHpTNfAsy9e45vjAX9ubRgtXRRuV8ZrSLRzEdxF7IKxpQeL krpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QA5kl+QLWFNFkg8gHdK6QciKON4YHuBAQKAQX0d+olY=; b=JXTv+5RTnPr8UZ4udWs2zo+cAVhY02U1rkMV64+LBgkPnzGz7oOfYTD1hVvDNrbUFS WUk9Cuvn2ccXvYIh6+6TJV9kME4PHTpkYzPAJuVwrpLd3W/+hK26A919oZEPULYD4RYc mO0tO7PSinbyOj1xelt3Zh7ZR0lmavI17seb6zOUv8jOPEOIobuh+mcq5+v34eIVBQU6 eoP9ANaWDefmjKdJjaJtdkYYIKGcqXwirfbCK4QbLMsZTOE7M2NTDJ8DDTtNiYMYUNYl 30V7KssmKKMaVnpBcjNIcpNH2IqEZ6C4qzKGL8Zc1f5p1vMxyx3ZLiaUjhHU9HzAKUzP nwKw== X-Gm-Message-State: AGi0PuZz7BuMBeZzGdrlgJYKg0143mkoUlWnkgIqsR3JbMLKTBwJkC/U LTZzr6vhjsCCUjVh8l55bbWi/UMn X-Google-Smtp-Source: APiQypJvHrW+GzxWlbpOAmmh4IPnMDYEx9o+c8P58K3D7ZrQTQVkN5wEmxJV0thHEet5NLDI/oo2hg== X-Received: by 2002:aa7:914f:: with SMTP id 15mr35088788pfi.176.1588129363089; Tue, 28 Apr 2020 20:02:43 -0700 (PDT) Received: from localhost.localdomain (S01069050ca607903.vc.shawcable.net. [174.7.236.190]) by smtp.gmail.com with ESMTPSA id i9sm16335401pfk.199.2020.04.28.20.02.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2020 20:02:42 -0700 (PDT) From: mindmark@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 28 Apr 2020 20:02:32 -0700 Message-Id: <20200429030235.37074-1-mindmark@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/3] libswscale: initial input/output support for AV_PIX_FMT_GBRAPF32 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 Cc: Mark Reid Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Mark Reid Hi, The following patches add initial input/output support for planer rgb floating point pixel formats in libswscale and adds a decoder option to exr to output as float. Mark Reid (3): libswscale: add input support AV_PIX_FMT_GBRAPF32 libswscale: add output support for AV_PIX_FMT_GBRAPF32 avcodec/exr: add option to output pixels in float libavcodec/exr.c | 103 +++++++++++++++++++---- libswscale/input.c | 91 ++++++++++++++++++++ libswscale/output.c | 82 ++++++++++++++++++ libswscale/slice.c | 28 +++--- libswscale/swscale_unscaled.c | 33 ++++++++ libswscale/utils.c | 4 + tests/ref/fate/filter-pixdesc-gbrapf32be | 1 + tests/ref/fate/filter-pixdesc-gbrapf32le | 1 + tests/ref/fate/filter-pixdesc-gbrpf32be | 1 + tests/ref/fate/filter-pixdesc-gbrpf32le | 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 + 20 files changed, 357 insertions(+), 28 deletions(-) create mode 100644 tests/ref/fate/filter-pixdesc-gbrapf32be create mode 100644 tests/ref/fate/filter-pixdesc-gbrapf32le create mode 100644 tests/ref/fate/filter-pixdesc-gbrpf32be create mode 100644 tests/ref/fate/filter-pixdesc-gbrpf32le --- 2.25.0