Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yayoimizuha opened this issue Sep 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@yayoimizuha
Copy link

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

@mav-intel mav-intel added the question Further information is requested label Sep 11, 2024
@jonrecker
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants