yerFieldMbFlag, and refLayerMbType as the inputs and the outputs are assigned to mbAddrRefLayer and xRef, yRef). When refLayerMbType[mbAddrRefLayer ] is equal to I_PCM, I_16x16, I_8x8, I_4x4, or I_BL, the variable useIntraPredFlag is set equal to 1. 3. When useIntraPredFlag is equal to 1, it is a requirement of bitstream conformance that the bitstream shall not contain data that result in refSliceIdcMb being marked as "not available". Rec. ITU-T H.264 (01/2012) Each sample refSampleArray[ X, y ] with X = 0..(refArrayW-1) and y = ..(refArrayH 1) is derived as specified in the following ordered steps: 1. A reference layer sample location (xRef, yRef) is derived by xRef = Max( 0, refW xOffset ) ) (G-282) yRef = yRefScale Max( Min( refH / yRefScale - 1, y + yOffset ) + yRefAdd (G-283) 2. The derivation process for reference layer slice and intra macroblock identifications as specified in clause G.8.6.2.2.1 is invoked with the reference layer sample location (xRef, yRef), refMbW, refMbH, refLayerSliceIdc, refLayerFieldMbFlag, and refLayerMbType as the inputs and the outputs are the reference layer slice identification refSliceIdc and the variable refIntraMbFlag. 3. When constrained_intra_resampling_flag is equal to 1, refIntraMbFlag is equal to 1, X is greater than xMin, X is less than xMax, y is greater than yMin, and y is less than yMax, it is a requirement of bitstream conformance that the bitstream shall not contain data that result in refSliceIdc being not equal to refSliceIdcMb. NOTE 2 - This constraint specifies that a macroblock cannot be coded with base_mode_flag equal to 1 when it covers intra-coded macroblocks of more than one slice in the reference layer representation, constrained_intra_resampling_flag is equal to 1, and either the inferred macroblock type is equal to I BL or the conditions for invoking the intra-inter prediction combination process as specified in clause G.8.4.2.2 are fulfilled. 4. Depending on refIntraMbFlag, constrained_intra_resampling_flag and refSliceIdc, the following applies: If a