[MPlayer-dev-eng] proposed new feature: ppm decoder

Paul B Mahol onemda at gmail.com
Sat Aug 25 13:43:38 CEST 2012


On 8/24/12, Hernan Badino <hernan.badino at gmail.com> wrote:
> Hi All,
>
> I'm sending you a patch file for a new ppm decoder. The proposed
> changes add the capability of to using ppm and pgm as input files
> (e.g., using mf://*.ppm).
>
> The new changes don't add any new dependency, since ppm and pgm are
> very easy to decode. I've wrote the code in plain C.
>
> The changes are a new file libmpcodecs/vd_mppm.c, and just a few line
> insertions in libmpcodecs/vd.c libmpdemux/demux_mf.c  etc/codecs.conf
> and Makefile.
>
> I've tested the code on correct and corrupted ppm, pgm, and it works
> as expected.
>
> I've also added a long comment in the  libmpcodecs/vd_mppm.c file for
> what I think it is a bug. This comment should probably be removed
> before submitting the file.
>
> Please, let me know if you have any questions.

Isn't this already available via libavcodec?


More information about the MPlayer-dev-eng mailing list