 residual_prediction_flag. The ctxIdx to be used with a specific binIdx is the sum of ctxIdxOffset and ctxIdxInc, which is found in Table G-15. When more than one value is listed in Table G-15 or 9-39 for a binIdx, the assignment process for ctxIdxInc for that binIdx is further specified in the clauses given in parenthesis of the corresponding table entry. All entries in Table G-15 labelled with "na" correspond to values of binIdx that do not occur for the corresponding ctxIdxOffset. Table G-15 - Assignment of ctxIdxInc to binIdx for the ctxIdxOffset values related to the syntax elements base_mode_flag and residual_prediction_flag binIdx ctxIdxOffset 0,1,2 (clause G.9.3.3.2.1) (clause G.9.3.3.2.2) G.9.3.3.2 Assignment process of ctxIdxInc using neighbouring syntax elements Clause G.9.3.3.2.1 specifies the derivation process of ctxIdxInc for the syntax element base_mode_flag. Rec. ITU-T H.264 (01/2012) Clause G.9.3.3.2.2 specifies the derivation process of ctxIdxInc for the syntax element residual_prediction_flag. G.9.3.3.2.1 Derivation process of ctxIdxInc for the syntax element base_mode_flag Output of this process is ctxIdxInc. The derivation process for neighbouring macroblocks specified in clause 6.4.11.1 is invoked and the output is assigned to mbAddrA and mbAddrB. Let the variable condTermFlagN (with N being either A or B) be derived as follows: If mbAddrN is available and base_mode_flag for the macroblock mbAddrN is equal to 1, condTermFlagN is set equal to 0. Otherwise (mbAddrN is not available or base_mode_flag for the macroblock mbAddrN is equal to 0), condTermFlagN is set equal to 1. The variable ctxIdxInc is derived by ctxIdxInc = condTermFlagA + condTermFlagB (G-364) G.9.3.3.2.2 Derivation process of ctxIdxInc for the syntax element residual_prediction_flag Output of this process is ctxIdxInc. Depending on base_mode_flag, the following applies: If base_mode_flag is equal to 1, ctxIdxInc is set equal to 0. Otherwise (base_mode_flag is equal to 0), ctxIdxInc is set equal to 1. Profiles and levels The s