Wu Jianhua
4a5e24721c
libavfilter/x86/vf_gblur: add ff_postscale_slice_avx512()
...
Co-authored-by: Cheng Yanfei <yanfei.cheng@intel.com>
Co-authored-by: Jin Jun <jun.i.jin@intel.com>
Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
3 years ago
Anton Khirnov
ca32d0462c
lavfi/vf_scale: remove the nb_slices option
...
It was intended for debugging only and has been superseded by the
standalone tool for testing sliced scaling.
3 years ago
Paul Buxton
e07ada3dac
avfilter: add grayworld video filter
...
Implements a gray world color correction algorithm
using a log scale LAB colorspace.
Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years ago
Paul B Mahol
02fcd485f9
avfilter/af_acrossover: check for rest of sample formats
3 years ago
Paul B Mahol
fdb4c03555
avfilter/vf_tpad: rescale EOF pts for case outlink time_base differs
3 years ago
Paul B Mahol
3b780e818a
avfilter/af_crystalizer: refactor some code
3 years ago
Paul B Mahol
5f55467c0b
avfilter/af_crystalizer: fix some minor issues
...
Do multiplications instead of divisions and use floats
where makes sense.
3 years ago
Paul B Mahol
8c1b65feb6
avfilter/af_afreqshift: do not forget to update coeffs at runtime
3 years ago
Paul B Mahol
1da2dd5c77
avfilter: add atilt filter
3 years ago
Paul B Mahol
b53a7d2d4d
avfilter: add adecorrelate filter
3 years ago
Shubhanshu Saxena
660a205b05
lavfi/dnn: Rename InferenceItem to LastLevelTaskItem
...
This patch renames the InferenceItem to LastLevelTaskItem in the
three backends to avoid confusion among the meanings of these structs.
The following are the renames done in this patch:
1. extract_inference_from_task -> extract_lltask_from_task
2. InferenceItem -> LastLevelTaskItem
3. inference_queue -> lltask_queue
4. inference -> lltask
5. inference_count -> lltask_count
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
3 years ago
Shubhanshu Saxena
1544d6fa0a
libavfilter: Remove Async Flag from DNN Filter Side
...
Remove async flag from filter's perspective after the unification
of async and sync modes in the DNN backend.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
3 years ago
Shubhanshu Saxena
70b4dca054
libavfilter: Remove synchronous functions from DNN filters
...
This commit removes the unused sync mode specific code from the DNN
filters since the sync and async mode are now unified from the
filters' perspective.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
3 years ago
Shubhanshu Saxena
60b4d07cf6
libavfilter: Unify Execution Modes in DNN Filters
...
This commit unifies the async and sync mode from the DNN filters'
perspective. As of this commit, the Native backend only supports
synchronous execution mode.
Now the user can switch between async and sync mode by using the
'async' option in the backend_configs. The values can be 1 for
async and 0 for sync mode of execution.
This commit affects the following filters:
1. vf_dnn_classify
2. vf_dnn_detect
3. vf_dnn_processing
4. vf_sr
5. vf_derain
This commit also updates the filters vf_dnn_detect and vf_dnn_classify
to send only the input frame and send NULL as output frame instead of
input frame to the DNN backends.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
3 years ago
Shubhanshu Saxena
d39580ac11
lavfi/dnn: Task-based Inference in Native Backend
...
This commit rearranges the code in Native Backend to use the TaskItem
for inference.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
3 years ago
Jai Luthra
d91542e618
avfilter/signature: fix integer rounding cast precedence
...
Co-authored-by: Oscar <oscar_davids@outlook.com>
Signed-off-by: Jai Luthra <me@jailuthra.in>
3 years ago
Jan Ekström
9dd410c804
avfilter/vf_scale: reset color matrix in case of identity & non-RGB
...
Fixes passing through mismatching metadata from the input side
when RGB input (from f.ex. H.264 or HEVC) gets converted to YCbCr.
Fixes #9132
4 years ago
Andreas Rheinhardt
ffc00e5b16
avfilter/graphdump: Use pointer to const for pointer to static strings
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
76ff9640be
avfilter/graphdump: Don't return truncated string
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
48348cd4ab
avfilter/graphdump: Don't silently truncate channel layout string
...
64B are not enough any more.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
daeef7d220
avfilter/graphdump: Properly initialize AVBPrint
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Paul B Mahol
dc34bf45c5
avfilter/vf_colorcorrect: add median analyze mode
4 years ago
Paul B Mahol
0cacef58fa
avfilter/vf_blend: use float for opacity calculations
4 years ago
Paul B Mahol
a6f00d4e82
avfilter/aeval: fix forgotten EOF case for activate
...
Bring fate test how it was previously.
4 years ago
Paul B Mahol
c1c7f2b61f
avfilter/avf_showwaves: remove invalid multiplication by 2
...
Fixes output of average filter.
4 years ago
Paul B Mahol
02aa7dc423
avfilter: add hsvkey and hsvhold video filters
4 years ago
James Almer
61b38f7aef
avfilter/avfilter: add a return at the end of a non-void function
...
Fixes compilation with GCC 11 when configured with "--disable-optimizations --toolchain=gcc-tsan"
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Paul B Mahol
7f194c7d96
avfilter/af_afreqshift: allow to change order of filters
4 years ago
Andreas Rheinhardt
845579c6e2
avfilter/vf_xmedian: Free inpads' names generically
...
This affects only the xmedian filter, not tmedian.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
ad3b1fddb3
avfilter/vf_stack: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
07aacf5ea9
avfilter/vf_signature: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
65884bd81f
avfilter/vf_program_opencl: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
97c796176e
avfilter/vf_mix: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0ba9089aec
avfilter/vf_mergeplanes: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
2142e71911
avfilter/vf_extractplanes: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
41c98bfe0a
avfilter/src_movie: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0ce19ecd28
avfilter/split: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
a79852f1c1
avfilter/f_streamselect: Free pads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
64133506f7
avfilter/f_select: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
f6c6a51d98
avfilter/f_segment: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
b8e31568df
avfilter/f_interleave: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
fbfcb012ac
avfilter/avf_concat: Free pads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
f28db2ca27
avfilter/af_lv2: Free inpad's name generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
7670e24eb0
avfilter/af_ladspa: Free inpad's name generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
d2e72473df
avfilter/af_join: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
ad5d056dc3
avfilter/af_headphone: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0e936381ff
avfilter/af_amix: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
414c1b9b62
avfilter/af_amerge: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
c54c8836cf
avfilter/af_afir: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
59b465e4df
avfilter/af_acrossover: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago