e to the upper-left luma sample of the reference layer macroblock. The reference layer macroblock address mbAddrRefLayer and the luma location ( xB, yB ) are derived by mbAddrRefLayer = virtMbAddrRefLayer (G-27) = xRef% (G-28) = yRef% (G-29) G.6.2 Derivation process for reference layer partitions This process is only invoked when no_inter_layer_pred_flag is equal to 0. Rec. ITU-T H.264 (01/2012) Inputs to this process are: a luma location xP, yP) relative to the upper-left luma sample of the current macroblock, a variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, 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, a (RefLayerPicSizeInMbs)x4 array refLayerSubMbType specifying the sub-macroblock types for the macroblocks of the reference layer representation. Outputs of this process are: the macroblock address mbAddrRefLayer specifying the reference layer macroblock, the macroblock partition index mbPartIdxRefLayer specifying the reference layer macroblock partition inside the reference layer macroblock mbAddrRefLayer, the sub-macroblock partition index subMbPartIdxRefLayer specifying the reference layer sub-macroblock partition inside the macroblock partition mbPartIdxRefLayer of the reference layer macroblock mbAddrRefLayer. The derivation process for reference layer macroblocks as specified in clause G.6.1 is invoked with the luma location (xP, yP), fieldMbFlag, refLayerFieldMbFlag, and refLayerMbType as the input and the outputs are assigned to mbAddrRefLayer and (xB, yB ). The SVC derivation process for macroblock and sub-macroblock partition indices as specified in clause G.6.4 is invoked with currDQId set equal to ref_layer_dq_id, the luma locatio