Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/2] checkasm/lpc: test compute_autocorr
Date: Thu, 14 Dec 2023 17:41:24 +0100
Message-ID: <20231214164124.GI6420@pb2> (raw)
In-Reply-To: <20231212210240.19886-1-remi@remlab.net>


[-- Attachment #1.1: Type: text/plain, Size: 3417 bytes --]

On Tue, Dec 12, 2023 at 11:02:39PM +0200, Rémi Denis-Courmont wrote:
> ---
>  tests/checkasm/lpc.c | 42 ++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 40 insertions(+), 2 deletions(-)

Often this works, but not always

ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 3321308425
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 3962111
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 2098118744
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 2281870905
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 258427554
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 966320013
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
0:  976.228035341704 -  976.998462662304 = -0.7704273206
   autocorr_10_sse2 (lpc.c:81)
 - lpc.compute_autocorr_10     [FAILED]
0:  966.946397975397 -  967.716825295995 = -0.770427320599
   autocorr_30_sse2 (lpc.c:81)
 - lpc.compute_autocorr_30     [FAILED]
0:  968.085384693526 -  968.855812014127 = -0.770427320601
   autocorr_32_sse2 (lpc.c:81)
 - lpc.compute_autocorr_32     [FAILED]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: 3 of 7 tests have failed
$ ffmpeg/tests/checkasm/checkasm --test=lpc
checkasm: using random seed 470640728
SSE2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
 - lpc.compute_autocorr_10     [OK]
 - lpc.compute_autocorr_30     [OK]
 - lpc.compute_autocorr_32     [OK]
AVX2:
 - lpc.apply_welch_window_even [OK]
 - lpc.apply_welch_window_odd  [OK]
checkasm: all 7 tests passed


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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  parent reply	other threads:[~2023-12-14 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 21:02 Rémi Denis-Courmont
2023-12-12 21:02 ` [FFmpeg-devel] [PATCH 2/2] lavc/lpc: R-V V compute_autocorr Rémi Denis-Courmont
2023-12-12 21:05   ` Rémi Denis-Courmont
2023-12-14 16:41 ` Michael Niedermayer [this message]
2023-12-14 16:56   ` [FFmpeg-devel] [PATCH 1/2] checkasm/lpc: test compute_autocorr Rémi Denis-Courmont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231214164124.GI6420@pb2 \
    --to=michael@niedermayer.cc \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git