libvpl
libvpl copied to clipboard
Does LibVPL support decoding JPEG file? (Not mjpeg file, but many jpeg files.)
I’m trying to use LibVPL for hardware jpeg decoding.(known as NVjpeg in CUDA platform.)
my PoC code is here. I implemented some code, but I encountered memory leaks. It seems not causing my mistakes.(file name is “multi threaded”,but parallelism is disabled for debugging.)
Am I making unknown mistake? Or LibVPL doesn't support this usage? (Sorry for bad English because I’m non-native English speaker.)
Yes, VPL supports JPEG decoding. Additional info is available here. To avoid memory leaks make sure to call mfxFrameSurfaceInterface::Release() for decoded frames allocated by VPL GPU runtime, in addition to freeing any other resources allocated by the application.