summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* libavfilter: Remove DNNReturnType from DNN ModuleShubhanshu Saxena2022-03-12
| | | | | | | | | | This patch removes all occurences of DNNReturnType from the DNN module. This commit replaces DNN_SUCCESS by 0 (essentially the same), so the functions with DNNReturnType now return 0 in case of success, the negative values otherwise. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com> Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn_backend_common: Return specific error codesShubhanshu Saxena2022-03-12
| | | | | | | Switch to returning specific error codes or DNN_GENERIC_ERROR when an error is encountered in the common DNN backend functions. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn_backend_native: Return Specific Error CodesShubhanshu Saxena2022-03-12
| | | | | | | Switch to returning specific error codes or DNN_GENERIC_ERROR when an error is encountered. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn_backend_tf: Return Specific Error CodesShubhanshu Saxena2022-03-12
| | | | | | | | Switch to returning specific error codes or DNN_GENERIC_ERROR when an error is encountered. For TensorFlow C API errors, currently DNN_GENERIC_ERROR is returned. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn_backend_openvino: Return Specific Error CodesShubhanshu Saxena2022-03-12
| | | | | | | | Switch to returning specific error codes or DNN_GENERIC_ERROR when an error is encountered. For OpenVINO API errors, currently DNN_GENERIC_ERROR is returned. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn_io_proc: Return Specific Error CodesShubhanshu Saxena2022-03-12
| | | | | | | This commit returns specific error codes from the functions in the dnn_io_proc instead of DNN_ERROR. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* lavfi/dnn: Error Specificity in Native Backend LayersShubhanshu Saxena2022-03-12
| | | | | | | This commit returns specific error codes from the execution functions in the Native Backend layers instead of DNN_ERROR. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* libavfilter: Prepare to handle specific error codes in DNN FiltersShubhanshu Saxena2022-03-12
| | | | | | | This commit prepares the filter side to handle specific error codes from the DNN backends instead of current DNN_ERROR. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
* avfilter/af_afftdn: remove special handling for first and last binPaul B Mahol2022-03-11
|
* avfilter/af_afftdn: remove code that have marginal impact to denoisingPaul B Mahol2022-03-11
|
* avfilter/vf_zscale: do not attempt to continue filtering if there is no graphPaul B Mahol2022-03-11
|
* avfilter/vf_zscale: also check formatsPaul B Mahol2022-03-11
|
* avfilter/af_lv2: add commands supportPaul B Mahol2022-03-10
|
* avfilter/af_anlmdn: add support for using writable framesPaul B Mahol2022-03-10
|
* avfilter/af_anlmdn: stop using fifo and rewriting ptsPaul B Mahol2022-03-09
|
* avfilter/af_anlmdn: fix possible array overflow and increase options limitsPaul B Mahol2022-03-09
|
* lavfi/drawtext: Add %N for drawing fractions of a secondThilo Borgmann2022-03-08
| | | | Suggested-By: ffmpeg@fb.com
* avfilter/f_segment: fix sending frames with zero samples outPaul B Mahol2022-03-08
| | | | Fix max_samples variable type, and check for out of range values.
* avfilter/f_sendcmd: export width and height tooPaul B Mahol2022-03-07
|
* avfilter/af_channelsplit: switch to activate()Paul B Mahol2022-03-07
|
* avfilter/af_acrossover: switch to activate()Paul B Mahol2022-03-07
|
* avfilter/vf_extractplanes: switch to activate()Paul B Mahol2022-03-07
| | | | | | | Fixes hang at end of input with this command: ffmpeg -f lavfi -i testsrc2=d=50,format=yuv444p -lavfi \ "extractplanes=y+u+v[y][u][v];[y]tpad=start=0[y];[u]tpad=start=0[u];[v]negate[v];[y][u][v]vstack=3" -f null -
* avfilter/split: switch to activate()Paul B Mahol2022-03-07
|
* libavfilter: vf_scale: Properly take in->color_range into accountMartin Storsjö2022-03-07
| | | | | | | | | | | | | | | | | | | | | While swscale can be reconfigured with sws_setColorspaceDetails, the in/out ranges also need to be set before calling sws_init_context, otherwise the initialization might choose fastpaths that don't take the ranges into account. Therefore, look at in->color_range too, when deciding on whether the scaler needs to be reconfigured. Add a new member variable for keeping track of this, for being able to differentiate between whether the scale filter parameter "in_range" has been set (which should override whatever the input frame has set) or whether it has been configured based on the latest frame (which should trigger reconfiguring the scaler if the input frame ranges change). Fixes: Ticket #9576 Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_colorlevels: Fix build failure on ARMMichael Niedermayer2022-03-06
| | | | | | | | | | This fixes building for arm after 10c2ef1ca41dbe7811f0588f4163c8cf7b8fda66. The argument to av_clip_uintp2 must be an assembly time immediate constant. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by and commit message details-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vsrc_gradients: add radial gradientsPaul B Mahol2022-03-06
|
* avfilter/vsrc_gradients: add gbrapf32 format supportPaul B Mahol2022-03-06
|
* avfilter/vf_colorlevels: add planar rgb formats supportPaul B Mahol2022-03-06
|
* avfilter/avf_ahistogram: use av_clip_uint8() insteadPaul B Mahol2022-03-06
|
* avfilter/avf_ahistogram: add new histogram mode optionPaul B Mahol2022-03-05
|
* avfilter/vf_pad: use already available outlink variablePaul B Mahol2022-03-04
|
* avfilter/vf_zscale: fix leaks in fast/bypass pathPaul B Mahol2022-03-04
|
* avfilter/avf_abitscope: make frame writable before writing to itPaul B Mahol2022-03-04
|
* avfilter/avf_aphasemeter: make frame writable before writing to itPaul B Mahol2022-03-04
|
* avfilter/avf_ahistogram: make frame writable before writing to itPaul B Mahol2022-03-04
|
* avfilter/avf_avectorscope: make frame writable before writing to itPaul B Mahol2022-03-04
|
* avfilter/f_ebur128: make sure frame is writable before writing to itPaul B Mahol2022-03-04
|
* avfilter/f_graphmonitor: add several more flagsPaul B Mahol2022-03-04
|
* avfilter/f_ebur128: switch to activate()Paul B Mahol2022-03-04
|
* avfilter/asrc_sinc: check allocation return valuePaul B Mahol2022-03-03
|
* avfilter/asrc_sinc: remove no longer correct (un)packPaul B Mahol2022-03-03
|
* avfilter/framepool: remove superfluous pallete buffer allocationJames Almer2022-03-03
| | | | | | | av_image_fill_plane_sizes() already sets sizes[1] to AVPALETTE_SIZE. Should fix memory leaks. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/framepool: use av_image_fill_plane_sizes() to calculate pool sizesJames Almer2022-03-03
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_zscale: fix several issues in previous commitPaul B Mahol2022-03-03
|
* avfilter/vf_zscale: add slice threading supportVictoria Zhislina2022-03-03
| | | | | | | | | | | By ffmpeg threading support implementation via frame slicing and doing zimg_filter_graph_build that used to take 30-60% of each frame processig only if necessary (some parameters changed) the performance increase vs original version in video downscale and color conversion >4x is seen on 64 cores Intel Xeon, 3x on i7-6700K (4 cores with HT) Signed-off-by: Victoria Zhislina <Victoria.Zhislina@intel.com>
* avfilter/vf_geq: add float formats supportPaul B Mahol2022-03-03
|
* avfilter/avf_abitscope: add support for more input formatsPaul B Mahol2022-03-03
|
* avfilter/avf_abitscope: refactor code & add trace modePaul B Mahol2022-03-03
|
* avfilter/vf_maskedmerge: fix rounding when maskingPaul B Mahol2022-03-03
|
* avfilter/vf_colorchannelmixer: add float formats supportPaul B Mahol2022-03-03
|