Media (Intel® 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
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

How to use VPP plugins as multi-thread?

genki888
Beginner
426 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
426 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