Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-03lavf/sr: Refine the coding style for initJun Zhao
We perfer the coding style like: /* some stuff */ if (error) { /* error handling */ return -(errorcode); } /* normal actions */ do_something() Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-06-03lavf/sr: Don't need to check NULL before sws_freeContextJun Zhao
sws_freeContext have check the NULL pointer, so don't need to check NULL before sws_freeContext. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-06-03lavf/sr: Dump input pixel format in error messageJun Zhao
Dump input pixel format in error message, it's will help to debugging Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-05-28lavfi/sr: Change the backend type from flags to intJun Zhao
native and tensorflow is exclusive, so change the type from flags to int. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-05-28lavfi/sr: Remove slice thread flagJun Zhao
sr didn't enable the slice threading, so remove the flag Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-05-08libavfilter/dnn: add more data type support for dnn model inputGuo, Yejun
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>
2019-05-08libavfilter/dnn: support multiple outputs for tensorflow modelGuo, Yejun
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>
2019-05-08libavfilter/dnn: avoid memcpy for tensorflow dnn outputGuo, Yejun
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>
2019-05-08libavfilter/dnn: determine dnn output during execute_model instead of ↵Guo, Yejun
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>
2019-05-08libavfilter/dnn: remove limit for the name of DNN model input/outputGuo, Yejun
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>
2019-05-08libavfilter/vf_sr: refine code to remove keyword 'else'Guo, Yejun
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>
2018-09-24avfilter/sr: process and output message when load_model is NULLSteven Liu
fix ticket: 7455 Reviewed-by: Pedro Arthur <bygrandao@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-21avfilter/vf_sr: Fix coverity CID 1439584Pedro Arthur
2018-09-19avfilter/vf_sr: fix read out of boundsZhao Zhili
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-09-18libavfilter: Removes stored DNN models. Adds support for native backend ↵Sergey Lavrushkin
model file format in tf backend. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-14libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.Sergey Lavrushkin
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-07libavfilter: Code style fixes for pointers in DNN module and sr filter.Sergey Lavrushkin
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-07libavfilter: Adds on the fly generation of default DNN models for tensorflow ↵Sergey Lavrushkin
backend instead of storing binary model. Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-07-02libavfilter: vf_sr.c remove warningsPedro Arthur
2018-07-02Adds ESPCN super resolution filter merged with SRCNN filter.Sergey Lavrushkin
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>