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

Martin Vignali martin.vignali at gmail.com
Wed Jan 11 01:07:16 EET 2017


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.
Seems strange, that the uncompress size, doesn't need to be adapt.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-psd-add-support-for-psd-bitmap-mode.patch
Type: text/x-diff
Size: 1502 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170111/f6f3261f/attachment.patch>


More information about the ffmpeg-devel mailing list