Flag is set equal to the variable SpatialResolutionChangeFlag of the layer representation with DQId equal to currDQId. Depending on spatResChangeFlag, the following applies: If spatResChangeFlag is equal to 0, the base decoding process for layer representations without resolution change as specified in clause G.8.1.3.1 is invoked with currDQId and currentVars as the inputs and the output is a modified version of currentVars Otherwise (spatResChangeFlag is equal to 1), the base decoding process for layer representations with resolution change as specified in clause G.8.1.3.2 is invoked with currDQId and currentVar as the inputs and the outputs are variables assigned to the collective term refLayerVars and a modified version of currentVars 3. When currDQId is equal to (DependencyIdMax 4) and store_ref_base_pic_flag for the dependency representation with dependency_id_equal to DependencyIdMax is equal to 1, the target layer representation decoding process as specified in clause G.8.1.3.3 is invoked with currDQId, refLayerVars (when spatResChangeFlag is equal to 1), and currentVars as the inputs and the outputs are assigned to the sample array BL and, when ChromaArrayType is not equal to 0, the sample arrays BCb and BCr. NOTE 2 - The sample arrays BL, BCb, and BCr represent the reference base picture for an access unit with store_ref_base_pic_flag equal to 1 for the dependency representation with dependency_id equal to DependencyIdMax. The target layer representation decoding process as specified in clause G.8.1.3.3 is invoked with currDQId set equal to DQIdMax, refLayerVars (when the variable SpatialResolutionChangeFlag of the layer representation with DQId equal to DQIdMax is equal to 1), and currentVars as the inputs and the outputs are assigned to the sample array SL and, when ChromaArrayType is not equal to 0, the sample arrays Scb and Scr. NOTE 3 - The sample arrays SL, SCb, and SC represent the decoded picture for the access unit. The SVC decoded reference picture marking process as specified in clause G.8.2.4