Describe the question.
When using the JPEG encoder, the following error message appears when processing smaller-sized images:
[ERROR] [nvjpeg_cuda_encoder] Could not encode jpeg code stream - nvjpeg error #8 (internal error) when running nvjpegEncodeYUV(handle_, state, encode_params.get(), &input_image, input_chroma_subsampling, image_info.plane_info[0].width, image_info.plane_info[0].height, image_info.cuda_stream) at /home/jenkins/agent/workspace/nvimagecodec/helpers/release_v0.4.0/Release_12/build/extensions/nvjpeg/cuda_encoder.cpp:420.
However, the saved image looks like correct. I would like to confirm whether, in this case, the encoding falls back from GPU nvjpeg to CPU. Additionally, is there a way to suppress this error message or change it to a warning?
Check for duplicates