[FFmpeg-devel] libavcodec : add psd image file decoder

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Nov 20 20:20:17 EET 2016

2016-11-20 18:04 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
>> > I doesn't find a planar, for YA, so there is now two way to store data
>> > one for YA, and one for Gray and GBR.
>> Sorry, I don't understand this sentence...
> Not sure i understand what is your question.
> I use planar for RGB and Gray, bu for YA, i doesn't find a planar
> something like YAP and YAP_16BE.
> So i use the "interleaved" pixel format (YA and YA16BE).
> These two mode explain, the if/else part in the storage data part of
> decode_frame.

Of course, thank you for explaining.

(And reminding me that there are more indications that GRAY is RGB...)

>> >> And the more I think of it, the more likely it seems that (GBR) 9, 10,
>> >> 12 and 14 could also be of use.
>> >>
>> > Don't think GBR 9, 10, 12, 14, can be use now for psd file.
>> Then why do you return AVERROR_PATCHWELCOME for the non-8,
>> non-16 case?
> Not sure i understand.
> In this version, there is no support for 9, 10, 12, 14 bitdepth. (and i
> doesn't think psd file can store these kinds of pixel depth).
> But PSD support other pixel depth than 8, and 16 (like float for example).


Thank you, Carl Eugen

More information about the ffmpeg-devel mailing list