[FFmpeg-devel] [PATCH] ffv1dec: add support for hardware acceleration

Michael Niedermayer michael at niedermayer.cc
Fri Dec 20 03:31:41 EET 2024


Hi

On Fri, Dec 20, 2024 at 02:44:43AM +0900, Lynne via ffmpeg-devel wrote:
> ---
>  libavcodec/ffv1.h    |   2 +
>  libavcodec/ffv1dec.c | 451 +++++++++++++++++++++++++------------------
>  2 files changed, 268 insertions(+), 185 deletions(-)

breaks fate on ubuntu x86-64

TEST    ffmpeg-loopback-decoding
--- ./tests/ref/fate/ffmpeg-loopback-decoding	2024-12-11 21:54:14.484823827 +0100
+++ tests/data/fate/ffmpeg-loopback-decoding	2024-12-20 02:28:25.556896430 +0100
@@ -5,53 +5,53 @@
 #codec_id 0: rawvideo
 #dimensions 0: 704x288
 #sar 0: 0/1
-0,          0,          0,        1,   304128, 0xf6aa0942
-0,          1,          1,        1,   304128, 0x5752d4ab
-0,          2,          2,        1,   304128, 0x3052ede5
-0,          3,          3,        1,   304128, 0xdaf807b7
-0,          4,          4,        1,   304128, 0x8f5c9990
-0,          5,          5,        1,   304128, 0x75b58b80
-0,          6,          6,        1,   304128, 0x5b9c7b06
-0,          7,          7,        1,   304128, 0xee9c177a
-0,          8,          8,        1,   304128, 0x4fefb449
-0,          9,          9,        1,   304128, 0x0a6d565d
-0,         10,         10,        1,   304128, 0x25fe7635
-0,         11,         11,        1,   304128, 0x1d36be60
-0,         12,         12,        1,   304128, 0xa63f571a
-0,         13,         13,        1,   304128, 0x7ec1f6b5
-0,         14,         14,        1,   304128, 0x8c240ccf
-0,         15,         15,        1,   304128, 0x41bbbc2a
-0,         16,         16,        1,   304128, 0x611319e8
-0,         17,         17,        1,   304128, 0x929d83ad
-0,         18,         18,        1,   304128, 0x45ae42a0
-0,         19,         19,        1,   304128, 0x9dd20a04
-0,         20,         20,        1,   304128, 0x61230985
-0,         21,         21,        1,   304128, 0x643a6d0f
-0,         22,         22,        1,   304128, 0x5dd530dd
-0,         23,         23,        1,   304128, 0x92c56539
-0,         24,         24,        1,   304128, 0xc364f034
-0,         25,         25,        1,   304128, 0x7a476be9
-0,         26,         26,        1,   304128, 0xee4ac625
-0,         27,         27,        1,   304128, 0x9e9c13c4
-0,         28,         28,        1,   304128, 0x6097cda9
-0,         29,         29,        1,   304128, 0x3a6c370c
-0,         30,         30,        1,   304128, 0xfa740b74
-0,         31,         31,        1,   304128, 0x9d13798e
-0,         32,         32,        1,   304128, 0x61b5ffc1
-0,         33,         33,        1,   304128, 0x34b30667
-0,         34,         34,        1,   304128, 0x303681b4
-0,         35,         35,        1,   304128, 0xe63508fc
-0,         36,         36,        1,   304128, 0x10ef6b65
-0,         37,         37,        1,   304128, 0x17c8d2b5
-0,         38,         38,        1,   304128, 0x053d9db5
-0,         39,         39,        1,   304128, 0x43dd5c5b
-0,         40,         40,        1,   304128, 0xba4b65f2
-0,         41,         41,        1,   304128, 0x4dc70aa2
-0,         42,         42,        1,   304128, 0x9e2a528f
-0,         43,         43,        1,   304128, 0x53df2931
-0,         44,         44,        1,   304128, 0xe1d12fbd
-0,         45,         45,        1,   304128, 0xcb863c4c
-0,         46,         46,        1,   304128, 0x528e2e81
-0,         47,         47,        1,   304128, 0x880c0b66
-0,         48,         48,        1,   304128, 0x83ec648a
-0,         49,         49,        1,   304128, 0xa5d2555d
+0,          0,          0,        1,   304128, 0x27682f92
+0,          1,          1,        1,   304128, 0x49a0e607
+0,          2,          2,        1,   304128, 0x18d61056
+0,          3,          3,        1,   304128, 0xfa3d00b5
+0,          4,          4,        1,   304128, 0xf5666c5a
+0,          5,          5,        1,   304128, 0xe93336d6
+0,          6,          6,        1,   304128, 0x4edd4565
+0,          7,          7,        1,   304128, 0x25f28c87
+0,          8,          8,        1,   304128, 0xc83ab404
+0,          9,          9,        1,   304128, 0x2573204e
+0,         10,         10,        1,   304128, 0x6d8d80c6
+0,         11,         11,        1,   304128, 0xb2ea1059
+0,         12,         12,        1,   304128, 0x8d1769c0
+0,         13,         13,        1,   304128, 0x7aa43e41
+0,         14,         14,        1,   304128, 0xc33fb526
+0,         15,         15,        1,   304128, 0x5fafa993
+0,         16,         16,        1,   304128, 0x2368bce5
+0,         17,         17,        1,   304128, 0x694b6be4
+0,         18,         18,        1,   304128, 0x38442872
+0,         19,         19,        1,   304128, 0xbfcb87cb
+0,         20,         20,        1,   304128, 0x5e8d459d
+0,         21,         21,        1,   304128, 0x5168b3c8
+0,         22,         22,        1,   304128, 0x84222a1c
+0,         23,         23,        1,   304128, 0x567b951b
+0,         24,         24,        1,   304128, 0x26c1df6a
+0,         25,         25,        1,   304128, 0x20e2ab60
+0,         26,         26,        1,   304128, 0x9adb03fe
+0,         27,         27,        1,   304128, 0xda0817c1
+0,         28,         28,        1,   304128, 0xc1d86dcf
+0,         29,         29,        1,   304128, 0x93dc84fd
+0,         30,         30,        1,   304128, 0x3b21fced
+0,         31,         31,        1,   304128, 0x954eb35a
+0,         32,         32,        1,   304128, 0x3ef4ba28
+0,         33,         33,        1,   304128, 0x6bde666a
+0,         34,         34,        1,   304128, 0x79036210
+0,         35,         35,        1,   304128, 0xd91f2d76
+0,         36,         36,        1,   304128, 0xa4a5d10a
+0,         37,         37,        1,   304128, 0xe11b9217
+0,         38,         38,        1,   304128, 0xd8009463
+0,         39,         39,        1,   304128, 0x9b2dde95
+0,         40,         40,        1,   304128, 0xf56cd745
+0,         41,         41,        1,   304128, 0x5dfd59b3
+0,         42,         42,        1,   304128, 0x7c66b5b0
+0,         43,         43,        1,   304128, 0x34e8bb5a
+0,         44,         44,        1,   304128, 0xb3fb0c21
+0,         45,         45,        1,   304128, 0x67f3e8e5
+0,         46,         46,        1,   304128, 0xd10a7968
+0,         47,         47,        1,   304128, 0x1270b492
+0,         48,         48,        1,   304128, 0x6715de22
+0,         49,         49,        1,   304128, 0x48c366dc
Test ffmpeg-loopback-decoding failed. Look at tests/data/fate/ffmpeg-loopback-decoding.err for details.
make: *** [tests/Makefile:311: fate-ffmpeg-loopback-decoding] Error 1

thx

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

Those who are best at talking, realize last or never when they are wrong.
-------------- 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/20241220/c6cc8be5/attachment.sig>


More information about the ffmpeg-devel mailing list