Re: [FFmpeg-devel] [PATCHv4] checkasm/lpc: test compute_autocorr

2024-05-30 Thread Rémi Denis-Courmont
Le keskiviikkona 29. toukokuuta 2024, 23.52.20 EEST James Almer a écrit : > On 5/29/2024 4:42 PM, Rém > > void checkasm_check_lpc(void) > > { > > > > LPCContext ctx; > > > > -int len = rnd() % 5000; > > +int len = 2000 + (rnd() % 1500) * 2; > > Instead of changing how len is

Re: [FFmpeg-devel] [PATCHv4] checkasm/lpc: test compute_autocorr

2024-05-29 Thread James Almer
On 5/29/2024 4:42 PM, Rémi Denis-Courmont wrote: Also restrict length to even values, matching real uses. This test is disabled, known broken, on x86. --- tests/checkasm/lpc.c | 57 +--- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/test

Re: [FFmpeg-devel] [PATCHv4] checkasm/lpc: test compute_autocorr

2024-05-29 Thread Andreas Rheinhardt
Rémi Denis-Courmont: > Le keskiviikkona 29. toukokuuta 2024, 22.55.13 EEST Andreas Rheinhardt a > écrit > : >> It seems to me that the flac encoder can use odd values (namely if the >> user set an odd frame_size option or if it gets fed an odd number of >> samples in which case the last frame wil

Re: [FFmpeg-devel] [PATCHv4] checkasm/lpc: test compute_autocorr

2024-05-29 Thread Rémi Denis-Courmont
Le keskiviikkona 29. toukokuuta 2024, 22.55.13 EEST Andreas Rheinhardt a écrit : > It seems to me that the flac encoder can use odd values (namely if the > user set an odd frame_size option or if it gets fed an odd number of > samples in which case the last frame will have an odd number of samples

Re: [FFmpeg-devel] [PATCHv4] checkasm/lpc: test compute_autocorr

2024-05-29 Thread Andreas Rheinhardt
Rémi Denis-Courmont: > Also restrict length to even values, matching real uses. It seems to me that the flac encoder can use odd values (namely if the user set an odd frame_size option or if it gets fed an odd number of samples in which case the last frame will have an odd number of samples). > T