diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2023-09-21 09:26:32 +0800 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2023-09-27 12:58:55 +0800 |
commit | c8c925dc2920efccfb90deaf27a56e7b673cc54c (patch) | |
tree | 9a4231db3f05bdc278b5f1c7a948ebd5ac1f7bcc /libavfilter/dnn_interface.h | |
parent | 74ce1d2d11a56b522a343d944bf5b184bb2d9212 (diff) | |
download | ffmpeg-c8c925dc2920efccfb90deaf27a56e7b673cc54c.tar.gz |
libavfilter/dnn: Add scale and mean preprocess to openvino backend
Dnn models has different data preprocess requirements. Scale and mean
parameters are added to preprocess input data.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Diffstat (limited to 'libavfilter/dnn_interface.h')
-rw-r--r-- | libavfilter/dnn_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/dnn_interface.h b/libavfilter/dnn_interface.h index 956a63443a..183d8418b2 100644 --- a/libavfilter/dnn_interface.h +++ b/libavfilter/dnn_interface.h @@ -69,6 +69,8 @@ typedef struct DNNData{ DNNDataType dt; DNNColorOrder order; DNNLayout layout; + float scale; + float mean; } DNNData; typedef struct DNNExecBaseParams { |