Hello,
Based on Intel's example, I used the following code:
Ipp32f src[8*4] = {1, 2, 3, 4, 8, 8, 8, 8,
1, 2, 3, 4, 8, 8, 8, 8,
1, 2, 3, 4, 8, 8, 8, 8,
1, 2, 3, 4, 8, 8, 8, 8};
Ipp32f dst[4*4];
IppiSize srcRoi = { 4, 4 };
ippiTranspose_32f_C1R ( src, 8, dst, 4, srcRoi );
The output is:
{ 1, 2, 3, 4,
8, 8, 2, 0xCCCCCCCC,
0xCCCCCCC, 0xCCCCCC, 0xCCCCCCCC, 0xCCCCCCCC,
0xCCCCCCC, 0xCCCCCC, 0xCCCCCCCC, 0xCCCCCCCC}
Can you please explain what is wrong in my code ?
The original code is using Ipp8u.
Thank you,
Zvika