Decodificatore HEVC, terza parte: anche le estensioni di formato, tutti i 146 flussi di conformità coincidono (#58)
I 10 flussi RExt sono nella serie di conformità, quindi il decodificatore li decodifica invece di lasciarli inconcludenti: 4:0:0, 4:2:2 (due blocchi di croma per unità di trasformata, modi intra della tabella 8-3, QP del croma senza la tabella del 4:2:0), 4:4:4, fino a 12 bit, predizione fra componenti, RDPCM implicito ed esplicito, rotazione e contesto unico del transform skip, smoothing intra spento, adattamento persistente di Rice salvato con i contesti di WPP e dei segmenti dipendenti, chroma_qp_offset_list; deblocking del croma sulla sua griglia e SAO con CTB di croma non quadrati. Precisione estesa e allineamento del CABAC restano rifiutati: nessun flusso li usa. Le prove RExt non sono più inconcludenti, così la CI non trova prove HEVC saltate. Una prova nuova controlla che tile, WPP, segmenti dipendenti, liste di scala, lungo termine, PCM e strumenti RExt siano accesi in almeno un flusso, perché gli hash valgano qualcosa per ciascuno. Il ritaglio dei fotogrammi in uscita usa array non inizializzati. Misurati 160-600 fotogrammi al secondo a 416x240 e 26-27 a 1080p su questa macchina; nei cicli delle CTU non si alloca. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d5e1282261
commit
3cabd87316
14 files changed
+535
-188
No files matched your search
@@ -4,10 +4,10 @@ using Febe.Core.Codecs.H265;
|
||||
namespace Febe.Tests.Codecs.H265;
|
||||
|
||||
/// <summary>
|
||||
/// The streams of the ITU-T H.265.1 conformance set in Media/H265/Conformita (see LEGGIMI.md there). Every Main, Main 10
|
||||
/// and Main Still Picture stream must give exactly the frames of its official YUV (the MD5 of each frame where the YUV
|
||||
/// came with the stream, of the whole YUV for all); the range extension streams (4:0:0, 4:2:2, 4:4:4, 12 bits, RExt
|
||||
/// tools) stay inconclusive until Alberto says whether «HEVC» covers them.
|
||||
/// The streams of the ITU-T H.265.1 conformance set in Media/H265/Conformita (see LEGGIMI.md there). Every stream, Main,
|
||||
/// Main 10, Main Still Picture and the format range extensions (4:0:0, 4:2:2, 4:4:4, 12 bits, RExt tools), must give
|
||||
/// exactly the frames of its official YUV (the MD5 of each frame where the YUV came with the stream, of the whole YUV for
|
||||
/// all).
|
||||
/// </summary>
|
||||
[TestClass]
|
||||
public sealed class H265ConformanceTests
|
||||
@@ -19,11 +19,6 @@ public sealed class H265ConformanceTests
|
||||
public void FramesMatchTheReference(string name)
|
||||
{
|
||||
var stream = H265ConformanceStream.Load(name);
|
||||
if (stream.IsRangeExtension)
|
||||
{
|
||||
Assert.Inconclusive($"{name}: estensione di formato (RExt, {stream.Chroma} a {stream.LumaBitDepth} bit), da decodificare solo se Alberto la vuole.");
|
||||
}
|
||||
|
||||
var frames = new List<byte[]>();
|
||||
var decoder = new H265Decoder();
|
||||
decoder.FrameOutput += frame => frames.Add(frame.ToYuvFile());
|
||||
|
||||
Reference in new issue
Block a user