the considered colour component, a variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, an array refLayerPicSamples, which is a(RefLayerPicWidthInSamplesL)x(RefLayerPicHeightInSamples) array containing constructed intra luma sample values for the reference layer representation when chromaFlag is equal to 0 or a (RefLayerPicWidthInSamplesc)x(RefLayerPicHeightInSamplesc) array containing constructed intra chroma sample values for the reference layer representation when chromaFlag is equal to 1, 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. Output of this process is an (mbW)x(mbH) array mbPred of Intra_Base prediction samples. The variable botFieldFlag is derived as follows: If RefLayerFrameMbsOnlyFlag is equal to 1, botFieldFlag is set equal to 0. Otherwise, if field_pic_flag is equal to 1, botFieldFlag is set equal to bottom_field_flag. Otherwise, if RefLayerFieldPicFlag is equal to 1, botFieldFlag is set equal to RefLayerBottomFieldFlag. Otherwise, if fieldMbFlag is equal to 1, botFieldFlag is set equal to (CurrMbAddr % 2). Otherwise, botFieldFlag is set equal to 0. The variable frameBasedResamplingFlag is derived as follows: If all of the following conditions are true, frameBasedResamplingFlag is set equal to 1: RefLayerFrameMbsOnlyFlag is equal to 1, frame_mbs_only_flag is equal to 1. Otherwise, frameBasedResamplingFlag is set equal to 0. The variable topAndBotResamplingFlag is derived as follows: If all of the following conditions are true, topAndBotResamplingFlag is set equal to 