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

Git pushed a commit to branch master
in repository ffmpeg.

commit e8574d0b22b126acc76007babce536c68bc07d0a
Author:     ohah <[email protected]>
AuthorDate: Mon Oct 26 10:06:49 2026 +0000
Commit:     Baptiste Coudurier <[email protected]>
CommitDate: Sat Nov 21 00:34:43 2026 +0000

    fate/hevc: cover 12-bit inverse quantization at QP 74 and 75
    
    Add two synthetic 128x64 12-bit 4:4:4 single-frame inputs that exercise
    the last two dequantization table entries. The references match the
    reconstructed pictures returned by the x265 4.2 encoder API.
    
    Both tests fail on the unmodified decoder and pass with the missing
    table entries initialized. The sample sizes are 7217 and 6781 bytes.
    
    Samples for hevc/12bit-444-qp74.hevc and hevc/12bit-444-qp75.hevc:
    
https://raw.githubusercontent.com/ohah/FFmpeg/df6c311a005073ab714089c5a7b727098e30bb1d/repro/hevc-qp74-75/qp74.hevc
    
https://raw.githubusercontent.com/ohah/FFmpeg/df6c311a005073ab714089c5a7b727098e30bb1d/repro/hevc-qp74-75/qp75.hevc
    
    The same directory contains the generator, independent reconstructed
    YUV outputs, reproduction instructions and SHA-256 hashes.
    
    Signed-off-by: ohah <[email protected]>
---
 tests/fate/hevc.mak                                            | 5 +++++
 tests/ref/fate/{notchlc-alpha-ramp-oddsize => hevc-12bit-qp74} | 6 +++---
 tests/ref/fate/{notchlc-alpha-ramp-oddsize => hevc-12bit-qp75} | 6 +++---
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 4dac1a2b4b..c2b557a91e 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -376,6 +376,11 @@ FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER) += 
fate-hevc-tile-row-order-
 fate-hevc-tile-row-order-nokey: CMD = framecrc -tile_interleave 1 
-skip_loop_filter nokey -i $(TARGET_SAMPLES)/hevc/tile_row_order_nokey.hevc 
-pix_fmt yuv420p
 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER) += 
fate-hevc-tile-row-order-nokey
 
+# Exercise the last two inverse-quantization table entries with 12-bit 4:4:4.
+fate-hevc-12bit-qp74: CMD = framemd5 -i 
$(TARGET_SAMPLES)/hevc/12bit-444-qp74.hevc -pix_fmt yuv444p12le -vf scale
+fate-hevc-12bit-qp75: CMD = framemd5 -i 
$(TARGET_SAMPLES)/hevc/12bit-444-qp75.hevc -pix_fmt yuv444p12le -vf scale
+FATE_HEVC-$(call FRAMEMD5, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += 
fate-hevc-12bit-qp74 fate-hevc-12bit-qp75
+
 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
 FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
 
diff --git a/tests/ref/fate/notchlc-alpha-ramp-oddsize 
b/tests/ref/fate/hevc-12bit-qp74
similarity index 56%
copy from tests/ref/fate/notchlc-alpha-ramp-oddsize
copy to tests/ref/fate/hevc-12bit-qp74
index 2ac3171624..086adebfe8 100644
--- a/tests/ref/fate/notchlc-alpha-ramp-oddsize
+++ b/tests/ref/fate/hevc-12bit-qp74
@@ -1,10 +1,10 @@
 #format: frame checksums
 #version: 2
 #hash: MD5
-#tb 0: 1001/30000
+#tb 0: 1/25
 #media_type 0: video
 #codec_id 0: rawvideo
-#dimensions 0: 500x300
+#dimensions 0: 128x64
 #sar 0: 0/1
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,        1,  1200000, a403be2465abb74f7d0da16542f29ecc
+0,          0,          0,        1,    49152, dd156676d75cc4801291a3a4d52ab375
diff --git a/tests/ref/fate/notchlc-alpha-ramp-oddsize 
b/tests/ref/fate/hevc-12bit-qp75
similarity index 56%
copy from tests/ref/fate/notchlc-alpha-ramp-oddsize
copy to tests/ref/fate/hevc-12bit-qp75
index 2ac3171624..5e49351e40 100644
--- a/tests/ref/fate/notchlc-alpha-ramp-oddsize
+++ b/tests/ref/fate/hevc-12bit-qp75
@@ -1,10 +1,10 @@
 #format: frame checksums
 #version: 2
 #hash: MD5
-#tb 0: 1001/30000
+#tb 0: 1/25
 #media_type 0: video
 #codec_id 0: rawvideo
-#dimensions 0: 500x300
+#dimensions 0: 128x64
 #sar 0: 0/1
 #stream#, dts,        pts, duration,     size, hash
-0,          0,          0,        1,  1200000, a403be2465abb74f7d0da16542f29ecc
+0,          0,          0,        1,    49152, 28f5c39656c53f3dc6c147200e7223f2

-- 
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