ny of the following conditions are true, the sample refSampleArray[ X, y ] is marked as "not available for Intra_Base prediction" and its value is set equal to 0: refIntraMbFlag is equal to 0, constrained_intra_resampling_flag is equal to 1 and refSliceIdcMb is marked as "not available", constrained_intra_resampling_flag is equal to 1 and refSliceIdc is not equal to refSliceIdcMb. Otherwise, the sample refSampleArray[ X, y ] is marked as "available for Intra Base prediction" and its value is derived by refSampleArray[ X, y ] = refLayerPicSamples[xRef,yRef] (G-284) The construction process for not available sample values prior to intra resampling as specified in clause G.8.6.2.2.2 is invoked with refMbW, refMbH, refArrayW, refArrayH, refSampleArray, xOffset, and yOffset as the inputs and the output is a modified version of the sample array refSampleArray. G.8.6.2.2.1 Derivation process for reference layer slice and intra macroblock identifications Inputs to this process are: a reference layer sample location xRef, yRef) relative to the upper-left sample of the considered colour component of the reference layer picture, two variables refMbW and refMbH specifying the width and height, respectively, of a reference layer macroblock for the considered colour component, a one-dimensional array refLayerSliceIdc with RefLayerPicSizeInMbs elements specifying slice identifications for the macroblocks of the reference layer representation, a one-dimensional array refLayerFieldMbFlag with RefLayerPicSizeInMbs elements specifying which macroblocks of the reference layer representation are field macroblocks and which macroblocks are frame macroblocks, a one-dimensional array refLayerMbType with RefLayerPicSizeInMbs elements specifying macroblock types for the macroblocks of the reference layer representation. Outputs of this process are: a reference layer slice identification refSliceIdc for the slice that covers the input reference layer sample location, a variable refIntraMbFlag specifying whether the reference layer macroblo