@Namespace(value="cv") @Properties(inherit=opencv_core.class) public class MatAllocator extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MatAllocator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
UMatData |
_allocate(int dims,
int[] sizes,
int type,
Pointer data,
SizeTPointer step,
int flags,
int usageFlags) |
UMatData |
_allocate(int dims,
IntBuffer sizes,
int type,
Pointer data,
SizeTPointer step,
int flags,
int usageFlags) |
UMatData |
_allocate(int dims,
IntPointer sizes,
int type,
Pointer data,
SizeTPointer step,
int flags,
int usageFlags) |
boolean |
_allocate(UMatData data,
int accessflags,
int usageFlags) |
void |
_deallocate(UMatData data) |
void |
copy(UMatData srcdata,
UMatData dstdata,
int dims,
SizeTPointer sz,
SizeTPointer srcofs,
SizeTPointer srcstep,
SizeTPointer dstofs,
SizeTPointer dststep,
boolean sync) |
void |
download(UMatData data,
Pointer dst,
int dims,
SizeTPointer sz,
SizeTPointer srcofs,
SizeTPointer srcstep,
SizeTPointer dststep) |
BufferPoolController |
getBufferPoolController() |
BufferPoolController |
getBufferPoolController(BytePointer id) |
BufferPoolController |
getBufferPoolController(String id) |
void |
map(UMatData data,
int accessflags) |
void |
unmap(UMatData data) |
void |
upload(UMatData data,
Pointer src,
int dims,
SizeTPointer sz,
SizeTPointer dstofs,
SizeTPointer dststep,
SizeTPointer srcstep) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public MatAllocator(Pointer p)
Pointer(Pointer)
.@Name(value="allocate") public UMatData _allocate(int dims, @Const IntPointer sizes, int type, Pointer data, @Cast(value="size_t*") SizeTPointer step, @Cast(value="cv::AccessFlag") int flags, @Cast(value="cv::UMatUsageFlags") int usageFlags)
@Name(value="allocate") public UMatData _allocate(int dims, @Const IntBuffer sizes, int type, Pointer data, @Cast(value="size_t*") SizeTPointer step, @Cast(value="cv::AccessFlag") int flags, @Cast(value="cv::UMatUsageFlags") int usageFlags)
@Name(value="allocate") public UMatData _allocate(int dims, @Const int[] sizes, int type, Pointer data, @Cast(value="size_t*") SizeTPointer step, @Cast(value="cv::AccessFlag") int flags, @Cast(value="cv::UMatUsageFlags") int usageFlags)
@Cast(value="bool") @Name(value="allocate") public boolean _allocate(UMatData data, @Cast(value="cv::AccessFlag") int accessflags, @Cast(value="cv::UMatUsageFlags") int usageFlags)
public void unmap(UMatData data)
public void download(UMatData data, Pointer dst, int dims, @Cast(value="const size_t*") SizeTPointer sz, @Cast(value="const size_t*") SizeTPointer srcofs, @Cast(value="const size_t*") SizeTPointer srcstep, @Cast(value="const size_t*") SizeTPointer dststep)
public void upload(UMatData data, @Const Pointer src, int dims, @Cast(value="const size_t*") SizeTPointer sz, @Cast(value="const size_t*") SizeTPointer dstofs, @Cast(value="const size_t*") SizeTPointer dststep, @Cast(value="const size_t*") SizeTPointer srcstep)
public void copy(UMatData srcdata, UMatData dstdata, int dims, @Cast(value="const size_t*") SizeTPointer sz, @Cast(value="const size_t*") SizeTPointer srcofs, @Cast(value="const size_t*") SizeTPointer srcstep, @Cast(value="const size_t*") SizeTPointer dstofs, @Cast(value="const size_t*") SizeTPointer dststep, @Cast(value="bool") boolean sync)
public BufferPoolController getBufferPoolController(@Cast(value="const char*") BytePointer id)
public BufferPoolController getBufferPoolController()
public BufferPoolController getBufferPoolController(String id)
Copyright © 2024. All rights reserved.