1: RefLayerFrameMbsOnlyFlag is equal to 0, RefLayerFieldPicFlag is equal to 0, frame_mbs_only_flag is equal to 0, fieldMbFlag is equal to 0. Otherwise, topAndBotResamplingFlag is set equal to 0. The variable botFieldFrameMbsOnlyRefFlag is derived as follows: If RefLayerFrameMbsOnlyFlag is equal to 1, fieldMbFlag is equal to 1, and any of the following conditions are true, botFieldFrameMbsOnlyRefFlag is set equal to 1: field_pic_flag is equal to 1 and bottom_field_flag is equal to 1, field_pic_flag is equal to 0 and ( CurrMbAddr % 2) is equal to 1, Rec. ITU-T H.264 (01/2012) Otherwise, botFieldFrameMbsOnlyRefFlag is set equal to 0. The variable filteringModeFlag is derived as follows: If chromaFlag is equal to 0 or ChromaArrayType is equal to 3, filteringModeFlag is set equal to 0. Otherwise (chromaFlag is equal to 1 and ChromaArrayType is not equal to 3), filteringModeFlag is set equal to 1. The array predArray is derived as specified in the following. If botFieldFrameMbsOnlyRefFlag is equal to 1, the following ordered steps are specified: 1. The reference layer sample array construction process prior to intra resampling as specified in clause G.8.6.2.2 is invoked with chromaFlag, mbW, mbH, fieldMbFlag, botFieldFlag, refLayerPicSamples, refLayerSliceIdc, refLayerFieldMbFlag, and refLayerMbType as the inputs and the outputs are the variables refArrayW, refArrayH, the array refSampleArray of reference layer sample values, and the variables xOffset and yOffset. 2. The variable yBorder is set equal to 2-chromaFlag ). 3. The interpolation process for Intra Base prediction as specified in clause G.8.6.2.3 is invoked with filteringModeFlag, chromaFlag, mbW, mbH, fieldMbFlag, botFieldFlag, fldPrdInFrmMbFlag equal to 0, yBorder, refArrayW, refArrayH, refSampleArray, xOffset, and yOffset as the inputs and the output is the (mbW)x(mbH+2 yBorder) array topFldPredArray of top field prediction samples. 4. The vertical interpolation process for Intra_Base prediction as specified in clause G.8.6.2.4 is invoked with filteringMode