NVIDIA / CUDALibrarySamples

CUDA Library Samples
Other
1.62k stars 348 forks source link

nvjpeg Encoding Algorithm #189

Open 1623275623 opened 5 months ago

1623275623 commented 5 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 4 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