NVIDIA / CUDALibrarySamples

CUDA Library Samples
Other
1.5k stars 311 forks source link

nvjpeg Encoding Algorithm #189

Open 1623275623 opened 3 months ago

1623275623 commented 3 months ago

I create Encode handle and state and Encode params. I set Encoding Algorithm by function nvjpegEncoderParamsSetEncoding(params_.encoder_params,encoding,params_.stream); the encoding content is NVJPEG_ENCODING_PROGRESSIVE_DCT_HUFFMAN. I get a function parameter error #2. when i select NVJPEG_ENCODING_BASELINE_DCT It is Ok. have anyone can tell me why? how can i solve this problem.

### Tasks
zohebk-nv commented 2 months ago

hi, would it be possible for you to share a self contained reproducer code along with the cuda toolkit and driver versions being used? This will help us triage this further