[FFmpeg-devel] [PATCH] avfilter: add hqx filter (hq2x, hq3x, hq4x)
Paul B Mahol
onemda at gmail.com
Sat Jun 21 15:54:19 CEST 2014
On 6/17/14, Clement Boesch <u at pkh.me> wrote:
> Partially fixes Ticket #3404 (xbr filter remaining)
> ---
> We can probably make more meaningful versions of hq[234]x_interp* but I
> believe
> that's already a huge improvement over the original code.
>
> [~/src/hqx/hqx-read-only/src]* wc -l src/*.[ch]
> 141 src/common.h
> 2809 src/hq2x.c
> 3787 src/hq3x.c
> 5241 src/hq4x.c
> 138 src/hqx.c
> 55 src/hqx.h
> 38 src/init.c
> 12209 total
>
> [~/src/ffmpeg]* wc -l libavfilter/vf_hqx.c
> 557 libavfilter/vf_hqx.c
>
> Note1: the filter is bitexact for the reference implementation, except for
> filter/pixelart1.png where the reference code hits this bug:
> https://code.google.com/p/hqx/issues/detail?id=8
> ---
> Changelog | 1 +
> MAINTAINERS | 1 +
> doc/filters.texi | 14 ++
> libavfilter/Makefile | 1 +
> libavfilter/allfilters.c | 1 +
> libavfilter/version.h | 2 +-
> libavfilter/vf_hqx.c | 557
> ++++++++++++++++++++++++++++++++++++++++++++
> tests/fate/filter-video.mak | 7 +
> tests/ref/fate/filter-hq2x | 3 +
> tests/ref/fate/filter-hq3x | 3 +
> tests/ref/fate/filter-hq4x | 3 +
> 11 files changed, 592 insertions(+), 1 deletion(-)
> create mode 100644 libavfilter/vf_hqx.c
> create mode 100644 tests/ref/fate/filter-hq2x
> create mode 100644 tests/ref/fate/filter-hq3x
> create mode 100644 tests/ref/fate/filter-hq4x
>
...
probably ok
More information about the ffmpeg-devel
mailing list