@Properties(inherit=nppig.class) public class NppiResizeBatchCXR extends Pointer
NPPI_INTER_NN
NPPI_INTER_LINEAR
NPPI_INTER_CUBIC
NPPI_INTER_SUPER
Below is the diagram of batch resize functions for variable ROIs. Figure shows the flexibility that the API can handle.
The ROIs for source and destination images can be any rectangular width and height that reflects the needed resize factors, inside or beyond the image boundary.
\image html resize.png
\section resize_error_codes Error Codes
The resize primitives return the following error codes:
- ::NPP_RESIZE_NO_OPERATION_ERROR if either destination ROI width or
height is less than 1 pixel.
- ::NPP_INTERPOLATION_ERROR if eInterpolation has an illegal value.
- ::NPP_SIZE_ERROR if source size width or height is less than 2 pixels.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
NppiResizeBatchCXR()
Default native constructor.
|
NppiResizeBatchCXR(long size)
Native array allocator.
|
NppiResizeBatchCXR(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NppiResizeBatchCXR |
getPointer(long i) |
int |
nDstStep() |
NppiResizeBatchCXR |
nDstStep(int setter) |
int |
nSrcStep() |
NppiResizeBatchCXR |
nSrcStep(int setter) |
Pointer |
pDst() |
NppiResizeBatchCXR |
pDst(Pointer setter) |
NppiResizeBatchCXR |
position(long position) |
Pointer |
pSrc() |
NppiResizeBatchCXR |
pSrc(Pointer setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic NppiResizeBatchCXR()
public NppiResizeBatchCXR(long size)
Pointer.position(long).public NppiResizeBatchCXR(Pointer p)
Pointer.Pointer(Pointer).public NppiResizeBatchCXR position(long position)
public NppiResizeBatchCXR getPointer(long i)
getPointer in class Pointerpublic NppiResizeBatchCXR pSrc(Pointer setter)
public int nSrcStep()
public NppiResizeBatchCXR nSrcStep(int setter)
public Pointer pDst()
public NppiResizeBatchCXR pDst(Pointer setter)
public int nDstStep()
public NppiResizeBatchCXR nDstStep(int setter)
Copyright © 2020. All rights reserved.