how to use tegra_multimedia_api to get the jpeg image data

When I use tegra_multimedia_api to get the image ,I find there is a writeJPEG in IImageJPEG class ,but I can not find the definition of writeJPEG .And writeJPEG will create a jpeg file ,but I do not know how to get the date of jpeg image directly.can you provide some help? thank you!

Please refer to




thank you ,I will try this one.

when I compiler the tegra_multimedia_api,I directly execute make in tegra_multimedia_api/,I get the error bellow.

Linking: video_decode
/usr/bin/ld: cannot find -lcudart
/usr/bin/ld: cannot find -lnvinfer
/usr/bin/ld: cannot find -lnvparsers
collect2: error: ld returned 1 exit status
Makefile:52: recipe for target 'video_decode' failed

You should install through SDK Manager. All dependent packages will be installed.