block address ( sliceIdc mbAddr + MbaffFrameFlag ) ) Let firstMbInSlice and sliceType be the syntax elements first_mb_in_slice and slice_type of the slice currSlice. The variable firstMbAddrInSlice is set equal to (firstMbInSlice * (1 + MbaffFrameFlag )) The reference picture lists refPicList0 and refPicList1 are marked as not available. When (sliceType % 5) is less than 2, the following applies: If mbAddr is greater than firstMbAddrInSlice, the reference picture list refPicList0 is set equal to the reference picture list refPicList0 that was derived for the macroblock address mbAddr equal to firstMbAddrInSlice inside this clause and, when (sliceType % 5) is equal to 1, the reference picture list refPicList1 is set equal to the reference picture list refPicList1 that was derived for the macroblock address mbAddr equal to firstMbAddrInSlice inside this clause. Otherwise (mbAddr is equal to firstMbAddrInSlice), the SVC decoding process for reference picture lists construction as specified in clause G.8.2.3 is invoked with currDependencyId set equal to dependency_id useRefBasePicFlag set equal to use_ref_base_pic_flag, and the slice currSlice as the inputs and the outputs are the modified reference picture list refPicList0 and, when (sliceType % 5) is equal to 1, the modified reference picture list refPicList1. NOTE 2 - The reference picture lists refPicList0 and refPicList1 are only constructed for the slices of the layer representation with dependency_id equal to DependencyIdMax and quality id equal to 0. For slices with dependency_id equal to DependencyIdMax and quality_id greater than 0, the reference picture lists are inferred. The target macroblock decoding process as specified in clause G.8.1.5.6 is invoked with currDQId, mbAddr, refLayerVars (when present as input to this clause), tempVars, refPicList0 (when available), and refPicList1 (when available) as the inputs and the output is a modified version of temp Vars. NOTE 3 - Although the target layer representation decoding process is invoked twice for pictu