Community
cancel
Showing results for 
Search instead for 
Did you mean: 
genki888
Beginner
84 Views

How to use VPP plugins as multi-thread?

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
84 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, 

Reply