I’m wondering if the call
NvJPEGEncoder::encodeFromBuffer(NvBuffer & buffer, J_COLOR_SPACE color_space,
unsigned char **out_buf, unsigned long &out_buf_size,
int quality)
https://docs.nvidia.com/jetson/l4t-multimedia/classNvJPEGEncoder.html
Actually uses hardware acceleration? It looks like it is a convenience function to use an NV12 buffer with the libjpeg library. Does this actually use cuda, or any other hardware acceleration? Or is it only CPU encoding.
This is on a Xavier NX.
Thanks.