 derived by applying the following ordered steps: The derivation process for reference layer partitions as specified in clause G.6.2 is invoked with the luma location (4*x+1,4*y+1), fieldMbFlag, refLayerFieldMbFlag, refLayerMbType, and refLayerSubMbType as the inputs and the outputs are a macroblock address refMbAddr, a macroblock partition index refMbPartIdx, and a sub-macroblock partition index refSubMbPartIdx of a partition in the reference layer representation. 2. The element refLayerPartIdc[ X, y ] of the array refLayerPartIdc is derived as follows: If refLayerMbType[refMbAddr ] is equal to I_PCM, I_16x16, I_8x8, I_4x4, or I_BL, refLayerPartIdc[ X, y is set equal to -1. Otherwise (refLayerMbType[ refMbAddr ] is not equal to I_PCM, I 16x16, I_8x8, I_4x4, or I_BL), refLayerPartIdc[ is derived by refLayerPartIdc[ X, y]=16* refMbAddr + 4 refMbPartIdx + refSubMbPartIdx (G-211) The variable intraILPredFlag is derived as follows: If all elements refLayerPartIdc[ X, y ] with X, y = 0..3 are equal to -1, intraILPredFlag is set equal to 1. Otherwise (any element refLayerPartIdc[ X, y ] with X, y = 0..3 is not equal to -1), intraILPredFlag is set equal to 0. When intraILPredFlag is equal to 0 and RestrictedSpatialResolutionChangeFlag is equal to 0, the 4x4 array refLayerPartIde is modified by the following ordered steps: 1. For each 8x8 block with block coordinates xP, yP = 0..1, the following ordered steps are specified. The variables xO and yO are set equal to (2 * xP) and (2 * yP), respectively. b. All elements procI4x4Blk[ xS, yS ] of the 2x2 array procI4x4Blk with xS, yS = 0..1 are set equal to 0. C. The 4x4 blocks of the current 8x8 block with block coordinates xS, yS = 0..1 are processed in increasing order of (2 * yS +xS), and when refLayerPartIdc[ xO + xS, yO + yS ] is equal to -1 for a 4x4 block, the element procI4x4Blk[ xS, yS ] of the array procI4x4Blk is set equal to 1 and the following applies: If procI4x4Blk[ 1 - xS, yS ] is equal to 0 and refLayerPartIdc[ xO + 1 xS, yO + yS ] is not equal to -1, the ele