[FFmpeg-devel] [PATCH] remove libmpcodecs

Paul B Mahol onemda at gmail.com
Tue Jan 27 17:30:59 CET 2015


On 1/27/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Tue, Jan 27, 2015 at 11:28:52AM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  Changelog                                  |   1 +
>>  LICENSE.md                                 |   2 -
>>  configure                                  |   1 -
>>  doc/filters.texi                           |  30 --
>>  libavfilter/Makefile                       |   1 -
>>  libavfilter/allfilters.c                   |   1 -
>>  libavfilter/libmpcodecs/cpudetect.h        |  60 ---
>>  libavfilter/libmpcodecs/img_format.c       | 244 ---------
>>  libavfilter/libmpcodecs/img_format.h       | 309 ------------
>>  libavfilter/libmpcodecs/libvo/fastmemcpy.h |  99 ----
>>  libavfilter/libmpcodecs/mp_image.c         | 257 ----------
>>  libavfilter/libmpcodecs/mp_image.h         | 159 ------
>>  libavfilter/libmpcodecs/mp_msg.h           | 166 -------
>>  libavfilter/libmpcodecs/vf.h               | 167 -------
>>  libavfilter/libmpcodecs/vf_softpulldown.c  | 163 ------
>>  libavfilter/libmpcodecs/vfcap.h            |  56 ---
>>  libavfilter/version.h                      |   4 +-
>>  libavfilter/vf_mp.c                        | 772
>> -----------------------------
>>  18 files changed, 3 insertions(+), 2489 deletions(-)
>>  delete mode 100644 libavfilter/libmpcodecs/cpudetect.h
>>  delete mode 100644 libavfilter/libmpcodecs/img_format.c
>>  delete mode 100644 libavfilter/libmpcodecs/img_format.h
>>  delete mode 100644 libavfilter/libmpcodecs/libvo/fastmemcpy.h
>>  delete mode 100644 libavfilter/libmpcodecs/mp_image.c
>>  delete mode 100644 libavfilter/libmpcodecs/mp_image.h
>>  delete mode 100644 libavfilter/libmpcodecs/mp_msg.h
>>  delete mode 100644 libavfilter/libmpcodecs/vf.h
>>  delete mode 100644 libavfilter/libmpcodecs/vf_softpulldown.c
>>  delete mode 100644 libavfilter/libmpcodecs/vfcap.h
>>  delete mode 100644 libavfilter/vf_mp.c
>
> if there are no filters left in libmpcodecs then removing it is ok
> it might make sense to check mplayer and forks though if theres
> anything that isnt available in libavfilter and which could be used
> through the wraper ...

There is no sense to add any new filters that will use this wrapper.
For example tfields filter is not available in this wrapper but is
available in mplayer.

If someone wants filter from mplayer it can be ported to native libavfilter.

If there is any filter that is useful but not ported I will port it, just
tell me which and I'm going to do it.

Libmpcodecs code is awful as is and there is no point to keep it around.

The only filter left is softpulldown, which I ported but it is not bitexact
for unknown reason.

>
> [...]
>
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Freedom in capitalist society always remains about the same as it was in
> ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
>


More information about the ffmpeg-devel mailing list