mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 18:43:05 +08:00
Merge pull request #24046 from VadimLevin:dev/vlevin/add-cuda-gpu-mat-to-big-types
feat: add cuda_GpuMat to big types
This commit is contained in:
commit
a25e809da1
@ -511,7 +511,10 @@ class ArgInfo(object):
|
|||||||
return self.enclosing_arg.name + '.' + self.name
|
return self.enclosing_arg.name + '.' + self.name
|
||||||
|
|
||||||
def isbig(self):
|
def isbig(self):
|
||||||
return self.tp in ["Mat", "vector_Mat", "cuda::GpuMat", "GpuMat", "vector_GpuMat", "UMat", "vector_UMat"] # or self.tp.startswith("vector")
|
return self.tp in ["Mat", "vector_Mat",
|
||||||
|
"cuda::GpuMat", "cuda_GpuMat", "GpuMat",
|
||||||
|
"vector_GpuMat", "vector_cuda_GpuMat",
|
||||||
|
"UMat", "vector_UMat"] # or self.tp.startswith("vector")
|
||||||
|
|
||||||
def crepr(self):
|
def crepr(self):
|
||||||
return "ArgInfo(\"%s\", %d)" % (self.name, self.outputarg)
|
return "ArgInfo(\"%s\", %d)" % (self.name, self.outputarg)
|
||||||
|
Loading…
Reference in New Issue
Block a user