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(-)

Attachment: pgpxGBB_8dkyo.pgp
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to