// Each work-item computes a OUT_BLOCK_WIDTH * OUT_BLOCK_HEIGHT region of one output map.
// Each work-group (which will be mapped to 1 SIMD16/SIMD8 EU thread) will compute 16/8 different feature maps, but each feature map is for the same region of the input image.
CV_Error(CV_StsError,cv::format("Failed to initialize:",openni::OpenNI::getExtendedError()));
return;
}
//FIX for libfreenect2
//which stops the whole device when stopping only one stream
// Open file
status=device.open(filename);
if(status!=openni::STATUS_OK)
{
CV_Error(CV_StsError,cv::format("CvCapture_OpenNI2::CvCapture_OpenNI2 : Failed to open input file (%s): %s\n",filename,openni::OpenNI::getExtendedError()));