Crate nvjpeg_sys

Crate nvjpeg_sys 

Source
Expand description

Raw FFI Rust bindings to nvJPEG.

Macros§

check

Structs§

CUstream_st
nvjpegBufferDevice
nvjpegBufferPinned
nvjpegDecodeParams
nvjpegDevAllocatorV2_t
nvjpegDevAllocator_t
nvjpegEncoderParams
nvjpegEncoderState
Compression *
nvjpegHandle
nvjpegImage_t
nvjpegJpegDecoder
nvjpegJpegState
nvjpegJpegStream
nvjpegPinnedAllocatorV2_t
nvjpegPinnedAllocator_t

Constants§

NVJPEG_FLAGS_BITSTREAM_STRICT
NVJPEG_FLAGS_DEFAULT
NVJPEG_FLAGS_ENABLE_MEMORY_POOLS
NVJPEG_FLAGS_HW_DECODE_NO_PIPELINE
NVJPEG_MAX_COMPONENT
NVJPEG_VER_BUILD
NVJPEG_VER_MAJOR
NVJPEG_VER_MINOR
NVJPEG_VER_PATCH
libraryPropertyType_t_MAJOR_VERSION
libraryPropertyType_t_MINOR_VERSION
libraryPropertyType_t_PATCH_LEVEL
nvjpegBackend_t_NVJPEG_BACKEND_DEFAULT
nvjpegBackend_t_NVJPEG_BACKEND_GPU_HYBRID
nvjpegBackend_t_NVJPEG_BACKEND_GPU_HYBRID_DEVICE
nvjpegBackend_t_NVJPEG_BACKEND_HARDWARE
nvjpegBackend_t_NVJPEG_BACKEND_HARDWARE_DEVICE
nvjpegBackend_t_NVJPEG_BACKEND_HYBRID
nvjpegChromaSubsampling_t_NVJPEG_CSS_410
nvjpegChromaSubsampling_t_NVJPEG_CSS_411
nvjpegChromaSubsampling_t_NVJPEG_CSS_420
nvjpegChromaSubsampling_t_NVJPEG_CSS_422
nvjpegChromaSubsampling_t_NVJPEG_CSS_440
nvjpegChromaSubsampling_t_NVJPEG_CSS_444
nvjpegChromaSubsampling_t_NVJPEG_CSS_410V
nvjpegChromaSubsampling_t_NVJPEG_CSS_GRAY
nvjpegChromaSubsampling_t_NVJPEG_CSS_UNKNOWN
nvjpegExifOrientation_NVJPEG_ORIENTATION_FLIP_HORIZONTAL
nvjpegExifOrientation_NVJPEG_ORIENTATION_FLIP_VERTICAL
nvjpegExifOrientation_NVJPEG_ORIENTATION_NORMAL
nvjpegExifOrientation_NVJPEG_ORIENTATION_ROTATE_90
nvjpegExifOrientation_NVJPEG_ORIENTATION_ROTATE_180
nvjpegExifOrientation_NVJPEG_ORIENTATION_ROTATE_270
nvjpegExifOrientation_NVJPEG_ORIENTATION_TRANSPOSE
nvjpegExifOrientation_NVJPEG_ORIENTATION_TRANSVERSE
nvjpegExifOrientation_NVJPEG_ORIENTATION_UNKNOWN
nvjpegInputFormat_t_NVJPEG_INPUT_BGR
nvjpegInputFormat_t_NVJPEG_INPUT_BGRI
nvjpegInputFormat_t_NVJPEG_INPUT_RGB
nvjpegInputFormat_t_NVJPEG_INPUT_RGBI
nvjpegJpegEncoding_t_NVJPEG_ENCODING_BASELINE_DCT
nvjpegJpegEncoding_t_NVJPEG_ENCODING_EXTENDED_SEQUENTIAL_DCT_HUFFMAN
nvjpegJpegEncoding_t_NVJPEG_ENCODING_PROGRESSIVE_DCT_HUFFMAN
nvjpegJpegEncoding_t_NVJPEG_ENCODING_UNKNOWN
nvjpegOutputFormat_t_NVJPEG_OUTPUT_BGR
nvjpegOutputFormat_t_NVJPEG_OUTPUT_BGRI
nvjpegOutputFormat_t_NVJPEG_OUTPUT_FORMAT_MAX
nvjpegOutputFormat_t_NVJPEG_OUTPUT_RGB
nvjpegOutputFormat_t_NVJPEG_OUTPUT_RGBI
nvjpegOutputFormat_t_NVJPEG_OUTPUT_UNCHANGED
nvjpegOutputFormat_t_NVJPEG_OUTPUT_Y
nvjpegOutputFormat_t_NVJPEG_OUTPUT_YUV
nvjpegScaleFactor_t_NVJPEG_SCALE_1_BY_2
nvjpegScaleFactor_t_NVJPEG_SCALE_1_BY_4
nvjpegScaleFactor_t_NVJPEG_SCALE_1_BY_8
nvjpegScaleFactor_t_NVJPEG_SCALE_NONE
nvjpegStatus_t_NVJPEG_STATUS_ALLOCATOR_FAILURE
nvjpegStatus_t_NVJPEG_STATUS_ARCH_MISMATCH
nvjpegStatus_t_NVJPEG_STATUS_BAD_JPEG
nvjpegStatus_t_NVJPEG_STATUS_EXECUTION_FAILED
nvjpegStatus_t_NVJPEG_STATUS_IMPLEMENTATION_NOT_SUPPORTED
nvjpegStatus_t_NVJPEG_STATUS_INCOMPLETE_BITSTREAM
nvjpegStatus_t_NVJPEG_STATUS_INTERNAL_ERROR
nvjpegStatus_t_NVJPEG_STATUS_INVALID_PARAMETER
nvjpegStatus_t_NVJPEG_STATUS_JPEG_NOT_SUPPORTED
nvjpegStatus_t_NVJPEG_STATUS_NOT_INITIALIZED
nvjpegStatus_t_NVJPEG_STATUS_SUCCESS

