pub unsafe extern "C" fn nvjpegEncodeImage(
handle: nvjpegHandle_t,
encoder_state: nvjpegEncoderState_t,
encoder_params: nvjpegEncoderParams_t,
source: *const nvjpegImage_t,
input_format: nvjpegInputFormat_t,
image_width: c_int,
image_height: c_int,
stream: cudaStream_t,
) -> nvjpegStatus_t