abonander/img_hash

Swapped width/height during transpose of DCT

Opened this issue · 0 comments

kobaj commented

transpose(scratch, packed_2d, width, height);

Shouldn't the width, height here be swapped? Since on line 59 it was transposed already via width * height. Now it should be transposed height * width.

eg

transpose(scratch, packed_2d, height, width);