Searched defs:ptr_v (Results 1 - 2 of 2) sorted by relevance
/external/opencv3/samples/tapi/ |
H A D | tvl1_optical_flow.cpp | 51 const float* ptr_v = v.ptr<float>(i); local 55 float d = max(fabsf(ptr_u[j]), fabsf(ptr_v[j])); 67 const float* ptr_v = v.ptr<float>(i); local 75 row[j][1] = static_cast<unsigned char> (mapValue (-ptr_v[j], -maxDisplacement, maxDisplacement, 0.0f, 255.0f));
|
/external/opencv3/samples/gpu/ |
H A D | opticalflow_nvidia_api.cpp | 201 float *ptr_v = host_v.ptr (); local 209 float d = std::max ( fabsf(*ptr_u), fabsf(*ptr_v) ); 212 ++ptr_v; 215 ptr_v += v.stride () - v.width (); 225 ptr_v = host_v.ptr(); 231 (row + j * flowField->nChannels)[1] = static_cast<unsigned char> (MapValue (-(*ptr_v), -maxDisplacement, maxDisplacement, 0.0f, 255.0f)); 235 ++ptr_v; 239 ptr_v += v.stride () - v.width ();
|
Completed in 113 milliseconds