Andreas Rheinhardt
18ec426a86
avfilter/formats: Factor common function combinations out
...
Several combinations of functions happen quite often in query_format
functions; e.g. ff_set_common_formats(ctx, ff_make_format_list(sample_fmts))
is very common. This commit therefore adds functions that are equivalent
to commonly used function combinations in order to reduce code
duplication.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2021-08-13 17:36:22 +02:00
Andreas Rheinhardt
a04ad248a0
avfilter: Constify all AVFilters
...
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2021-04-27 11:48:05 -03:00
Dominic Mayers
626e0dd060
avfilter/vf_ocr: add white space to whitelist
...
Fixes #9151 . The current version of libavfilter/vf_ocr.c does not have white
space in the default whitelist. But it is recommanded to include white
space. See https://github.com/tesseract-ocr/tesseract/issues/2923
Signed-off-by: Marton Balint <cus@passwd.hu >
2021-03-19 23:00:04 +01:00
Paul B Mahol
96c79d4e1f
avfilter/vf_ocr: also export confidence of result
2019-05-17 19:10:12 +02:00
Moritz Barsnick
a0560d0477
avfilter/vf_ocr: check ff_set_common_formats() return value
...
Signed-off-by: Moritz Barsnick <barsnick@gmx.net >
2017-11-01 09:50:57 +01:00
Muhammad Faiz
6af050d7d0
avfilter: do not use AVFrame accessor
...
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com >
2017-04-23 14:40:30 +07:00
Paul B Mahol
1bf7bd194b
avfilter: add ocr filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-12 02:14:44 +00:00