[FFmpeg-devel] [PATCH 0/2][RFC] xbr, hqx: minor simplification
Alexander Strasser
eclipse7 at gmx.net
Sat Nov 29 03:26:08 CET 2014
Hi,
while reading the recent evolution of xbr I came up with the
idea for below 2 patches.
Maybe I am missing something, but AFAICT both filters use
a single shared filter function for n in [2, 4] using n as a param
but n is stored in the filter context too. The corresponding fate
tests and visual inspection show no differences.
It sure is a matter of taste, so I guess it is your call Clément.
Alexander Strasser (2):
lavfi/vf_xbr: Remove function generator macro and function pointer
indirection
lavfi/vf_hqx: Remove function generator macro and function pointer
indirection
libavfilter/vf_hqx.c | 35 +++++++++++------------------------
libavfilter/vf_xbr.c | 33 ++++++++++-----------------------
2 files changed, 21 insertions(+), 47 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141129/c2897ec0/attachment.asc>
More information about the ffmpeg-devel
mailing list