Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK

How to use VPP plugins as multi-thread?

genki888
Beginner
268 Views

I'm using Intel Media SDK. I downloaded your sample code from the following URL.
https://software.intel.com/en-us/media-sdk-support/code-samples
Now I can build & use 'sample_plugins' project.(rotate_cpu/ rotate_opencl)

My question is: how can I use VPP plugins as multi-thread?

I tried to change the code of 'plugin_rotate.cpp' like following,
-----
Rotate::Rotate() :
 "..."
{

  "..."

    m_PluginParam.MaxThreadNum = 4; // original value is 1.

  "..."
}
-----

but this change didn't work well. LockFrame() process failed.

Do you have any advice to use VPP plugins as multi-thread?

Thank you for reading.

0 Kudos
1 Reply
Harshdeep_B_Intel
268 Views

Hi There, 

Please check the buffer Memory allocation has enough space allocated. Also, Can you please let me know your system details; Please attach a log from system_analyzer tool, this will be helpful in further investigation to recommend best way for your scenario.

Thanks, 

0 Kudos
Reply