mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-14 13:04:21 +08:00
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>
This commit is contained in:
@@ -69,6 +69,8 @@ typedef struct DNNData{
|
||||
DNNDataType dt;
|
||||
DNNColorOrder order;
|
||||
DNNLayout layout;
|
||||
float scale;
|
||||
float mean;
|
||||
} DNNData;
|
||||
|
||||
typedef struct DNNExecBaseParams {
|
||||
|
Reference in New Issue
Block a user