Searched refs:h_r (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/samples/gpu/ |
D | opticalflow_nvidia_api.cpp | 247 static IplImage *CreateImage (NCVMatrixAlloc<Ncv32f> &h_r, NCVMatrixAlloc<Ncv32f> &h_g, NCVMatrixAl… in CreateImage() argument 249 CvSize imageSize = cvSize (h_r.width (), h_r.height ()); in CreateImage() 260 int pos = i * h_r.stride () + j; in CreateImage() 263 row[offset + 2] = static_cast<unsigned char> (h_r.ptr ()[pos] * 255.0f); in CreateImage() 451 SAFE_MAT_DECL (h_r, g_pHostMemAllocator, width, height); in main() 501 ncvAssertReturnNcvStat (CopyData<RgbToR> (firstFrame, h_r)); in main() 505 ncvAssertReturnNcvStat (h_r.copySolid ( d_r, 0 )); in main() 509 ncvAssertReturnNcvStat (CopyData<RgbToR> (lastFrame, h_r)); in main() 513 ncvAssertReturnNcvStat (h_r.copySolid ( d_rt, 0 )); in main() 593 ncvAssertReturnNcvStat (d_rNew.copySolid (h_r, 0)); in main() [all …]
|