id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 632,derivation of significant_coeff_group_flag ctxIdxInc does not handle non-square CG,Smarter,bbross,"The value of ctxCG in Section 9.3.3.1.3 is incorrect for 8x2 and 2x8 coefficient groups, to be correct it should be equivalent to: {{{ if (log2TrafoWidth == 3 && log2TrafoHeight == 3 && scanIdx != 0) { if (scanIdx == 1) { if (yCG < 3) ctxCG += significant_coeff_group_flag[xCG][yCG + 1]; } else { //scanIdx == 2 if (xCG < 3) ctxCG += significant_coeff_group_flag[xCG + 1][yCG]; } } else { if (xCG < (1 << (log2TrafoWidth - 2)) - 1) ctxCG += significant_coeff_group_flag[xCG + 1][yCG]; if (yCG < (1 << (log2TrafoHeight - 2)) - 1) ctxCG += significant_coeff_group_flag[xCG][yCG + 1]; } }}}",defect,closed,minor,D8,Text,D7 (I1003) d9,fixed,,bbross wjhan jct-vc@…