ents and variables for layer representations with dependency_io equal to dependency_io id[ and quality_i id equal to sei_quality_id[i]. All SEI messages that are referred to in clause D.2 are SEI messages that apply to layer representations with dependency_id equal to sei_dependency_id[i ] and quality_id equal to sei_quality_id[i] Otherwise, if payloadType is equal to 2, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, or 23, the following applies: If the SEI message is not included in a scalable nesting SEI message, it applies to the dependency representations of the current access unit that have dependency_id equal to 0. The semantics as specified in clause D.2 apply to the bitstream that would be obtained by invoking the bitstream extraction process as specified in clause G.8.8.1 with dIdTarget equal to 0. All syntax elements and derived variables that are referred to in the semantics in clause D.2 are syntax elements and variables for dependency representations with dependency_id equal to 0. All SEI messages that are referred to in clause D.2 are SEI messages that apply to dependency representations with dependency_id equal to 0. Otherwise (the SEI message is included in a scalable nesting SEI message), the scalable nesting SEI message containing the SEI message shall have all_layer_representations_in_au_flag equal to 1 or, when l layer_representations in is equal to 0, all values of sei_quality_id[i present in the scalable nesting SEI message shall be equal to 0. The SEI message that is included in the scalable nesting SEI message applies to all dependency representations of the current access unit for which dependency_id is equal to any value of sei_dependency_id| i ] with i in the range of 0 to aum_layer_representations_minus1, inclusive. For each value of i in the range of 0 to num_layer_representations_minus1, inclusive, the semantics as specified in clause D.2 apply to the bitstream that would be obtained by invoking the bitstream extraction process as specified in clause G.8.8.1 with dIdTarget equal to