Class 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.
    • Constructor Detail

      • NppiJpegDecodeJobMemory

        public NppiJpegDecodeJobMemory()
        Default native constructor.
      • NppiJpegDecodeJobMemory

        public NppiJpegDecodeJobMemory​(long size)
        Native array allocator. Access with Pointer.position(long).
      • NppiJpegDecodeJobMemory

        public NppiJpegDecodeJobMemory​(Pointer p)
        Pointer cast constructor. Invokes Pointer(Pointer).
    • Method Detail

      • 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.
      • 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.
      • 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 least aSize[i] bytes. If aSize[i] == 0, the pointer should be set to NULL.
      • 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.