Enum NppiJpegDecodeJobKind
Type of job to execute. Usually you will need just SIMPLE for each scan, one MEMZERO at the beginning and FINALIZE at the end. See the example in \ref nppiJpegDecodeJob SIMPLE can be split into multiple jobs: PRE, CPU & GPU. Please note that if you don't use SIMPLE, you man need to add some memcopies and synchronizes as described in \ref nppiJpegDecodeJob.
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public enum NppiJpegDecodeJobKind
Fields
Name | Description |
---|---|
NPPI_JPEG_DECODE_CPU | Part of decoding run on CPU |
NPPI_JPEG_DECODE_FINALIZE | Change memory representation of DCT coefficients to final |
NPPI_JPEG_DECODE_GPU | Part of decoding run on GPU |
NPPI_JPEG_DECODE_MEMZERO | Zeroing memory before decoding |
NPPI_JPEG_DECODE_PRE | Preprocessing scan on GPU |
NPPI_JPEG_DECODE_SIMPLE | Decode whole scan using a single job |