|
|
|
@ -158,7 +158,7 @@ public: |
|
|
|
|
return u; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const |
|
|
|
|
UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const CV_OVERRIDE |
|
|
|
|
{ |
|
|
|
|
if( data != 0 ) |
|
|
|
|
{ |
|
|
|
@ -187,12 +187,12 @@ public: |
|
|
|
|
return allocate(o, dims0, sizes, type, step); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const |
|
|
|
|
bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const CV_OVERRIDE |
|
|
|
|
{ |
|
|
|
|
return stdAllocator->allocate(u, accessFlags, usageFlags); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void deallocate(UMatData* u) const |
|
|
|
|
void deallocate(UMatData* u) const CV_OVERRIDE |
|
|
|
|
{ |
|
|
|
|
if(!u) |
|
|
|
|
return; |
|
|
|
|