public int decodeBinBypass ( ) { code <<= 1 ; -- nBitsPending ; if ( nBitsPending <= 0 ) readOneByte ( ) ; int tmp = code - ( range << 8 ) ; if ( tmp < 0 ) { // System.out.println("CABAC BIT [-1]: 0"); return 0 ; } else { // System.out.println("CABAC BIT [-1]: 1"); code = tmp ; return 1 ; } }
Special decoding process for symbols with uniform distribution