With respect to using functions in 06_jpeg_decode sample applications



06_jpeg_decode Referring to the sample code
Get the jpeg image buffer as a stream, and in the jpeg_decode_proc function

I want to get YUV by hardware decoding using ctx.jpegdec->decodeToFd function.

However, there are frequent errors.
Is there anything you need to be careful about when configuring the library in the makefile?

This looks to be duplicate of

For continuous JPEG decoding, you can also refer to 12_camera_v4l2_cuda. It demonstrates getting MJPEG frames from USB cameras and do decoding.