mbox series

[FFmpeg-devel,v11,0/3] DNxUncompressed decoder

Message ID 20241010025841.531321-2-ms+git@mur.at
Headers show
Series DNxUncompressed decoder | expand

Message

martin schitter Oct. 10, 2024, 2:58 a.m. UTC
A slightly improved version of the DNxUncompressed decoder
to fix flaws pointed out in Michael Niedermayers last review.

* utilize byte swapping in float16 alpha workaround.
* use bitwise AND instead of reminder for performance reasons.

Martin

Martin Schitter (3):
  libavcodec/dnxucdec: DNxUncompressed decoder
  doc: DNxUncompressed Changelog and doc entries
  tests: Fate sample tests for DNxUncompressed

 Changelog                           |   2 +
 doc/general_contents.texi           |   1 +
 libavcodec/Makefile                 |   1 +
 libavcodec/allcodecs.c              |   1 +
 libavcodec/dnxucdec.c               | 385 ++++++++++++++++++++++++++++
 tests/Makefile                      |   1 +
 tests/fate/dnxuc.mak                |  40 +++
 tests/ref/fate/dnxuc-cb-rgb-10      |   8 +
 tests/ref/fate/dnxuc-cb-rgb-12      |   8 +
 tests/ref/fate/dnxuc-cb-rgb-8       |   8 +
 tests/ref/fate/dnxuc-cb-rgb-float   |   8 +
 tests/ref/fate/dnxuc-cb-rgb-half    |   8 +
 tests/ref/fate/dnxuc-cb-yuv422-10   |   8 +
 tests/ref/fate/dnxuc-cb-yuv422-12   |   8 +
 tests/ref/fate/dnxuc-cb-yuv422-8    |   8 +
 tests/ref/fate/dnxuc-ramp-rgb-10    |   8 +
 tests/ref/fate/dnxuc-ramp-rgb-12    |   8 +
 tests/ref/fate/dnxuc-ramp-rgb-8     |   8 +
 tests/ref/fate/dnxuc-ramp-rgb-float |   8 +
 tests/ref/fate/dnxuc-ramp-rgb-half  |   8 +
 tests/ref/fate/dnxuc-ramp-yuv422-10 |   8 +
 tests/ref/fate/dnxuc-ramp-yuv422-12 |   8 +
 tests/ref/fate/dnxuc-ramp-yuv422-8  |   8 +
 23 files changed, 559 insertions(+)
 create mode 100644 libavcodec/dnxucdec.c
 create mode 100644 tests/fate/dnxuc.mak
 create mode 100644 tests/ref/fate/dnxuc-cb-rgb-10
 create mode 100644 tests/ref/fate/dnxuc-cb-rgb-12
 create mode 100644 tests/ref/fate/dnxuc-cb-rgb-8
 create mode 100644 tests/ref/fate/dnxuc-cb-rgb-float
 create mode 100644 tests/ref/fate/dnxuc-cb-rgb-half
 create mode 100644 tests/ref/fate/dnxuc-cb-yuv422-10
 create mode 100644 tests/ref/fate/dnxuc-cb-yuv422-12
 create mode 100644 tests/ref/fate/dnxuc-cb-yuv422-8
 create mode 100644 tests/ref/fate/dnxuc-ramp-rgb-10
 create mode 100644 tests/ref/fate/dnxuc-ramp-rgb-12
 create mode 100644 tests/ref/fate/dnxuc-ramp-rgb-8
 create mode 100644 tests/ref/fate/dnxuc-ramp-rgb-float
 create mode 100644 tests/ref/fate/dnxuc-ramp-rgb-half
 create mode 100644 tests/ref/fate/dnxuc-ramp-yuv422-10
 create mode 100644 tests/ref/fate/dnxuc-ramp-yuv422-12
 create mode 100644 tests/ref/fate/dnxuc-ramp-yuv422-8