Functions§

nvjpegBufferDeviceCreate
nvjpegBufferDeviceCreateV2
nvjpegBufferDeviceDestroy
nvjpegBufferDeviceRetrieve
nvjpegBufferPinnedCreate
nvjpegBufferPinnedCreateV2
nvjpegBufferPinnedDestroy
nvjpegBufferPinnedRetrieve
nvjpegCreate
nvjpegCreateEx
nvjpegCreateExV2
nvjpegCreateSimple
nvjpegDecode
nvjpegDecodeBatched
nvjpegDecodeBatchedEx
nvjpegDecodeBatchedInitialize
Batch decoding ///////////////
nvjpegDecodeBatchedParseJpegTables
nvjpegDecodeBatchedPreAllocate
nvjpegDecodeBatchedSupported
nvjpegDecodeBatchedSupportedEx
nvjpegDecodeJpeg
nvjpegDecodeJpegDevice
nvjpegDecodeJpegHost
nvjpegDecodeJpegTransferToDevice
nvjpegDecodeParamsCreate
nvjpegDecodeParamsDestroy
nvjpegDecodeParamsSetAllowCMYK
nvjpegDecodeParamsSetExifOrientation
nvjpegDecodeParamsSetOutputFormat
nvjpegDecodeParamsSetROI
nvjpegDecodeParamsSetScaleFactor
nvjpegDecoderCreate
nvjpegDecoderDestroy
nvjpegDecoderJpegSupported
nvjpegDecoderStateCreate
nvjpegDestroy
nvjpegEncodeGetBufferSize
nvjpegEncodeImage
nvjpegEncodeRetrieveBitstream
nvjpegEncodeRetrieveBitstreamDevice
nvjpegEncodeYUV
nvjpegEncoderParamsCopyHuffmanTables
nvjpegEncoderParamsCopyMetadata
nvjpegEncoderParamsCopyQuantizationTables
nvjpegEncoderParamsCreate
nvjpegEncoderParamsDestroy
nvjpegEncoderParamsSetEncoding
nvjpegEncoderParamsSetOptimizedHuffman
nvjpegEncoderParamsSetQuality
nvjpegEncoderParamsSetSamplingFactors
nvjpegEncoderStateCreate
nvjpegEncoderStateDestroy
nvjpegGetCudartProperty
nvjpegGetDeviceMemoryPadding
nvjpegGetHardwareDecoderInfo
nvjpegGetImageInfo
nvjpegGetPinnedMemoryPadding
nvjpegGetProperty
nvjpegJpegStateCreate
nvjpegJpegStateDestroy
nvjpegJpegStreamCreate
nvjpegJpegStreamDestroy
nvjpegJpegStreamGetChromaSubsampling
nvjpegJpegStreamGetComponentDimensions
nvjpegJpegStreamGetComponentsNum
nvjpegJpegStreamGetExifOrientation
nvjpegJpegStreamGetFrameDimensions
nvjpegJpegStreamGetJpegEncoding
nvjpegJpegStreamParse
nvjpegJpegStreamParseHeader
nvjpegJpegStreamParseTables
nvjpegSetDeviceMemoryPadding
nvjpegSetPinnedMemoryPadding
nvjpegStateAttachDeviceBuffer
nvjpegStateAttachPinnedBuffer

Type Aliases§

cudaStream_t
libraryPropertyType
libraryPropertyType_t
nvjpegBackend_t
nvjpegBufferDevice_t
nvjpegBufferPinned_t
nvjpegChromaSubsampling_t
nvjpegDecodeParams_t
nvjpegEncoderParams_t
nvjpegEncoderState_t
nvjpegExifOrientation
nvjpegExifOrientation_t
nvjpegHandle_t
nvjpegInputFormat_t
nvjpegJpegDecoder_t
nvjpegJpegEncoding_t
nvjpegJpegState_t
nvjpegJpegStream_t
nvjpegOutputFormat_t
nvjpegScaleFactor_t
nvjpegStatus_t
tDevFree
tDevFreeV2
tDevMalloc
tDevMallocV2
tPinnedFree
tPinnedFreeV2
tPinnedMalloc
tPinnedMallocV2