heir names as specified in clause G.8.1.2.1. Inside this clause, the arrays fieldMbFlag and mbType of the collective term refLayerVars are referred to as refLayerFieldMbFlag and refLayerMbType, respectively. Let currILIntraPredFlag be a (PicWidthInSamplesL)x(PicHeightInSamples) array and let refILIntraPredFlag be a one-dimensional array with RefLayerPicSizeInMbs elements. All elements of the arrays currILIntraPredFlag and refILIntraPredFlag are initially set equal to 0. The variable yC proceeds over the values 0. .(PicHeightInSamples, - 1). For each value of yC, the variable xC proceeds over the values ..(PicWidthInSamples__ - 1). For each combination of the values yC and xC, the following ordered steps are specified: 1. The variable mbAddr is set equal to the address of the macroblock that contains the luma sample at location (xC, yC ) relative to the upper-left sample of the layer picture. Depending on SpatialResolutionChangeFlag the following applies: If SpatialResolutionChangeFlag is equal to 0, the following ordered steps are specified: The array element currILIntraPredFlag[ xC, yC ] is derived as follows: If mbType[ mbAddr ] is equal to I_BL, currILIntraPredFlag[ xC, yC ] is set equal to 1. Otherwise (mbType[ mbAddr ] is not equal to I_BL), currILIntraPredFlag[ xC, yC ] is set equal to 0. When currILIntraPredFlag[ xC, yC ] is equal to 1, the following ordered steps are specified: The variable refMbAddr is derived as specified in clause G.8.1.2.2 with mbAddr being the value of mbAddr derived in step 1 of this clause. ii. The array element refILIntraPredFlag[ refMbAddr ] is set equal to 1. iii. When refLayerMbType[ refMbAddr ] is equal to I_16x16, I_8x8, or I 4x4, let setRefIntraMbs be the set of macroblocks that contain luma or chroma samples that are directly (by the invocation of clause G.8.3.2 for the macroblock with address refMbAddr) or indirectly (by multiple invocations of clause G.8.3.2 for macroblocks with mbAddr less than or equal to refMbAddr) used for construction of the intra prediction signal o