Lines Matching refs:Ncv32u
48 NCVTestSourceProvider<Ncv32u> &src32u_,
49 Ncv32u width_, Ncv32u height_, Ncv32u numRects_, T color_)
107 NCVVectorReuse<Ncv32u> h_rects_as32u(h_rects.getSegment());
110 for (Ncv32u i=0; i<this->numRects; i++)
112 h_rects.ptr()[i].x = (Ncv32u)(((1.0 * h_rects.ptr()[i].x) / RAND_MAX) * (this->width-2));
113 h_rects.ptr()[i].y = (Ncv32u)(((1.0 * h_rects.ptr()[i].y) / RAND_MAX) * (this->height-2));
114 h_rects.ptr()[i].width = (Ncv32u)(((1.0 * h_rects.ptr()[i].width) / RAND_MAX) * (this->width+10 - h_rects.ptr()[i].x));
115 h_rects.ptr()[i].height = (Ncv32u)(((1.0 * h_rects.ptr()[i].height) / RAND_MAX) * (this->height+10 - h_rects.ptr()[i].y));
121 if (sizeof(T) == sizeof(Ncv32u))
123 ncvStat = ncvDrawRects_32u_device((Ncv32u *)d_img.ptr(), d_img.stride(), this->width, this->height,
143 if (sizeof(T) == sizeof(Ncv32u))
145 ncvStat = ncvDrawRects_32u_host((Ncv32u *)h_img.ptr(), h_img.stride(), this->width, this->height,
165 for (Ncv32u i=0; bLoopVirgin && i < h_img.height(); i++)
167 for (Ncv32u j=0; bLoopVirgin && j < h_img.width(); j++)
194 template class TestDrawRects<Ncv32u>;