public class nvjpeg extends nvjpeg
Modifier and Type | Field and Description |
---|---|
static int |
NVJPEG_BACKEND_DEFAULT
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_GPU_HYBRID
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_GPU_HYBRID_DEVICE
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_HARDWARE
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_HARDWARE_DEVICE
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_HYBRID
enum nvjpegBackend_t
|
static int |
NVJPEG_BACKEND_LOSSLESS_JPEG
enum nvjpegBackend_t
|
static int |
NVJPEG_CSS_410
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_410V
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_411
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_420
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_422
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_440
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_444
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_GRAY
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_CSS_UNKNOWN
enum nvjpegChromaSubsampling_t
|
static int |
NVJPEG_ENCODING_BASELINE_DCT
enum nvjpegJpegEncoding_t
|
static int |
NVJPEG_ENCODING_EXTENDED_SEQUENTIAL_DCT_HUFFMAN
enum nvjpegJpegEncoding_t
|
static int |
NVJPEG_ENCODING_LOSSLESS_HUFFMAN
enum nvjpegJpegEncoding_t
|
static int |
NVJPEG_ENCODING_PROGRESSIVE_DCT_HUFFMAN
enum nvjpegJpegEncoding_t
|
static int |
NVJPEG_ENCODING_UNKNOWN
enum nvjpegJpegEncoding_t
|
static int |
NVJPEG_FLAGS_BITSTREAM_STRICT |
static int |
NVJPEG_FLAGS_DEFAULT |
static int |
NVJPEG_FLAGS_ENABLE_MEMORY_POOLS |
static int |
NVJPEG_FLAGS_HW_DECODE_NO_PIPELINE |
static int |
NVJPEG_FLAGS_REDUCED_MEMORY_DECODE |
static int |
NVJPEG_FLAGS_REDUCED_MEMORY_DECODE_ZERO_COPY |
static int |
NVJPEG_FLAGS_UPSAMPLING_WITH_INTERPOLATION |
static int |
NVJPEG_INPUT_BGR
enum nvjpegInputFormat_t
|
static int |
NVJPEG_INPUT_BGRI
enum nvjpegInputFormat_t
|
static int |
NVJPEG_INPUT_RGB
enum nvjpegInputFormat_t
|
static int |
NVJPEG_INPUT_RGBI
enum nvjpegInputFormat_t
|
static int |
NVJPEG_MAX_COMPONENT |
static int |
NVJPEG_ORIENTATION_FLIP_HORIZONTAL
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_FLIP_VERTICAL
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_NORMAL
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_ROTATE_180
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_ROTATE_270
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_ROTATE_90
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_TRANSPOSE
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_TRANSVERSE
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_ORIENTATION_UNKNOWN
enum nvjpegExifOrientation_t
|
static int |
NVJPEG_OUTPUT_BGR
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_BGRI
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_FORMAT_MAX
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_RGB
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_RGBI
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_UNCHANGED
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_UNCHANGEDI_U16
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_Y
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_OUTPUT_YUV
enum nvjpegOutputFormat_t
|
static int |
NVJPEG_SCALE_1_BY_2
enum nvjpegScaleFactor_t
|
static int |
NVJPEG_SCALE_1_BY_4
enum nvjpegScaleFactor_t
|
static int |
NVJPEG_SCALE_1_BY_8
enum nvjpegScaleFactor_t
|
static int |
NVJPEG_SCALE_NONE
enum nvjpegScaleFactor_t
|
static int |
NVJPEG_STATUS_ALLOCATOR_FAILURE
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_ARCH_MISMATCH
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_BAD_JPEG
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_EXECUTION_FAILED
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_IMPLEMENTATION_NOT_SUPPORTED
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_INCOMPLETE_BITSTREAM
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_INTERNAL_ERROR
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_INVALID_PARAMETER
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_JPEG_NOT_SUPPORTED
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_NOT_INITIALIZED
enum nvjpegStatus_t
|
static int |
NVJPEG_STATUS_SUCCESS
enum nvjpegStatus_t
|
static int |
NVJPEG_VER_BUILD |
static int |
NVJPEG_VER_MAJOR |
static int |
NVJPEG_VER_MINOR |
static int |
NVJPEG_VER_PATCH |
Constructor and Description |
---|
nvjpeg() |
public static final int NVJPEG_MAX_COMPONENT
public static final int NVJPEG_VER_MAJOR
public static final int NVJPEG_VER_MINOR
public static final int NVJPEG_VER_PATCH
public static final int NVJPEG_VER_BUILD
public static final int NVJPEG_STATUS_SUCCESS
public static final int NVJPEG_STATUS_NOT_INITIALIZED
public static final int NVJPEG_STATUS_INVALID_PARAMETER
public static final int NVJPEG_STATUS_BAD_JPEG
public static final int NVJPEG_STATUS_JPEG_NOT_SUPPORTED
public static final int NVJPEG_STATUS_ALLOCATOR_FAILURE
public static final int NVJPEG_STATUS_EXECUTION_FAILED
public static final int NVJPEG_STATUS_ARCH_MISMATCH
public static final int NVJPEG_STATUS_INTERNAL_ERROR
public static final int NVJPEG_STATUS_IMPLEMENTATION_NOT_SUPPORTED
public static final int NVJPEG_STATUS_INCOMPLETE_BITSTREAM
public static final int NVJPEG_ORIENTATION_UNKNOWN
public static final int NVJPEG_ORIENTATION_NORMAL
public static final int NVJPEG_ORIENTATION_FLIP_HORIZONTAL
public static final int NVJPEG_ORIENTATION_ROTATE_180
public static final int NVJPEG_ORIENTATION_FLIP_VERTICAL
public static final int NVJPEG_ORIENTATION_TRANSPOSE
public static final int NVJPEG_ORIENTATION_ROTATE_90
public static final int NVJPEG_ORIENTATION_TRANSVERSE
public static final int NVJPEG_ORIENTATION_ROTATE_270
public static final int NVJPEG_CSS_444
public static final int NVJPEG_CSS_422
public static final int NVJPEG_CSS_420
public static final int NVJPEG_CSS_440
public static final int NVJPEG_CSS_411
public static final int NVJPEG_CSS_410
public static final int NVJPEG_CSS_GRAY
public static final int NVJPEG_CSS_410V
public static final int NVJPEG_CSS_UNKNOWN
public static final int NVJPEG_OUTPUT_UNCHANGED
public static final int NVJPEG_OUTPUT_YUV
public static final int NVJPEG_OUTPUT_Y
public static final int NVJPEG_OUTPUT_RGB
public static final int NVJPEG_OUTPUT_BGR
public static final int NVJPEG_OUTPUT_RGBI
public static final int NVJPEG_OUTPUT_BGRI
public static final int NVJPEG_OUTPUT_UNCHANGEDI_U16
public static final int NVJPEG_OUTPUT_FORMAT_MAX
public static final int NVJPEG_INPUT_RGB
public static final int NVJPEG_INPUT_BGR
public static final int NVJPEG_INPUT_RGBI
public static final int NVJPEG_INPUT_BGRI
public static final int NVJPEG_BACKEND_DEFAULT
public static final int NVJPEG_BACKEND_HYBRID
public static final int NVJPEG_BACKEND_GPU_HYBRID
public static final int NVJPEG_BACKEND_HARDWARE
public static final int NVJPEG_BACKEND_GPU_HYBRID_DEVICE
public static final int NVJPEG_BACKEND_HARDWARE_DEVICE
public static final int NVJPEG_BACKEND_LOSSLESS_JPEG
public static final int NVJPEG_ENCODING_UNKNOWN
public static final int NVJPEG_ENCODING_BASELINE_DCT
public static final int NVJPEG_ENCODING_EXTENDED_SEQUENTIAL_DCT_HUFFMAN
public static final int NVJPEG_ENCODING_PROGRESSIVE_DCT_HUFFMAN
public static final int NVJPEG_ENCODING_LOSSLESS_HUFFMAN
public static final int NVJPEG_SCALE_NONE
public static final int NVJPEG_SCALE_1_BY_2
public static final int NVJPEG_SCALE_1_BY_4
public static final int NVJPEG_SCALE_1_BY_8
public static final int NVJPEG_FLAGS_DEFAULT
public static final int NVJPEG_FLAGS_HW_DECODE_NO_PIPELINE
public static final int NVJPEG_FLAGS_ENABLE_MEMORY_POOLS
public static final int NVJPEG_FLAGS_BITSTREAM_STRICT
public static final int NVJPEG_FLAGS_REDUCED_MEMORY_DECODE
public static final int NVJPEG_FLAGS_REDUCED_MEMORY_DECODE_ZERO_COPY
public static final int NVJPEG_FLAGS_UPSAMPLING_WITH_INTERPOLATION
@Cast(value="nvjpegStatus_t") public static int nvjpegGetProperty(@Cast(value="libraryPropertyType") int type, IntPointer value)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetProperty(@Cast(value="libraryPropertyType") int type, IntBuffer value)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetProperty(@Cast(value="libraryPropertyType") int type, int[] value)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetCudartProperty(@Cast(value="libraryPropertyType") int type, IntPointer value)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetCudartProperty(@Cast(value="libraryPropertyType") int type, IntBuffer value)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetCudartProperty(@Cast(value="libraryPropertyType") int type, int[] value)
@Cast(value="nvjpegStatus_t") public static int nvjpegCreate(@Cast(value="nvjpegBackend_t") int backend, nvjpegDevAllocator_t dev_allocator, @ByPtrPtr nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegCreateSimple(@ByPtrPtr nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegCreateEx(@Cast(value="nvjpegBackend_t") int backend, nvjpegDevAllocator_t dev_allocator, nvjpegPinnedAllocator_t pinned_allocator, @Cast(value="unsigned int") int flags, @ByPtrPtr nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegCreateExV2(@Cast(value="nvjpegBackend_t") int backend, nvjpegDevAllocatorV2_t dev_allocator, nvjpegPinnedAllocatorV2_t pinned_allocator, @Cast(value="unsigned int") int flags, @ByPtrPtr nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegDestroy(nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegSetDeviceMemoryPadding(@Cast(value="size_t") long padding, nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetDeviceMemoryPadding(@Cast(value="size_t*") SizeTPointer padding, nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegSetPinnedMemoryPadding(@Cast(value="size_t") long padding, nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetPinnedMemoryPadding(@Cast(value="size_t*") SizeTPointer padding, nvjpegHandle handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetHardwareDecoderInfo(nvjpegHandle handle, @Cast(value="unsigned int*") IntPointer num_engines, @Cast(value="unsigned int*") IntPointer num_cores_per_engine)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetHardwareDecoderInfo(nvjpegHandle handle, @Cast(value="unsigned int*") IntBuffer num_engines, @Cast(value="unsigned int*") IntBuffer num_cores_per_engine)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetHardwareDecoderInfo(nvjpegHandle handle, @Cast(value="unsigned int*") int[] num_engines, @Cast(value="unsigned int*") int[] num_cores_per_engine)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStateCreate(nvjpegHandle handle, @ByPtrPtr nvjpegJpegState jpeg_handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStateDestroy(nvjpegJpegState jpeg_handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetImageInfo(nvjpegHandle handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="size_t") long length, IntPointer nComponents, @Cast(value="nvjpegChromaSubsampling_t*") IntPointer subsampling, IntPointer widths, IntPointer heights)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetImageInfo(nvjpegHandle handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="size_t") long length, IntBuffer nComponents, @Cast(value="nvjpegChromaSubsampling_t*") IntBuffer subsampling, IntBuffer widths, IntBuffer heights)
@Cast(value="nvjpegStatus_t") public static int nvjpegGetImageInfo(nvjpegHandle handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="size_t") long length, int[] nComponents, @Cast(value="nvjpegChromaSubsampling_t*") int[] subsampling, int[] widths, int[] heights)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecode(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="size_t") long length, @Cast(value="nvjpegOutputFormat_t") int output_format, nvjpegImage_t destination, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecode(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="size_t") long length, @Cast(value="nvjpegOutputFormat_t") int output_format, nvjpegImage_t destination, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecode(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="size_t") long length, @Cast(value="nvjpegOutputFormat_t") int output_format, nvjpegImage_t destination, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedInitialize(nvjpegHandle handle, nvjpegJpegState jpeg_handle, int batch_size, int max_cpu_threads, @Cast(value="nvjpegOutputFormat_t") int output_format)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatched(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") PointerPointer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatched(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr BytePointer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatched(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr ByteBuffer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatched(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr byte[] data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedPreAllocate(nvjpegHandle handle, nvjpegJpegState jpeg_handle, int batch_size, int width, int height, @Cast(value="nvjpegChromaSubsampling_t") int chroma_subsampling, @Cast(value="nvjpegOutputFormat_t") int output_format)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedParseJpegTables(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="const size_t") long length)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedParseJpegTables(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="const size_t") long length)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedParseJpegTables(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="const size_t") long length)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderStateCreate(nvjpegHandle handle, @ByPtrPtr nvjpegEncoderState encoder_state, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderStateDestroy(nvjpegEncoderState encoder_state)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsCreate(nvjpegHandle handle, @ByPtrPtr nvjpegEncoderParams encoder_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsDestroy(nvjpegEncoderParams encoder_params)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsSetQuality(nvjpegEncoderParams encoder_params, int quality, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsSetEncoding(nvjpegEncoderParams encoder_params, @Cast(value="nvjpegJpegEncoding_t") int etype, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsSetOptimizedHuffman(nvjpegEncoderParams encoder_params, int optimized, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsSetSamplingFactors(nvjpegEncoderParams encoder_params, @Cast(value="const nvjpegChromaSubsampling_t") int chroma_subsampling, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeGetBufferSize(nvjpegHandle handle, nvjpegEncoderParams encoder_params, int image_width, int image_height, @Cast(value="size_t*") SizeTPointer max_stream_length)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeYUV(nvjpegHandle handle, nvjpegEncoderState encoder_state, nvjpegEncoderParams encoder_params, @Const nvjpegImage_t source, @Cast(value="nvjpegChromaSubsampling_t") int chroma_subsampling, int image_width, int image_height, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeImage(nvjpegHandle handle, nvjpegEncoderState encoder_state, nvjpegEncoderParams encoder_params, @Const nvjpegImage_t source, @Cast(value="nvjpegInputFormat_t") int input_format, int image_width, int image_height, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstreamDevice(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") BytePointer data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstreamDevice(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") ByteBuffer data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstreamDevice(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") byte[] data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstream(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") BytePointer data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstream(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") ByteBuffer data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncodeRetrieveBitstream(nvjpegHandle handle, nvjpegEncoderState encoder_state, @Cast(value="unsigned char*") byte[] data, @Cast(value="size_t*") SizeTPointer length, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedCreate(nvjpegHandle handle, nvjpegPinnedAllocator_t pinned_allocator, @ByPtrPtr nvjpegBufferPinned buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedCreateV2(nvjpegHandle handle, nvjpegPinnedAllocatorV2_t pinned_allocator, @ByPtrPtr nvjpegBufferPinned buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedResize(nvjpegBufferPinned buffer, @Cast(value="size_t") long size, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedDestroy(nvjpegBufferPinned buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceCreate(nvjpegHandle handle, nvjpegDevAllocator_t device_allocator, @ByPtrPtr nvjpegBufferDevice buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceCreateV2(nvjpegHandle handle, nvjpegDevAllocatorV2_t device_allocator, @ByPtrPtr nvjpegBufferDevice buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceResize(nvjpegBufferDevice buffer, @Cast(value="size_t") long size, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceDestroy(nvjpegBufferDevice buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedRetrieve(nvjpegBufferPinned buffer, @Cast(value="size_t*") SizeTPointer size, @Cast(value="void**") PointerPointer ptr)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferPinnedRetrieve(nvjpegBufferPinned buffer, @Cast(value="size_t*") SizeTPointer size, @Cast(value="void**") @ByPtrPtr Pointer ptr)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceRetrieve(nvjpegBufferDevice buffer, @Cast(value="size_t*") SizeTPointer size, @Cast(value="void**") PointerPointer ptr)
@Cast(value="nvjpegStatus_t") public static int nvjpegBufferDeviceRetrieve(nvjpegBufferDevice buffer, @Cast(value="size_t*") SizeTPointer size, @Cast(value="void**") @ByPtrPtr Pointer ptr)
@Cast(value="nvjpegStatus_t") public static int nvjpegStateAttachPinnedBuffer(nvjpegJpegState decoder_state, nvjpegBufferPinned pinned_buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegStateAttachDeviceBuffer(nvjpegJpegState decoder_state, nvjpegBufferDevice device_buffer)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamCreate(nvjpegHandle handle, @ByPtrPtr nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamDestroy(nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParse(nvjpegHandle handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="size_t") long length, int save_metadata, int save_stream, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParse(nvjpegHandle handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="size_t") long length, int save_metadata, int save_stream, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParse(nvjpegHandle handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="size_t") long length, int save_metadata, int save_stream, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseHeader(nvjpegHandle handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseHeader(nvjpegHandle handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseHeader(nvjpegHandle handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseTables(nvjpegHandle handle, @Cast(value="const unsigned char*") BytePointer data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseTables(nvjpegHandle handle, @Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamParseTables(nvjpegHandle handle, @Cast(value="const unsigned char*") byte[] data, @Cast(value="size_t") long length, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetJpegEncoding(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegJpegEncoding_t*") IntPointer jpeg_encoding)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetJpegEncoding(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegJpegEncoding_t*") IntBuffer jpeg_encoding)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetJpegEncoding(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegJpegEncoding_t*") int[] jpeg_encoding)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetFrameDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntPointer width, @Cast(value="unsigned int*") IntPointer height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetFrameDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntBuffer width, @Cast(value="unsigned int*") IntBuffer height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetFrameDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") int[] width, @Cast(value="unsigned int*") int[] height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentsNum(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntPointer components_num)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentsNum(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntBuffer components_num)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentsNum(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") int[] components_num)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int") int component, @Cast(value="unsigned int*") IntPointer width, @Cast(value="unsigned int*") IntPointer height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int") int component, @Cast(value="unsigned int*") IntBuffer width, @Cast(value="unsigned int*") IntBuffer height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetComponentDimensions(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int") int component, @Cast(value="unsigned int*") int[] width, @Cast(value="unsigned int*") int[] height)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetExifOrientation(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegExifOrientation_t*") IntPointer orientation_flag)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetExifOrientation(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegExifOrientation_t*") IntBuffer orientation_flag)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetExifOrientation(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegExifOrientation_t*") int[] orientation_flag)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetSamplePrecision(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntPointer precision)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetSamplePrecision(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") IntBuffer precision)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetSamplePrecision(nvjpegJpegStream jpeg_stream, @Cast(value="unsigned int*") int[] precision)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetChromaSubsampling(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegChromaSubsampling_t*") IntPointer chroma_subsampling)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetChromaSubsampling(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegChromaSubsampling_t*") IntBuffer chroma_subsampling)
@Cast(value="nvjpegStatus_t") public static int nvjpegJpegStreamGetChromaSubsampling(nvjpegJpegStream jpeg_stream, @Cast(value="nvjpegChromaSubsampling_t*") int[] chroma_subsampling)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsCreate(nvjpegHandle handle, @ByPtrPtr nvjpegDecodeParams decode_params)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsDestroy(nvjpegDecodeParams decode_params)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsSetOutputFormat(nvjpegDecodeParams decode_params, @Cast(value="nvjpegOutputFormat_t") int output_format)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsSetROI(nvjpegDecodeParams decode_params, int offset_x, int offset_y, int roi_width, int roi_height)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsSetAllowCMYK(nvjpegDecodeParams decode_params, int allow_cmyk)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsSetScaleFactor(nvjpegDecodeParams decode_params, @Cast(value="nvjpegScaleFactor_t") int scale_factor)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeParamsSetExifOrientation(nvjpegDecodeParams decode_params, @Cast(value="nvjpegExifOrientation_t") int orientation)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderCreate(nvjpegHandle nvjpeg_handle, @Cast(value="nvjpegBackend_t") int implementation, @ByPtrPtr nvjpegJpegDecoder decoder_handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderDestroy(nvjpegJpegDecoder decoder_handle)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderJpegSupported(nvjpegJpegDecoder decoder_handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, IntPointer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderJpegSupported(nvjpegJpegDecoder decoder_handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, IntBuffer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderJpegSupported(nvjpegJpegDecoder decoder_handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, int[] is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupported(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, IntPointer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupported(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, IntBuffer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupported(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, int[] is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupportedEx(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, IntPointer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupportedEx(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, IntBuffer is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedSupportedEx(nvjpegHandle handle, nvjpegJpegStream jpeg_stream, nvjpegDecodeParams decode_params, int[] is_supported)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecoderStateCreate(nvjpegHandle nvjpeg_handle, nvjpegJpegDecoder decoder_handle, @ByPtrPtr nvjpegJpegState decoder_state)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeJpeg(nvjpegHandle handle, nvjpegJpegDecoder decoder, nvjpegJpegState decoder_state, nvjpegJpegStream jpeg_bitstream, nvjpegImage_t destination, nvjpegDecodeParams decode_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeJpegHost(nvjpegHandle handle, nvjpegJpegDecoder decoder, nvjpegJpegState decoder_state, nvjpegDecodeParams decode_params, nvjpegJpegStream jpeg_stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeJpegTransferToDevice(nvjpegHandle handle, nvjpegJpegDecoder decoder, nvjpegJpegState decoder_state, nvjpegJpegStream jpeg_stream, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeJpegDevice(nvjpegHandle handle, nvjpegJpegDecoder decoder, nvjpegJpegState decoder_state, nvjpegImage_t destination, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedEx(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") PointerPointer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, @ByPtrPtr nvjpegDecodeParams decode_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedEx(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr BytePointer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, @ByPtrPtr nvjpegDecodeParams decode_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedEx(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr ByteBuffer data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, @ByPtrPtr nvjpegDecodeParams decode_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegDecodeBatchedEx(nvjpegHandle handle, nvjpegJpegState jpeg_handle, @Cast(value="const unsigned char*const*") @ByPtrPtr byte[] data, @Cast(value="const size_t*") SizeTPointer lengths, nvjpegImage_t destinations, @ByPtrPtr nvjpegDecodeParams decode_params, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsCopyMetadata(nvjpegEncoderState encoder_state, nvjpegEncoderParams encode_params, nvjpegJpegStream jpeg_stream, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsCopyQuantizationTables(nvjpegEncoderParams encode_params, nvjpegJpegStream jpeg_stream, CUstream_st stream)
@Cast(value="nvjpegStatus_t") public static int nvjpegEncoderParamsCopyHuffmanTables(nvjpegEncoderState encoder_state, nvjpegEncoderParams encode_params, nvjpegJpegStream jpeg_stream, CUstream_st stream)
Copyright © 2024. All rights reserved.