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.