private void processIndependentCoupling(
     boolean channelPair, int elementID, float[] data1, float[] data2) {
   int index, c, chSelect;
   CCE cce;
   for (int i = 0; i < cces.length; i++) {
     cce = cces[i];
     index = 0;
     if (cce != null && cce.getCouplingPoint() == CCE.AFTER_IMDCT) {
       for (c = 0; c <= cce.getCoupledCount(); c++) {
         chSelect = cce.getCHSelect(c);
         if (cce.isChannelPair(c) == channelPair && cce.getIDSelect(c) == elementID) {
           if (chSelect != 1) {
             cce.applyIndependentCoupling(index, data1);
             if (chSelect != 0) index++;
           }
           if (chSelect != 2) {
             cce.applyIndependentCoupling(index, data2);
             index++;
           }
         } else index += 1 + ((chSelect == 3) ? 1 : 0);
       }
     }
   }
 }