@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class DimsHW extends Dims2
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DimsHW()
\brief Construct an empty DimsHW object.
|
DimsHW(int height,
int width)
\brief Construct a DimsHW given height and width.
|
DimsHW(long size)
Native array allocator.
|
DimsHW(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DimsHW |
getPointer(long i) |
IntPointer |
h()
\brief Get the height.
|
DimsHW |
position(long position) |
IntPointer |
w()
\brief Get the width.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DimsHW(Pointer p)
Pointer(Pointer).public DimsHW(long size)
Pointer.position(long).public DimsHW()
public DimsHW(int height,
int width)
height - the height of the datawidth - the width of the datapublic DimsHW getPointer(long i)
getPointer in class Dims2@ByRef public IntPointer h()
@ByRef public IntPointer w()
Copyright © 2024. All rights reserved.