Decodificatore H.264 scritto in casa, provato sui flussi di conformità (#58)

Decodifica Baseline, Main e High a fotogrammi progressivi 4:2:0 a 8 bit (CAVLC e CABAC, slice I/P/B, trasformata 8x8 e matrici di quantizzazione, predizione pesata, diretta spaziale e temporale, gestione dei riferimenti, filtro di deblocco), scritta dallo standard ITU-T H.264 senza codice di terzi. I dodici flussi della suite ITU-T H.264.1 in tests/Febe.Tests/Media/H264/Conformita danno, fotogramma per fotogramma, gli MD5 della ricostruzione ufficiale. Le tabelle di inizializzazione CABAC sono trascritte dal testo della Raccomandazione (03/2005): quelle a memoria per cabac_init_idc 1 e 2 erano sbagliate e le prove le hanno scoperte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-18 12:08:23 +01:00
1 parent 9958745e53
commit 697de97ec3
55 files changed
+7072

No files matched your search

@@ -0,0 +1,30 @@
Stream Name: CABA1_SVA_B
Stream Source: SVA & Tsinghua
Video Sequence: Foreman
Video Resolution: QCIF
Video Frames: 17
Frame/Field Coding: Frame
Entropy Coding: CABAC
Slice Types: I
Intra Period: 1
Slices per Picture: 1
Conformance Point: JVT-G050r1
POC Type: 0
Number Ref Frames: 5
Constrained Intra Pred: Off (Unconstrained)
Loop Filter: On
delta_QP always zero: Yes
IDR: First Frame
Ref Pic List Reorder: No
Adapt Ref Pic Mark: Off
Weighted Pred (P): Off
Weighted Bipred (B): Off
Direct Prediction: None
Direct 8x8 Inference: Off
SEI: No
VUI: No
Number Slice Groups: 1
Long-term Ref Frames: No
MMCO: No
Arbitrary Slice Order: No
Redundant Slices: No
@@ -0,0 +1,19 @@
# CABA1_SVA_B_rec.yuv 176x144 4:2:0 8 bit, 17 fotogrammi, 646272 byte
tutto 2f5cabd5bb4954c0386cafd8a9aa782a
0 ad02f985ed0a451fe9a9e0a192f02e4f
1 680d5fb7eea63ba10424428260c87ced
2 b5e85433c841a4a28928092dee476935
3 5575cd3fedec0007e69048de67c5a47e
4 bc294e03dd03b3de5c15c94f09d1187c
5 2e19d4135101901de445036faceae7c7
6 42d5a7a3277529dd3fe5455694266fce
7 ce501ca34c4b254e271bf725c2c4d40a
8 cf25dbf2f3ffcf85a2242bb1b60a15c7
9 8a411af635b4b7a8a59187fd76f709e3
10 6671866c0f5c5d80bf8a1e89f5839f36
11 82e946f3911309615c245c32aa92a84d
12 81614930d9b5882aa70fce31271a5b4e
13 75d1d4ac08264f9f8b3708daf256eb49
14 4aa4764221a70ccbba8d60cf905ac1d6
15 fd8d0348ac45a1b4ee23d97168233a81
16 94d0da8b8a9037d0066e3f3571ba3c5d