On date Sunday 2023-12-03 16:05:40 +0100, Stefano Sabatini wrote: > On date Thursday 2023-11-30 01:49:13 +0100, Stefano Sabatini wrote: > > Generalize drawtext utilities to make them usable in other filters. > > This will be needed to introduce the QR code source and filter without > > duplicating functionality. > > --- > > libavfilter/Makefile | 2 +- > > libavfilter/textutils.c | 379 +++++++++++++++++++++++++++ > > libavfilter/textutils.h | 182 +++++++++++++ > > libavfilter/vf_drawtext.c | 533 ++++++++++---------------------------- > > 4 files changed, 693 insertions(+), 403 deletions(-) > > create mode 100644 libavfilter/textutils.c > > create mode 100644 libavfilter/textutils.h > > Updated (with more doc and a more genric ff_print_formatted_eval_expr > function). Rev 3.