level Numeric values as per 11.1 and annex D.2. picture_coding_mode Numeric values as per 11.4 video_format A structure containing the parameters defined in table A.2 below. Table A.1: Sequence Parameters Structure Key Meaning base_video_format Numeric values as per 11.2. color difference_format1 Numeric values as per 11.3.3. source_sampling1 Boolean value as per 11.3.4. top_field_first As defined by the base_video_format. frame_rate1 In the form {numerator: aa, denominator: bb}, represents a custom frame rate as per 11.3.5. In the form nn, numeric values represent frame_rate_index as per 11.3.5. In the form {numerator: aa, denominator: bb}, represents a custom pixel aspect ratio as per 11.3.6. In the form nn, numeric values represent pixel_aspect_ratio_index as per 11.3.6. clean_area1 In the form {width: aa, height: bb, left_offset: cc, top_offset: dd}, represents a clean area as per 11.3.7. signal_range1 In the form nn, numeric values represent signal_range_index as per 11.3.8. In the form of a structure, represents a custom signal range as per 11.3.8: luma: {offset: aa, excursion: bb} color difference: {offset: aa, excursion: bb} color_spec1 In the form nn, numeric values represents custom_color_spec_index as per 11.3.9. In the form of a structure: color_primaries2 Numeric values as per index in 11.3.9.1. Textual values map to numeric values: "ITURec709"=0, "ITURec601_SD525"=1, "ITURec601_SD625"=2, "SMPTE428p1"=3.
color_matrix2 Numeric values as per index in 11.3.9.2. Textual values map to numeric values: "ITURec709"=0, "ITURec601"=1, transfer_function2 Numeric values as per index in 11.3.9.3. Textual values map to numeric values: "ITURec709"=0, "ITURec1361_1998Annex1"=1, "Linear"=2, "SMPTE428p1"=3. Table A.2: Video Format Structure Notes: 1. If present, it signals a custom value that overrides the default value set by base_video_format. 2. If present, it signals a custom value that overrides the default values set by base_video_format and preset_color_spec. Picture parameter section This section shall start with the text string: "--- !PictureParameters". This section comprise the parameters extracted from a picture data unit excluding the coefficient values. The parameters in this section shall be as defined below. Unless otherwise specified, all references to section numbers in the tables below shall refer to SMPTE 2042-1. Depending upon the picture type, either a low_delay_syntax or core_syntax set of parameters are specified. Key Meaning picture_number Numeric values as per 12.1. wavelet_index Numeric values as per 12.3.1. Textual values map to numeric values: "DDubuc97"=0, "LeGall53"=1, "DDubuc137"=2, "Haar0"=3, "Haar1"=4, "Fidelity"=5, "Approx97"=6. dwt_depth Numeric values as per 12.3.2. low_delay_syntax Presence indicates the picture is coded in low_delay_syntax mode. Shall not be present if core_syntax is present. A structure containing the parameters defined in A.4 below. core_syntax Presence indicates the picture is coded in core_syntax mode. Shall not be present if low_delay_syntax is present. A structure containing the parameters defined in table A.5 below.
Key Meaning using_ac Boolean value as per 10.4.1. Conditional numeric as per 12.3.3. levels A list of structures, one for each level. Each structure contains: level Numeric values as per 12.3.3, 13.4.1. Numeric values as per 12.3.3. Numeric values as per 12.3.3. subbands A list of structures, one for each subband within the level. Each structure contains: component String values ("Y", "C1" or "C2") as per 13. Indicates the video component this structure applies to. orient String values ("LL", "HL", "LH" or "HH") as per 13.4.1. length Numeric values as per subband_length in 13.4.2. quant_index Numeric values as per 13.4.2. codeblocks A list of structures, one for each codeblock within the subband. Only present if codeblocks_x*codeblocks_y > 1. Each structure contains: cx Numeric values indicating position of the codeblock in codeblock cy Numeric values indicating position of the codeblock in codeblock Numeric values as per 13.4.3.4. Only present if codeblock_mode == 1 and skipped_codeblock == false. Boolean values as per 13.4.3.3. Table A.5: Core Syntax Structure Example file (informative)
3 custom_scan_format_flag (with default scan format) pass 4 custom_frame_rate_index=0 (with default rate) pass 5 custom_frame_rate_index = default frame rate index pass 6 custom_pixel_aspect_ratio_index=0 (with default pixel aspect ratio) pass 7 custom_pixel_aspect_ratio_index = default pixel aspect ratio index pass 8 custom_clean_area_flag (with default area) pass 9 custom_signal_range_index=0 (with default signal pass 10 custom_signal_range_index = default signal range index pass 11 custom_color_spec_index = default spec pass 12 custom_color_spec_flag (with default index) pass 13 custom_color_primaries_flag (with default color primaries) pass 14 custom_color_matrix_flag (with default color matrix) pass 15 custom_transfer_function_flag (with default transfer function) pass Sequence Header Semantics Test Number Description Pass/Fail 16 legal future version_minor pass 17 invalid version_major fail 18 invalid profile fail 19 invalid fail 20 first invalid base_video_format_index fail 21 last valid base_video_format_index pass 22 invalid color difference_format fail 23 last valid color difference_format pass 24 first invalid source_sampling fail
25 last valid source_sampling pass 26 invalid custom_frame_rate_index fail 27 last valid custom_frame_rate_index pass 28 invalid custom_pixel_aspect_ratio_index fail 29 last valid custom_pixel_aspect_ratio_index pass 30 first invalid custom_signal_range_index fail 31 last valid custom_signal_range_index pass 32 invalid custom_color_spec_index fail 33 last valid custom_color_spec_index pass 34 first invalid custom_color_primaries_index fail 35 last valid custom_color_primaries_index pass 36 first invalid custom_color_matrix_index fail 37 last valid custom_color_matrix_index pass 38 first invalid custom_transfer_function_index fail 39 last valid custom_transfer_function_index pass 40 first invalid picture_coding_mode fail 41 picture_coding_mode = opposite of source sampling pass 42 invalid: clean area exceeds the bounds of frame_width fail 43 valid: clean area of same dimensions as frame pass 44 invalid: clean area exceeds the bounds of frame_height fail 45 custom frame_height mod 4 = 0 (picture_coding_mode = frame coding) (4:4:4) pass 46 custom frame_height mod 4 = 3 (picture_coding_mode = frame coding) (4:4:4) pass 47 custom frame_height mod 4 = 0 (picture_coding_mode = field coding) (4:4:4) pass
48 custom frame_height mod 4 = 1 (picture_coding_mode = field coding) (4:4:4) fail 49 custom frame_height mod 4 = 0 (picture_coding_mode = frame) (4:2:2) pass 50 custom frame_height mod 4 = 1 (picture_coding_mode = frame) (4:2:2) pass 51 custom frame_height mod 4 = 2 (picture_coding_mode = field) (4:2:2) pass 52 custom frame_height mod 4 = 3 (picture_coding_mode = field) (4:2:2) fail 53 custom frame_height mod 4 = 0 (picture_coding_mode = frame) (4:2:0) pass 54 custom frame_height mod 4 = 1 (picture_coding_mode = frame) (4:2:0) fail 55 custom frame_height mod 4 = 2 (picture_coding_mode = (4:2:0) pass 56 custom frame_height mod 4 = 3 (picture_coding_mode = frame) (4:2:0) fail 57 custom frame_height mod 4 = 0 (picture_coding_mode = field) (4:2:0) pass 58 custom frame_height mod 4 = 1 (picture_coding_mode = field) (4:2:0) fail 59 custom frame_height mod 4 = 2 (picture_coding_mode = field) (4:2:0) fail 60 custom frame_height mod 4 = 3 (picture_coding_mode = field) (4:2:0) fail Sequence semantics Test Number Description Pass/Fail 61 First frame is odd numbered pass 62 Sequence contains no pictures pass 63 Sequence starts with dangling fail
64 Sequence ends with dangling field fail 65 Sequence header not constant within sequence fail 66 Zero Next Offset on all data units pass 67 No End of Sequence data unit fail 68 Duplicate Picture Number fail 69 Picture Number discontinuity within sequence fail 70 Picture Number wraps within sequence pass 71 MultiSeq with Picture Number discontinuity at sequence boundary pass 72 Profile mismatch fail 73 Level mismatch (too low) fail Picture semantics Test Number Description Pass/Fail 74 invalid wavelet_index fail 75 last valid wavelet_index pass 76 first invalid codeblock_mode fail 77 slice_bytes too small for slice fail 78 division by zero in slice_bytes fail 79 custom_quant_matrix=false with too high dwt_depth fail 80 too many slices vertically (some slices with missing subband) fail 81 too many slices horizontally (some slices with missing subband) fail 82 maximum number of slices pass 83 maximum number of codeblocks pass 84 slice_length_exceeds avaliable storage fail
Picture syntax Test Number Description Pass/Fail 85 spatial_partitioning=false pass 86 spatial_partitioning=codeblocks, num_blocks=1 pass 87 spatial_partitioning=codeblocks, num_blocks>1 pass 88 spatial_partitioning=multiquant, num_blocks=1 pass 89 spatial_partitioning=multiquant, num_blocks>1, skipping pass 90 Custom quant matrix = false, quantizer index=0 pass 91 spatial_partitioning=false pass 92 spatial_partitioning=codeblocks, num_blocks=1 pass 93 spatial_partitioning=codeblocks, num_blocks>1, skipping pass 94 spatial_partitioning=multiquant, num_blocks=1 pass 95 spatial_partitioning=multiquant, num_blocks>1, skipping pass 96 quant=0 pass 97 pass 98 spatial_partitioning=codeblocks, num_blocks=1 pass 99 spatial_partitioning=codeblocks, num_blocks>1, skipping pass 100 spatial_partitioning=multiquant, num_blocks=1 pass 101 spatial_partitioning=multiquant, num_blocks>1, skipping pass 102 custom_quant_matrix=false, quant=0 pass 103 spatial_partitioning=false pass 104 spatial_partitioning=codeblocks, num_blocks=1 pass 105 spatial_partitioning=codeblocks, num_blocks>1, skipping pass
106 spatial_partitioning=multiquant, num_blocks=1 pass 107 spatial_partitioning=multiquant, num_blocks>1, skipping pass 108 custom_quant_matrix=false, quant=0 pass 109 spatial_partitioning=false pass 110 spatial_partitioning=codeblocks, num_blocks=1 pass 111 spatial_partitioning=codeblocks, num_blocks>1, skipping pass 112 spatial_partitioning=multiquant, num_blocks=1 pass 113 spatial_partitioning=multiquant, num_blocks>1, skipping pass 114 custom_quant_matrix=false, quant=0 pass