[FFmpeg-devel] libavcodec/psd : add support for rgb/gray float

Martin Vignali martin.vignali at gmail.com
Thu Mar 2 00:42:28 EET 2017


In attach patch for decoding float data (rgb/gray only) inside psd
Like in the openexr decoder, float data is convert to uint16
A gamma conversion can be apply before uint16 conversion (with an option)

the function : static inline uint16_t psd_flt2uint(uint32_t v)
is a copy/paste of exr_flt_uint of the exr decoder.
Probably need to be move somewhere (but i don't know the best place for that)

Sample can be found here :

Comments welcome

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-psd-add-support-for-rgb-gray-float.patch
Type: application/octet-stream
Size: 5889 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170301/dfb43d8f/attachment.obj>

More information about the ffmpeg-devel mailing list