diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2021-04-01 10:06:06 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-05-06 10:50:44 +0800 |
commit | a3b74651a0408ddb19c2f0334ad4ad3f368376a6 (patch) | |
tree | 29d91ae5925644df0d81402e2c0e90e84d25922a /libavcodec/hevc_data.h | |
parent | 7eb9accc376dca4f766d87d68c72aa167e4e9c7e (diff) | |
download | ffmpeg-a3b74651a0408ddb19c2f0334ad4ad3f368376a6.tar.gz |
lavfi/dnn: refine dnn interface to add DNNExecBaseParams
Different function type of model requires different parameters, for
example, object detection detects lots of objects (cat/dog/...) in
the frame, and classifcation needs to know which object (cat or dog)
it is going to classify.
The current interface needs to add a new function with more parameters
to support new requirement, with this change, we can just add a new
struct (for example DNNExecClassifyParams) based on DNNExecBaseParams,
and so we can continue to use the current interface execute_model just
with params changed.
Diffstat (limited to 'libavcodec/hevc_data.h')
0 files changed, 0 insertions, 0 deletions