[FFmpeg-devel] avcodec/psd : add support for gray float (WIP)

Martin Vignali martin.vignali at gmail.com
Sun Aug 19 20:45:49 EEST 2018


Hello,

Like gray float pix fmt is now added, add support for PSD gray float picture

Sample can be found here :
https://we.tl/t-QHDNyfMr1S

Can be test with :
./ffmpeg -i lena-gray_float.psd -pix_fmt gray8 res8.png

Doesn't work with :
./ffmpeg -i lena-gray_float.psd res16.png

I hoped to have something cleaner to support this, but without the use
of LE pix fmt, and bytestream_get_be32, i doesnt have the expected output

Maybe someone will have a better idea to support this.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-psd-add-support-for-gray-float.patch
Type: application/octet-stream
Size: 2736 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180819/43c81d2f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-psd-indent-after-prev-commit.patch
Type: application/octet-stream
Size: 1471 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180819/43c81d2f/attachment-0001.obj>


More information about the ffmpeg-devel mailing list