as the inputs and the outputs are a modified version of picSamples and, when ChromaArrayType is not equal to 0, modified versions of picSamplescb, and picSamplescr- G.8.4.2.1 SVC derivation process for prediction weights Inputs to this process are: variable fieldMbFlag specifying whether the current macroblock is a field or a frame macroblock, the reference indices refIdxL0 and refldxL1 for the current macroblock partition, the prediction list utilization flags predFlagL0 and predFlagL1 for the current macroblock partition, the reference picture lists refPicList0 and refPicList1 (when available). Outputs of this process are: variables for weighted prediction of luma samples logWDL, WOL, W1L, OOL, OiL, when ChromaArrayType is not equal to 0 (monochrome), variables for weighted prediction of chroma samples ogWDc, Woc, W1C, OOC, 01C with C being replaced by Cb and Cr. Depending on base_pred_weight_table_flag, the following applies: If ase_pred_weight_table_flag is equal to 0, the derivation process for prediction weights as specified in clause 8.4.3 is invoked with refIdxL0, refIdxL1, predFlagL0, and predFlagL1 as inputs and the outputs are assigned to logWDL, WOL, W1L, OOL, OiL, and when ChromaArrayType is not equal to 0, logWDc, Woc, W1C, Ooc, O1C with C being replaced by Cb and Cr. For this invocation of the process in clause 8.4.3, the modifications specified in items a) and b) of clause G.8.4.2 apply. Otherwise (base_pred_weight_table_flag is equal to 1), for X being replaced by 0 and 1, the following ordered steps are specified: Rec. ITU-T H.264 (01/2012) Let dqIdList be the list of DQId values that is derived by invoking the derivation process for the set of layer representations required for decoding as specified in clause G.8.1.1. Let baseDQId be the largest value dqId, inside the list dqIdList, that has the following properties: a) dqId is less than the current value of DQId; b) the slices of the layer representation with DQId equal to dqId have base_pred_weight_table_flag equal to 0. 2. Let baseSlice be a