src/main/java/org/jcodec/common/dct/SparseIDCT.java
public static final void coeff(int[] block, int ind, int level) {
        for (int i = 0; i < 64; i += 4) {
            block[i] += COEFF[ind][i] * level;
            block[i + 1] += COEFF[ind][i + 1] * level;
            block[i + 2] += COEFF[ind][i + 2] * level;
            block[i + 3] += COEFF[ind][i + 3] * level;
        }
    }
public static final void coeff(int[] block, int ind, int level) {
        for (int i = 0; i < 64; i += 4) {
            block[i] += COEFF[ind][i] * level;
            block[i + 1] += COEFF[ind][i + 1] * level;
            block[i + 2] += COEFF[ind][i + 2] * level;
            block[i + 3] += COEFF[ind][i + 3] * level;
        }
    }
public static final void coeff ( int [ ] block , int ind , int level ) { for ( int i = 0 ; i < 64 ; i += 4 ) { block [ i ] += COEFF [ ind ] [ i ] * level ; block [ i + 1 ] += COEFF [ ind ] [ i + 1 ] * level ; block [ i + 2 ] += COEFF [ ind ] [ i + 2 ] * level ; block [ i + 3 ] += COEFF [ ind ] [ i + 3 ] * level ; } }
Recalculates image based on new DCT coefficient

@param block
@param ind
@param level
Recalculates image based on new DCT coefficient