Package org.bytedeco.cuda.nppicom
Class NppiJpegDecodeJobMemory
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.nppicom.NppiJpegDecodeJobMemory
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=nppicom.class) public class NppiJpegDecodeJobMemory extends Pointer
Memory buffers used by one decode job.- See Also:
nppiJpegDecodeJobMemorySize,NOTE THAT ALL OF THESE FUNCTIONS WILL BE DEPRECATED IN THE NEXT RELEASE OF NPP, USE NVJPEG INSTEAD.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description NppiJpegDecodeJobMemory()Default native constructor.NppiJpegDecodeJobMemory(long size)Native array allocator.NppiJpegDecodeJobMemory(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointerPointerapCpuBuffer()PointerapCpuBuffer(int i)Pointers to additional host buffers used by job.NppiJpegDecodeJobMemoryapCpuBuffer(int i, Pointer setter)PointerPointerapGpuBuffer()PointerapGpuBuffer(int i)Pointers to additional device buffers used by job.NppiJpegDecodeJobMemoryapGpuBuffer(int i, Pointer setter)NppiJpegDecodeJobMemorygetPointer(long i)BytePointerpCpuScan()Pointer to host memory containing compressed scan data.NppiJpegDecodeJobMemorypCpuScan(BytePointer setter)BytePointerpGpuScan()Pointer to device memory used for compressed scan data.NppiJpegDecodeJobMemorypGpuScan(BytePointer setter)NppiJpegDecodeJobMemoryposition(long position)-
Methods inherited from class org.bytedeco.javacpp.Pointer
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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
NppiJpegDecodeJobMemory
public NppiJpegDecodeJobMemory()
Default native constructor.
-
NppiJpegDecodeJobMemory
public NppiJpegDecodeJobMemory(long size)
Native array allocator. Access withPointer.position(long).
-
NppiJpegDecodeJobMemory
public NppiJpegDecodeJobMemory(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public NppiJpegDecodeJobMemory position(long position)
-
getPointer
public NppiJpegDecodeJobMemory getPointer(long i)
- Overrides:
getPointerin classPointer
-
pCpuScan
@Cast("const Npp8u*") public BytePointer pCpuScan()
Pointer to host memory containing compressed scan data. Should be allocated with additional \ref nppiJpegDecodeGetScanDeadzoneSize bytes of usable memory after the end of compressed scan data. Should be filled by caller.
-
pCpuScan
public NppiJpegDecodeJobMemory pCpuScan(BytePointer setter)
-
pGpuScan
@Cast("Npp8u*") public BytePointer pGpuScan()
Pointer to device memory used for compressed scan data. Should be allocated with additional \ref nppiJpegDecodeGetScanDeadzoneSize bytes of usable memory after the end of compressed scan data. Should be filled by caller. This buffer may be overwritten by the decoder. Could be NULL for \ref NPPI_JPEG_DECODE_CPU.
-
pGpuScan
public NppiJpegDecodeJobMemory pGpuScan(BytePointer setter)
-
apCpuBuffer
public Pointer apCpuBuffer(int i)
Pointers to additional host buffers used by job. Call \ref nppiJpegDecodeJobMemorySize to query sizes of these buffers.apCpuBuffer[i]should point to at leastaSize[i]bytes. IfaSize[i] == 0, the pointer should be set to NULL.
-
apCpuBuffer
public NppiJpegDecodeJobMemory apCpuBuffer(int i, Pointer setter)
-
apCpuBuffer
@MemberGetter @Cast("void**") public PointerPointer apCpuBuffer()
-
apGpuBuffer
public Pointer apGpuBuffer(int i)
Pointers to additional device buffers used by job. Minimal sizes of buffers should be the same as the sizes of \ref apCpuBuffer.
-
apGpuBuffer
public NppiJpegDecodeJobMemory apGpuBuffer(int i, Pointer setter)
-
apGpuBuffer
@MemberGetter @Cast("void**") public PointerPointer apGpuBuffer()
-
-