📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
James Jackson-South 9bc5b98429 Verify HEVC intra prediction against ITU 5 days ago
..
CIP_A_Panasonic_3.bit Verify HEVC intra prediction against ITU 5 days ago
GENERAL_8b_400_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_8b_400_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_8b_420_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_8b_420_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_8b_444_RExt_Sony_2.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_8b_444_RExt_Sony_2_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_420_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_420_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_422_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_422_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_444_RExt_Sony_2.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_10b_444_RExt_Sony_2_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_400_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_400_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_420_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_420_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_422_RExt_Sony_1.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_422_RExt_Sony_1_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_444_RExt_Sony_2.bit Complete HEVC Range Extensions conformance 1 week ago
GENERAL_12b_444_RExt_Sony_2_frame0.yuv Complete HEVC Range Extensions conformance 1 week ago
IPRED_B_Nokia_3.bit Verify HEVC intra prediction against ITU 5 days ago
IPRED_B_Nokia_3.yuv Verify HEVC intra prediction against ITU 5 days ago
README.md Verify HEVC intra prediction against ITU 5 days ago
RQT_A_HHI_4.bit Verify HEVC coding-tree traversal 5 days ago
RQT_B_HHI_4.bit Verify HEVC coding-tree traversal 5 days ago
RQT_C_HHI_4.bit Verify HEVC coding-tree traversal 5 days ago
RQT_D_HHI_4.bit Verify HEVC coding-tree traversal 5 days ago
RQT_E_HHI_4.bit Verify HEVC coding-tree traversal 5 days ago
STRUCT_A_Samsung_7.bit Verify HEVC coding-tree traversal 5 days ago
STRUCT_B_Samsung_7.bit Verify HEVC coding-tree traversal 5 days ago
TUSIZE_A_Samsung_1.bit Verify HEVC coding-tree traversal 5 days ago

README.md

HEVC conformance fixtures

These fixtures come from the electronic attachment to ITU-T H.265.1 (10/2018), the conformance specification aligned with ISO/IEC 23008-8. Table 4 identifies the Sony GENERAL_*_RExt streams and their required profiles.

The .bit files are the original Annex B conformance streams. The Samsung archives name their payloads .bin; the repository stores those unchanged bytes with the common .bit extension. Each GENERAL_*_frame0.yuv file contains the first decoded picture extracted byte-for-byte from the corresponding published planar reference output; it was not generated by ImageSharp.

HevcPictureDecoderTests.DecodeOfficialRangeExtensionsPictureMatchesPublishedDigest limits each stream to its first independently coded picture, adapts that picture to the bounded hvc1 item contract, compares every reconstructed sample with _frame0.yuv, and verifies the published decoded-picture MD5 value for every present plane.

The retained matrix covers the ImageSharp 8, 10, and 12-bit still-image precision boundary across monochrome, 4:2:0, 4:2:2, and 4:4:4. Tool-specific H.265.1 streams remain necessary before every exposed Range Extensions tool can be marked complete.

The Main-profile traversal matrix comes from the official RQT_A_HHI_4 through RQT_E_HHI_4, STRUCT_A_Samsung_7, STRUCT_B_Samsung_7, and TUSIZE_A_Samsung_1 archives. Their published descriptions target residual-quadtree intra hierarchy depths zero through four, coding-tree and minimum-coding-unit structure, and a 64x64 coding-tree block with 32x32 minimum coding units and 16x16 minimum luma transforms, respectively.

HevcPictureDecoderTests.DecodeOfficialTraversalPictureMatchesPinnedHmDigest decodes each first independently coded picture through the production still-item path and compares all three native planes with fixed MD5 digests. The RQT values are the streams' decoded-picture-hash SEI values. For STRUCT and TUSIZE, the plane values were calculated from the first picture written by the HM reference decoder at commit 9c1f298659ab0cee9dc13d23d0304221575410b9; the complete HM output also matched each archive's published file MD5:

  • STRUCT_A_Samsung_7: 02f02cc9a67222004ae18ee6bebd475a
  • STRUCT_B_Samsung_7: 1f472e014aff120681e8482c8a04ef93
  • TUSIZE_A_Samsung_1: 5e6c198c852e92cdcca0e137fc2610c4

The intra-prediction fixtures come from the same official HEVC v1 attachment:

  • IPRED_B_Nokia_3 is the one-picture Main Still Picture stream identified by H.265.1 Table 1. Its published description states that it uses all 35 modes at each of the luma 32x32, 16x16, 8x8, and 4x4 sizes and the chroma 16x16, 8x8, and 4x4 sizes, for 245 mode-and-size combinations. The archive SHA-256 is 738E35AF4CED173E8CCB558464DC6A1B8B791FB1BB957C073633AA6037288CD0; the published bitstream MD5 is 1be12a94d9da6b84af78cd6cfd5e4407; and the retained published YUV has MD5 ec3bcad4f9174404e52d132206b6617b.
  • CIP_A_Panasonic_3 signals constrained intra prediction and contains one I picture followed by one B picture. The bounded still decoder test extracts only the independently coded I picture. The archive SHA-256 is 5C55B3594E5C951C9F5312913961750283EB2DADD15844FE35F9BEB94A9A548C, and the published bitstream MD5 is e1e00592fc8a158da9109b4dc05d03be.

HM at commit 9c1f298659ab0cee9dc13d23d0304221575410b9 reproduces the published IPRED_B_Nokia_3 YUV MD5 exactly and reports decoded-picture hashes 200ef9f7d2efde44ab872a78a40ece42, bfe9de3bef5ce5596a71bbfdbfb823fc, and 5b14acdd5c5bf8c6887160817ee1ad11. The same pinned decoder reproduces CIP_A_Panasonic_3's published complete two-picture YUV MD5 4cbf601ba98d63f642defab5eaa12c8d; its independently coded first picture reports plane hashes 69a20189e6bbb9c088e3adc967244ca1, 26502d354bb123f54c20413f14360ddb, and baafaef47a55ae2e876862b30b3bc720.