Community
cancel
Showing results for 
Search instead for 
Did you mean: 
66 Views

memcpy alternative in intel media sdk?

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
66 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

66 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
66 Views

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

Best wishes,

Anna

66 Views

Hi Anna,

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

Anna_B_Intel
Employee
66 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