summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfilter/avf_aphasemeter: make use of av_rescalePaul B Mahol2019-05-28
|
* avfilter/avf_showwaves: make use of av_rescale_qPaul B Mahol2019-05-28
|
* avfilter/avf_ahistogram: make use of av_rescalePaul B Mahol2019-05-28
|
* avfilter/avf_showvolume: make use of av_rescalePaul B Mahol2019-05-28
|
* avfilter/avf_abitscope: make use of av_rescalePaul B Mahol2019-05-28
|
* avfilter/avf_avectorscope: make use of av_rescalePaul B Mahol2019-05-28
|
* lavfi/sr: Change the backend type from flags to intJun Zhao2019-05-28
| | | | | | | native and tensorflow is exclusive, so change the type from flags to int. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavfi/sr: Remove slice thread flagJun Zhao2019-05-28
| | | | | | sr didn't enable the slice threading, so remove the flag Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter/avf_showvolume: switch to activatePaul B Mahol2019-05-27
|
* avfilter/af_superequalizer: switch to activatePaul B Mahol2019-05-27
|
* avfilter/avf_showfreqs: switch to activatePaul B Mahol2019-05-26
|
* avfilter/f_loop: warn about unset loop sizesMarton Balint2019-05-24
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/f_loop: fix video loop issues with 0 size or when size is bigger ↵Marton Balint2019-05-24
| | | | | | | | | | | than input Fixes infinte loop with -vf loop=loop=1 and also fixes looping when the input is less frames than the specified loop size. Possible regressions since ef1aadffc785b48ed62c45d954289e754f43ef46. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_scale_cuda: reset frame size after acquiring from hwframeJosh Allmann2019-05-24
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_xmedian: set sar to outlinkPaul B Mahol2019-05-24
|
* avfilter/vf_mix: set sar to outlinkPaul B Mahol2019-05-24
|
* avfilter/vf_mix: use time_base from framesyncPaul B Mahol2019-05-24
|
* lavfi/opencl: add nlmeans_opencl filterRuiling Song2019-05-24
| | | | | Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* libavfilter/dnn_native: Add support of dilated convolution in dnn_native.Xuewei Meng2019-05-24
| | | | | | | Add dilation parameter in dnn native to support dilated convolution. Signed-off-by: Xuewei Meng <xwmeng96@gmail.com> Signed-off-by: Steven Liu <lq@onvideo.cn>
* lavfi/lensfun: Use ff_filter_get_nb_threads() get number of threadsJun Zhao2019-05-22
| | | | | | | | | | ff_filter_get_nb_threads() respect AVFilterContext.nb_threads and graph->nb_threads both, in most case, we perfer this API than using ctx->graph->nb_threads directly. Reviewed-by: Steven Liu <lq@onvideo.cn> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* libavfilter/dnn_native: Add multiple activation functions in dnn nativeXuewei Meng2019-05-22
| | | | | | | | Add "Leaky_relu" and "None" option in activation function. Reviewed-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Xuewei Meng <xwmeng96@gmail.com> Signed-off-by: Steven Liu <lq@onvideo.cn>
* libavfilter/dnn_native: Add multiple padding methods in dnn nativeXuewei Meng2019-05-21
| | | | | | | | | | | Add another two padding methods "VALID" and "SAME" as tensorflow, and keep the existing "SAME_CLAMP_TO_EDGE" method suggested by sr filter. As "SAME_CLAMP_TO_EDGE"can keep the output with the same size as original input, and gives a slight better result as mentioned by sr filter. Reviewed-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Xuewei Meng <xwmeng96@gmail.com> Signed-off-by: Steven Liu <lq@onvideo.cn>
* avfilter/vf_ocr: also export confidence of resultPaul B Mahol2019-05-17
|
* avfilter/vf_separatefields: switch to activatePaul B Mahol2019-05-16
| | | | Fixes timestamp of last output frame.
* avfilter/drawtext: stop resource leakGyan Doshi2019-05-16
| | | | Fixes Coverity CID 1445099
* avfilter/vf_scale_cuda: Simplify output plane addressingPhilip Langdale2019-05-15
| | | | | | | I'm not sure why this was written the way it was originally. We initialise the plane addresses correctly in hwcontext_cuda so why try and play games to calculate the plane offsets directly in this code?
* avfilter/vf_scale_cuda: Add support for YUV444P16Philip Langdale2019-05-15
| | | | | This format is interesting because it's what you get for decoded 10/12bit HEVC 4:4:4.
* avfilter/vf_scale_cuda: Fix incorrect scaling of > 8bit contentPhilip Langdale2019-05-15
| | | | | | | When i converted the filter to use texture objects instead of texture references, I incorrect dropped the `pixel_size` scaling factor when setting `pitchInBytes`. `src_pitch` is in pixels and so must be scaled up.
* avfilter: add asr filterPaul B Mahol2019-05-14
|
* avfilter/vf_stack: Don't modify const stringsAndreas Rheinhardt2019-05-14
| | | | | | | | | | b3b7ba62 introduced undefined behaviour: A (non-modifiable) string literal has been assigned to a modifiable string; said string was indeed modified later via av_strtok. This of course caused compiler warnings because of the discarded qualifier; these are in particular fixed by this commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter: add xmedian filterPaul B Mahol2019-05-14
|
* avfilter/vf_chromahold: implement blend optionPaul B Mahol2019-05-13
|
* avfilter/drawtext: make command processing error-resilientGyan Doshi2019-05-13
| | | | | Prevents crash or interruption in text rendering if new option string contains invalid values.
* avfilter/af_astats: fix calculations involving last samplePaul B Mahol2019-05-12
|
* avfilter/af_astats: fix initial values of variablesPaul B Mahol2019-05-12
|
* avfilter: add colorhold filterPaul B Mahol2019-05-11
| | | | Fixes #7671.
* lavf/cover_rect: Fix logic check issueJun Zhao2019-05-10
| | | | | | | Fix logic check issue #6741 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter/af_atempo: Make ffplay display correct timestamps when seekingPavel Koshevoy2019-05-08
| | | | | NOTE: this is a refinement of the patch from Paul B Mahol offset all output timestamps by same amount of first input timestamp
* libavfilter/dnn: add more data type support for dnn model inputGuo, Yejun2019-05-08
| | | | | | | | currently, only float is supported as model input, actually, there are other data types, this patch adds uint8. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/dnn: support multiple outputs for tensorflow modelGuo, Yejun2019-05-08
| | | | | | | | | | | | some models such as ssd, yolo have more than one output. the clean up code in this patch is a little complex, it is because that set_input_output_tf could be called for many times together with ff_dnn_execute_model_tf, we have to clean resources for the case that the two interfaces are called interleaved. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/dnn: avoid memcpy for tensorflow dnn outputGuo, Yejun2019-05-08
| | | | | | | use TF_Tensor's cpu address to avoid extra memcpy. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/dnn: determine dnn output during execute_model instead of ↵Guo, Yejun2019-05-08
| | | | | | | | | | | | | | | | | | | set_input_output Currently, within interface set_input_output, the dims/memory of the tensorflow dnn model output is determined by executing the model with zero input, actually, the output dims might vary with different input data for networks such as object detection models faster-rcnn, ssd and yolo. This patch moves the logic from set_input_output to execute_model which is suitable for all the cases. Since interface changed, and so dnn_backend_native also changes. In vf_sr.c, it knows it's srcnn or espcn by executing the model with zero input, so execute_model has to be called in function config_props Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/dnn: remove limit for the name of DNN model input/outputGuo, Yejun2019-05-08
| | | | | | | | remove the requirment that the name of DNN model input/output should be "x"/"y", Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/vf_sr: refine code to remove keyword 'else'Guo, Yejun2019-05-08
| | | | | | | | remove 'else' since there is always 'return' in 'if' scope, so the code will be clean for later maintenance Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* libavfilter/dnn_backend_tf.c: set layer_add_res for input layerGuo, Yejun2019-05-08
| | | | | | | | otherwise, the following check will return error if layer_add_res is randomly initialized. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/af_afftfilt: switch to activatePaul B Mahol2019-05-08
|
* lavfi/gblur: doing several columns at the same timeRuiling Song2019-05-08
| | | | | | | | Instead of doing each column one by one, doing several columns together gives about 30% better performance. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* avfilter/vf_xstack: set better error msg forGyan Doshi2019-05-07
| | | | missing layout
* avfilter/af_rubberband: also do not ignore failuresPaul B Mahol2019-05-06
|
* avfilter/af_rubberband: handle case when no frame is givenPaul B Mahol2019-05-06
|