Lines Matching full:umat
45 const SmartPtr<VideoBuffer> &buffer, const Rect &crop_rect, cv::UMat &img)
51 cv::UMat umat;
52 cv::ocl::convertFromBuffer (cl_mem_id, info.strides[0], info.height, info.width, CV_8U, umat);
53 if (umat.empty ()) {
54 XCAM_LOG_ERROR ("FeatureMatch(idx:%d): convert bo buffer to UMat failed", _fm_idx);
58 img = umat (cv::Rect(crop_rect.pos_x, crop_rect.pos_y, crop_rect.width, crop_rect.height));
129 cv::UMat umat;
134 umat.create (size, image0.type ());
135 debug_img = cv::_InputOutputArray (umat);
137 image0.copyTo (umat (cv::Rect(0, 0, img0_size.width, img0_size.height)));
138 image1.copyTo (umat (cv::Rect(img0_size.width, 0, img1_size.width, img1_size.height)));
139 umat.copyTo (debug_img);
224 cv::UMat left_umat, right_umat;