public static final void finish ( int block [ ] ) { for ( int i = 0 ; i < 64 ; i += 4 ) { block [ i ] = div ( block [ i ] ) ; block [ i + 1 ] = div ( block [ i + 1 ] ) ; block [ i + 2 ] = div ( block [ i + 2 ] ) ; block [ i + 3 ] = div ( block [ i + 3 ] ) ; } }
Finalizes DCT calculation