mbox

[FFmpeg-devel,0/3] libswscale: initial input/output support for AV_PIX_FMT_GBRAPF32

Message ID 20200429030235.37074-1-mindmark@gmail.com
Headers show

Message

Mark Reid April 29, 2020, 3:02 a.m. UTC
From: Mark Reid <mindmark@gmail.com>

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