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] lavc: Add unit test for APV entropy decode
Date: Fri, 2 May 2025 19:52:31 +0200
Message-ID: <20250502175231.GA4991@pb2> (raw)
In-Reply-To: <20250430210917.729056-1-sw@jkqxz.net>


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

On Wed, Apr 30, 2025 at 10:09:11PM +0100, Mark Thompson wrote:
> ---
> Cleaned up a bit from use earlier.  This program allows testing of changes to entropy decode in a form much easier to debug than a whole stream.
> 
> I had a more complete randomised test of transform here as well along with test code for checking intermediates, though it seems like the checkasm only might be preferred.  Can add it if useful.
> 
> Thanks,
> 
> - Mark
> 
>  libavcodec/Makefile       |   1 +
>  libavcodec/tests/apv.c    | 306 ++++++++++++++++++++++++++++++++++++++
>  tests/fate/libavcodec.mak |   5 +
>  3 files changed, 312 insertions(+)
>  create mode 100644 libavcodec/tests/apv.c

breaks make -j32 fate-apv

TEST    apv-422-10
--- /dev/null	2025-01-24 23:36:38.397802529 +0100
+++ tests/data/fate/apv-422-10	2025-05-02 19:49:42.277166925 +0200
@@ -0,0 +1,8 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x180
+#sar 0: 1/1
+0,          0,          0,        1,   230400, 0x07f1e56d
+0,          1,          1,        1,   230400, 0x0bd1c913
+0,          2,          2,        1,   230400, 0xefd02824
Test apv-422-10 failed. Look at tests/data/fate/apv-422-10.err for details.
make: *** [tests/Makefile:317: fate-apv-422-10] Error 1

Note "make fate-apv-422-10" works

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

It is what and why we do it that matters, not just one of them.

[-- 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".

  reply	other threads:[~2025-05-02 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30 21:09 Mark Thompson
2025-05-02 17:52 ` Michael Niedermayer [this message]
2025-05-02 17:58 ` James Almer

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=20250502175231.GA4991@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