[g3dvl] no need to keep the idct matrix multiple times