[FFmpeg-devel] [PATCH 4/4] fate/filter-video: add two tests for dnn_processing with format rgb24 and grayf32

Guo, Yejun yejun.guo at intel.com
Fri Nov 22 10:02:20 EET 2019



> -----Original Message-----
> From: Guo, Yejun
> Sent: Friday, November 22, 2019 3:50 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH 4/4] fate/filter-video: add two tests for dnn_processing with
> format rgb24 and grayf32
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  tests/fate/filter-video.mak                        |  4 ++
>  ...filter-dnn_processing-halve_first_channel_float | 55
> ++++++++++++++++++++++
>  .../fate/filter-dnn_processing-halve_gray_float    | 55
> ++++++++++++++++++++++
>  3 files changed, 114 insertions(+)
>  create mode 100644
> tests/ref/fate/filter-dnn_processing-halve_first_channel_float
>  create mode 100644 tests/ref/fate/filter-dnn_processing-halve_gray_float
> 
> diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> index b520690..d98fcb7 100644
> --- a/tests/fate/filter-video.mak
> +++ b/tests/fate/filter-video.mak
> @@ -259,6 +259,10 @@ FATE_FILTER_SAMPLES-$(call ALLYES, PNG_DECODER
> APNG_DEMUXER FORMAT_FILTER COLOR_
>  FATE_FILTER_VSYNTH-$(CONFIG_PHASE_FILTER) += fate-filter-phase
>  fate-filter-phase: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf phase
> 
> +FATE_FILTER_VSYNTH-$(CONFIG_DNN_PROCESSING_FILTER) +=
> fate-filter-dnn_processing-halve_first_channel_float
> fate-filter-dnn_processing-halve_gray_float
> +fate-filter-dnn_processing-halve_first_channel_float: CMD = framecrc -c:v
> pgmyuv -i $(SRC) -vf
> dnn_processing=model=$(TARGET_SAMPLES)/dnn_processing/halve_first_cha
> nnel_float.model:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=nativ
> e
> +fate-filter-dnn_processing-halve_gray_float: CMD = framecrc -c:v pgmyuv -i
> $(SRC) -vf
> dnn_processing=model=$(TARGET_SAMPLES)/dnn_processing/halve_gray_floa
> t.model:input=dnn_in:output=dnn_out:fmt=grayf32:dnn_backend=native
> +

These two tests need model files under fate-suite/dnn_processing, I've attached them
in the email, could someone help to upload them, thanks.

to see how these two models are generated, please see https://github.com/guoyejun/dnn_processing, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: halve_gray_float.model
Type: application/octet-stream
Size: 152 bytes
Desc: halve_gray_float.model
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191122/0e9738cb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: halve_first_channel_float.model
Type: application/octet-stream
Size: 184 bytes
Desc: halve_first_channel_float.model
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191122/0e9738cb/attachment-0001.obj>


More information about the ffmpeg-devel mailing list