libvpl icon indicating copy to clipboard operation
libvpl copied to clipboard

Does LibVPL support decoding JPEG file? (Not mjpeg file, but many jpeg files.)

Open yayoimizuha opened this issue 1 year ago • 1 comments

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.)

yayoimizuha avatar Sep 10 '24 05:09 yayoimizuha

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.

jonrecker avatar Sep 11 '24 17:09 jonrecker