[FFmpeg-devel] [PATCH 08/14] tests: Add avradio/sdrdemux tests

Michael Niedermayer michael at niedermayer.cc
Fri Jul 21 21:42:59 EEST 2023


On Tue, Jul 18, 2023 at 11:45:36PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  tests/Makefile        |  1 +
>  tests/fate/sdr.mak    | 11 +++++++++
>  tests/ref/fate/sdr-am | 55 +++++++++++++++++++++++++++++++++++++++++++
>  tests/ref/fate/sdr-fm | 25 ++++++++++++++++++++
>  4 files changed, 92 insertions(+)
>  create mode 100644 tests/fate/sdr.mak
>  create mode 100644 tests/ref/fate/sdr-am
>  create mode 100644 tests/ref/fate/sdr-fm
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index e09f30a0fc..d8a1abd04e 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -230,6 +230,7 @@ include $(SRC_PATH)/tests/fate/qt.mak
>  include $(SRC_PATH)/tests/fate/qtrle.mak
>  include $(SRC_PATH)/tests/fate/real.mak
>  include $(SRC_PATH)/tests/fate/screen.mak
> +include $(SRC_PATH)/tests/fate/sdr.mak
>  include $(SRC_PATH)/tests/fate/segafilm.mak
>  include $(SRC_PATH)/tests/fate/segment.mak
>  include $(SRC_PATH)/tests/fate/source.mak
> diff --git a/tests/fate/sdr.mak b/tests/fate/sdr.mak
> new file mode 100644
> index 0000000000..a4d9fbba47
> --- /dev/null
> +++ b/tests/fate/sdr.mak
> @@ -0,0 +1,11 @@
> +FATE_SDR = fate-sdr-am \
> +           fate-sdr-fm \
> +
> +FATE_SAMPLES_FFMPEG += $(FATE_SDR)
> +
> +fate-sdr-am: CMD = framecrc -mode all_mode -video_size 400x200 -i $(TARGET_SAMPLES)/sdr/am.sdr -map 0 -filter:a aresample
> +fate-sdr-fm: CMD = framecrc -mode all_mode -video_size 400x200 -i $(TARGET_SAMPLES)/sdr/fm.sdr -map 0 -filter:a aresample

I will change this to pcm_u8 as there are rounding differences between machiens

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230721/47ca703e/attachment.sig>


More information about the ffmpeg-devel mailing list