次のコードを使用して、生の (画像ヘッダーなしの) BGR 画像を 1 ピクセルあたり 8 ビットでミラーリングしようとしています。
void mirrorBGR(byte* src, byte* dst, UINT width, UINT height, UINT pitch_s, UINT pitch_d)
{
IppiSize size;
size.width = width;
size.height = height;
IppStatus status = ippiMirror_8u_C3R(src, pitch_s, dst ,pitch_d, size, ippAxsVertical);
if (status != ippStsNoErr)
{
printf("Mirror RGB24 failed: %d",status);
}
}
画像サイズは640×360です。ピッチ_s = ピッチ_d = 幅 = 640.何が問題でしょうか?