new implementation of gpu debayer
* without border extrapolation * with aligned write * process 4 pixels per thread in 8u case
This commit is contained in:
@@ -1148,6 +1148,9 @@ GPU_PERF_TEST(CvtColor, cv::gpu::DeviceInfo, cv::Size, MatDepth, CvtColorInfo)
|
||||
cv::gpu::GpuMat src(src_host);
|
||||
cv::gpu::GpuMat dst;
|
||||
|
||||
if (info.code >= cv::COLOR_BayerBG2BGR && info.code <= cv::COLOR_BayerGR2BGR)
|
||||
info.dcn = 4;
|
||||
|
||||
cv::gpu::cvtColor(src, dst, info.code, info.dcn);
|
||||
|
||||
TEST_CYCLE()
|
||||
|
Reference in New Issue
Block a user