[FFmpeg-devel] [PATCH 1/5] ffv1dec: use dedicated pix_fmt field and call ff_get_format

Michael Niedermayer michael at niedermayer.cc
Thu Jan 9 05:09:59 EET 2025


Hi Lynne

On Mon, Jan 06, 2025 at 01:07:29PM +0900, Lynne wrote:
> Adding support for hwaccels means that avctx->pix_fmt will indicate
> hardware formats.
> ---
>  libavcodec/ffv1.h    |   1 +
>  libavcodec/ffv1dec.c | 145 +++++++++++++++++++++++--------------------
>  2 files changed, 79 insertions(+), 67 deletions(-)

breaks fate here:

make -j32 fate-vsynth1-ffv1-v3-rgb48
TEST    vsynth1-ffv1-v3-rgb48
--- ./tests/ref/vsynth/vsynth1-ffv1-v3-rgb48	2025-01-05 20:53:25.659847546 +0100
+++ tests/data/fate/vsynth1-ffv1-v3-rgb48	2025-01-09 04:09:30.291307260 +0100
@@ -1,4 +1,4 @@
 f457dba7d58f0c28aedcfef518758d23 *tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
 16858304 tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
-e2542b84193de462b04da530ab941f31 *tests/data/fate/vsynth1-ffv1-v3-rgb48.out.rawvideo
-stddev:    3.52 PSNR: 37.19 MAXDIFF:   74 bytes:  7603200/  7603200
+2dc8a935cdcaa45b1d1968115ebd702e *tests/data/fate/vsynth1-ffv1-v3-rgb48.out.rawvideo
+stddev:   64.67 PSNR: 11.92 MAXDIFF:  225 bytes:  7603200/  7603200
Test vsynth1-ffv1-v3-rgb48 failed. Look at tests/data/fate/vsynth1-ffv1-v3-rgb48.err for details.
make: *** [tests/Makefile:311: fate-vsynth1-ffv1-v3-rgb48] Error 1


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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20250109/466270ba/attachment.sig>


More information about the ffmpeg-devel mailing list