This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 7c7b6befaa2ae8af9e761c62dfaea8249324def0
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Oct 23 17:39:52 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Thu Nov 5 23:09:16 2026 +0000

    fate/ffv1: test the default slice layout of 32bit float frames
    
    The size and checksum of the encoded file pin the slice layout and the
    remap coding of a 704x576 float frame, which the 360x288 default slice
    limit splits into 2x2 slices.
---
 tests/fate/ffv1.mak                | 7 ++++++-
 tests/ref/fate/ffv1-float32-slices | 8 ++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/tests/fate/ffv1.mak b/tests/fate/ffv1.mak
index a2aa057732..96473ea3c5 100644
--- a/tests/fate/ffv1.mak
+++ b/tests/fate/ffv1.mak
@@ -1,5 +1,7 @@
 FATE_FFV1_FLOAT32-$(call TRANSCODE, FFV1, NUT, LAVFI_INDEV 
WRAPPED_AVFRAME_DECODER COLOR_FILTER FORMAT_FILTER GEQ_FILTER SCALE_FILTER) += \
     fate-ffv1-golomb-float32-26bit fate-ffv1-golomb-float32-1bit
+FATE_FFV1_FLOAT32-$(call TRANSCODE, FFV1, NUT, LAVFI_INDEV 
WRAPPED_AVFRAME_DECODER TESTSRC_FILTER FORMAT_FILTER SCALE_FILTER) += \
+    fate-ffv1-float32-slices
 
 fate-ffv1-golomb-float32-26bit: CMD = transcode lavfi 
"color=black:s=352x288:r=1:d=8,format=gbrpf32,geq=r=X+Y*W:g=X+Y*W:b=X+W*if(lt(Y\,2*(25+N+floor(N/2)+2*floor(N/7))-4)\,if(mod(Y\,2)\,290-(25+N+floor(N/2)+2*floor(N/7))+(Y-1)/2\,290-2*(25+N+floor(N/2)+2*floor(N/7))+Y/2)\,if(eq(Y\,2*(25+N+floor(N/2)+2*floor(N/7))-4)\,19\,if(lt(Y\,2*(25+N+floor(N/2)+2*floor(N/7))+16)\,Y-2*(25+N+floor(N/2)+2*floor(N/7))+3\,if(lt(Y\,286)\,Y-2*(25+N+floor(N/2)+2*floor(N/7))+4\,Y-(25+N+floor(N/2)+2*floor(N/7)
 [...]
     "-c:v ffv1 -strict experimental -coder 0 -remap_mode 1 -slices 1 -g 1" 
"-pix_fmt gbrpf32le -vf scale"
@@ -9,6 +11,9 @@ fate-ffv1-golomb-float32-26bit: CMD = transcode lavfi 
"color=black:s=352x288:r=1
 fate-ffv1-golomb-float32-1bit: CMD = transcode lavfi 
"color=black:s=64x48:r=1:d=1,format=gbrpf32,geq=r=1+mod(floor(X*Y/7)\,2):g=1+mod(floor(X*Y/7)\,2):b=1+mod(floor(X*Y/7)\,2)"
 nut \
     "-c:v ffv1 -strict experimental -coder 0 -remap_mode 1" "-pix_fmt 
gbrpf32le -vf scale"
 
+# Default slice layout of a 32bit float frame larger than 360x288
+fate-ffv1-float32-slices: CMD = transcode lavfi 
"testsrc=size=704x576:r=1:d=1,format=gbrpf32" nut \
+    "-c:v ffv1 -strict experimental" "-pix_fmt gbrpf32le -vf scale"
+
 FATE_FFMPEG += $(FATE_FFV1_FLOAT32-yes)
 fate-ffv1: $(FATE_FFV1_FLOAT32-yes)
-
diff --git a/tests/ref/fate/ffv1-float32-slices 
b/tests/ref/fate/ffv1-float32-slices
new file mode 100644
index 0000000000..084e88a7f7
--- /dev/null
+++ b/tests/ref/fate/ffv1-float32-slices
@@ -0,0 +1,8 @@
+33045e83befdf2085c63bfaea7c60006 *tests/data/fate/ffv1-float32-slices.nut
+9585 tests/data/fate/ffv1-float32-slices.nut
+#tb 0: 1/1
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 704x576
+#sar 0: 1/1
+0,          0,          0,        1,  4866048, 0x1b0e9bf0

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to