【发布时间】:2014-07-27 12:31:52
【问题描述】:
我正在尝试使用以下代码镜像原始(无图像标题)BGR 图像,每像素 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);
}
}
图片尺寸为 640x360。 pitch_s = pitch_d = 宽度 = 640。 可能是什么问题?
【问题讨论】:
-
“可能是什么问题?”你没有说那个问题是什么。
-
@Jongware,你是对的,当然。没有检查确切的措辞就输入得太快了...感谢您的通知。