提交 16712bad 编写于 作者: A Andrey Kamaev

minor bugfix

上级 0293912e
......@@ -525,9 +525,9 @@ bool CvCapture_Android::convertYUV420i2BGR888(int width, int height, const unsig
unsigned char* uv = y1 + width * height;
if (inRGBorder)
cv::parallel_for(cv::BlockedRange(0, height, 2), YUV420i2BGR888Invoker<0>(resmat, width, y1, uv));
else
cv::parallel_for(cv::BlockedRange(0, height, 2), YUV420i2BGR888Invoker<2>(resmat, width, y1, uv));
else
cv::parallel_for(cv::BlockedRange(0, height, 2), YUV420i2BGR888Invoker<0>(resmat, width, y1, uv));
return !resmat.empty();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册