o P_8x8, P_8x8ref0, or B_8x8, artWidth and partHeight are derived by partWidth =MbPartWidth(mbType) = (G-103) partHeight = MbPartHeight( mbType) (G-104) Otherwise (mbType is equal to P_8x8, P_8x8ref0, or B_8x8), partWidth and partHeight are derived by partWidth = SubMbPartWidth( subMbType[mbPartIdx]) (G-105) partHeight = SubMbPartHeight(subMbType[mbPartIdx]) (G-106) b. When ChromaArrayType is not equal to 0, the variables partWidthC and partHeightC are derived by partWidthC =partWidth/SubWidthC (G-107) partHeightC=partHeight/SubWidthC = (G-108) C. For X being replaced by 0 and 1, when ChromaArrayType is not equal to 0 and predFlagLX[ mbPartIdx ] is equal to 1, the derivation process for chroma motion vectors as specified in clause 8.4.1.4 is invoked with mvLX[ mbPartIdx ][ subMbPartIdx ] and refIdxLX[ mbPartIdx ] as the inputs and the output is the chroma motion vector mvCLX. For this invocation of the process in clause 8.4.1.4, the modifications specified above in items a) and c) of this clause apply. d. The decoding process for Inter prediction samples as specified in clause 8.4.2 is invoked with mbPartIdx, subMbPartIdx, partWidth and partHeight, partWidthC and partHeightC (if available), luma motion vectors mvL0[ mbPartIdx ][ subMbPartIdx and mvL1[ mbPartIdx subMbPartIdx chroma motion vectors mvCL0 and mvCL1 (if available), reference indices refIdxL0[ mbPartIdx ] and refIdxL1[ mbPartIdx ], Rec. ITU-T H.264 (01/2012) prediction utilization flags predFlagL0[ mbPartIdx ] and predFlagL1 mbPartIdx ] as well as variables for weighted prediction logWDL, WOL, W1L, OiL, OOL, and when ChromaArrayType is not equal to 0, logWDc, Woc, W1C, O1C, and OOC (with C being replaced by Cb and Cr) as the inputs and the outputs are a (partWidth)x(partHeight) array predPart of luma prediction samples and, when ChromaArrayType is not equal to 0, two (partWidthC)x(partHeightC) arrays predPartcb and predPartcr of chroma prediction samples. For this invocation of the process in clause 8.4.2, the modifications specified above in items a),