};\r
\r
template<class T>\r
-NCVStatus CopyData(IplImage *image, Ptr<NCVMatrixAlloc<Ncv32f>> &dst)\r
+NCVStatus CopyData(IplImage *image, Ptr<NCVMatrixAlloc<Ncv32f> >& dst)\r
{\r
- dst = Ptr<NCVMatrixAlloc<Ncv32f>> (new NCVMatrixAlloc<Ncv32f> (*g_pHostMemAllocator, image->width, image->height));\r
+ dst = Ptr<NCVMatrixAlloc<Ncv32f> > (new NCVMatrixAlloc<Ncv32f> (*g_pHostMemAllocator, image->width, image->height));\r
ncvAssertReturn (dst->isMemAllocated (), NCV_ALLOCATOR_BAD_ALLOC);\r
\r
unsigned char *row = reinterpret_cast<unsigned char*> (image->imageData);\r
const char *frame1Name, \r
int &width, \r
int &height, \r
- Ptr<NCVMatrixAlloc<Ncv32f>> &src, \r
- Ptr<NCVMatrixAlloc<Ncv32f>> &dst, \r
+ Ptr<NCVMatrixAlloc<Ncv32f> > &src,\r
+ Ptr<NCVMatrixAlloc<Ncv32f> > &dst,\r
IplImage *&firstFrame, \r
IplImage *&lastFrame)\r
{\r
\r
int width, height;\r
\r
- Ptr<NCVMatrixAlloc<Ncv32f>> src_host;\r
- Ptr<NCVMatrixAlloc<Ncv32f>> dst_host;\r
+ Ptr<NCVMatrixAlloc<Ncv32f> > src_host;\r
+ Ptr<NCVMatrixAlloc<Ncv32f> > dst_host;\r
\r
IplImage *firstFrame, *lastFrame;\r
if (frame0Name != 0 && frame1Name != 0)\r
ncvAssertReturnNcvStat (LoadImages ("frame10.bmp", "frame11.bmp", width, height, src_host, dst_host, firstFrame, lastFrame));\r
}\r
\r
- Ptr<NCVMatrixAlloc<Ncv32f>> src (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ()));\r
+ Ptr<NCVMatrixAlloc<Ncv32f> > src (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ()));\r
ncvAssertReturn(src->isMemAllocated(), -1);\r
\r
- Ptr<NCVMatrixAlloc<Ncv32f>> dst (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ()));\r
+ Ptr<NCVMatrixAlloc<Ncv32f> > dst (new NCVMatrixAlloc<Ncv32f> (*g_pGPUMemAllocator, src_host->width (), src_host->height ()));\r
ncvAssertReturn (dst->isMemAllocated (), -1);\r
\r
ncvAssertReturnNcvStat (src_host->copySolid ( *src, 0 ));\r