in the case of 2D DCT this initialization will be repeated for each row and then for each column. Can we move the initialization out of the loop?