[FFmpeg-devel] [PATCH]lavc/psd: Support 1bpp images

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Jan 11 01:09:55 EET 2017


2017-01-11 0:07 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
> 2017-01-10 23:56 GMT+01:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>
>> 2017-01-10 23:53 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
>> >> > But maybe you can put the Store data code inside the planar part
>> >> > (it's very similar)
>> >>
>> >> That means I have to remove the pixel_size context variable:
>> >> Do you want me to do that?
>> >
>> > No i don't think you need to remove it.
>>
>> Then I don't know how to do it, please send a patch.
>> (Please mention the ticket.)
>
> I though about something like the patch in attach.
>
> I just quickly test this patch, pass fate test, and decode a test sample.

Please move the uncompressed calculation
below the color_mode switch and commit.

Carl Eugen


More information about the ffmpeg-devel mailing list