Re: [FFmpeg-devel] [PATCH 4/4] dnn: add a new interface DNNModel.get_output

2020-09-18 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: 2020年9月14日 14:29 > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH 4/4] dnn: add a new interface DNNModel.get_output > > for some cases (for example, super resolution), the DNN model changes the > frame size which impacts t

[FFmpeg-devel] [PATCH 4/4] dnn: add a new interface DNNModel.get_output

2020-09-13 Thread Guo, Yejun
for some cases (for example, super resolution), the DNN model changes the frame size which impacts the filter behavior, so the filter needs to know the out frame size at very beginning. Currently, the filter reuses DNNModule.execute_model to query the out frame size, it is not clear from interface