Partitioning exploration for automated mapping of discrete cosine transforms onto distributed hardware architectures