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
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

memcpy alternative in intel media sdk?

boukhalfa__zakaria
227 Views

The intel IPP contains a memcpy alternative. Why is there no alternative for this in the intel media sdk?

 

Does it make sense to use it anyway in a h264 decoder? I saw in the samples that the "normal" std::memcpy are used.

0 Kudos
5 Replies
Anna_B_Intel
Employee
227 Views

Hi Zack,

If you are doing only hardware-accelerated h264 decoding on GPU, it's better to use the video memory. If you additionally want to do some work on CPU you, we recommend to use system memory. So you don't need to copy something by yourself.

Best wishes,

Anna

boukhalfa__zakaria
227 Views

Okay, and when I do additional work on the CPU, why is the ipp memcpy not available via the media sdk API?

As far as I understand it is used internally by the SDK.

Anna_B_Intel
Employee
227 Views

Yes, h264 decoder uses ipp. Media SDK has functionality for copying frames, memory is optimised inside it.

Best wishes,

Anna

boukhalfa__zakaria
228 Views

Hi Anna,

what function to you mean, can you post a link to the docu where it is described?

Anna_B_Intel
Employee
228 Views

Hi Zack,

For copying frames you can use VPP without any filters (just init it with the same input and output parameters). Also you can look at mfxExtVPPFieldProcessing structure. You can find more detailed information at the mediasdk-man.pdf.

Best wishes,

Anna

Reply