Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6718 Discussions

Hardware acceleration for byte transfer with offset

lynchpancho
Beginner
261 Views
Anything in IPP that would help speed up amemcpy type move that has a fixed offset between each byte? Somthing like this function. Thanks.

char* DemuxCopy(char* dst, size_t dst_stride, char* src, size_t src_stride, size_t count)
{
char* ret = dst;

while(count--)
{
*dst = *src;
dst += dst_stride;
src += src_stride;
}

return(ret);
}
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
261 Views
Hello,

looks like ippiCopy_8u_C1 function should do what you want.

Regards,
Vladimir
0 Kudos
Reply