[FFmpeg-devel] OpenEXR Encoder Intentions

Paul B Mahol onemda at gmail.com
Fri Apr 26 21:40:55 CEST 2013

On 4/26/13, Vincent Olivier <vincent at up4.com> wrote:
> Hi guys,
> For your consideration, I'm stating my intention to add an OpenEXR encoder
> in the existing "exr.c" code that only contains a decoder for now, with the
> following features:

Encoder place is in separate file, like exrenc.c

If there is code to be shared between decoder & encoder, rename exr.c
to exrdec.c
and add exr.c & exr.h file

> 	 o Port the to 32-bit float EXR file writing code of the microexr library to
> "really" native C into FFMPEG for  "rgb24" input.
> 	 o Add optional 32-bit (single) floating point S-gamut/S-log2 RGB
> chromacities to ACES RGB chromacities computations
> And here are some potential future developments I could delve into later:
> 	 o Port the PIZ compression algorithm from the C++ original OpenEXR library
> to native C. But this is an optional "nice to have".
> 	 o Rewrite the existing FFMPEG EXR decoder to better match the encoder.

Hmm, why and what needs rewritting?

> 	 o Fixed-precision to floating point port of the 422 to 444 YUV libswcale
> resampling code.
> 	 o Fixed-precision to floating point port of the YUV to RGB libswcale
> conversion code.
> 	 o Add support for Frame-level multithreading
> 	 o Add support for Slice-level multithreading
> 	 o (maybe, only maybe) Port the whole float to half and then 16-bit float
> EXR file writing code
> I'm not committing to anything nor asking anything for now. I'm only letting
> you know what my intentions are at the moment. I'm open to comments,
> suggestions, advices, etc. I will still be reading code and specs for the
> next couple of days and only then put down some C lines of my own.
> Regards,
> Vincent
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list