diff options
author | Shubhanshu Saxena <shubhanshu.e01@gmail.com> | 2022-03-02 23:35:56 +0530 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2022-03-12 15:10:28 +0800 |
commit | d0a999a0ab8313fd1b5e9cb09e35fb769fb3e51c (patch) | |
tree | 7da55fe036df4955601d52dc13260ee2a60c380d /libavfilter/dnn_interface.h | |
parent | 1df77bab08ac53482f94c4d4be2449cfa50b8e68 (diff) |
libavfilter: Remove DNNReturnType from DNN Module
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>
Diffstat (limited to 'libavfilter/dnn_interface.h')
-rw-r--r-- | libavfilter/dnn_interface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/dnn_interface.h b/libavfilter/dnn_interface.h index 06e71f7946..ef8d7ae66f 100644 --- a/libavfilter/dnn_interface.h +++ b/libavfilter/dnn_interface.h @@ -32,8 +32,6 @@ #define DNN_GENERIC_ERROR FFERRTAG('D','N','N','!') -typedef enum {DNN_SUCCESS, DNN_ERROR} DNNReturnType; - typedef enum {DNN_NATIVE, DNN_TF, DNN_OV} DNNBackendType; typedef enum {DNN_FLOAT = 1, DNN_UINT8 = 4} DNNDataType; |