Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6622 Discussions

Hardware acceleration for byte transfer with offset

lynchpancho
Beginner
121 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
121 Views
Hello,

looks like ippiCopy_8u_C1 function should do what you want.

Regards,
Vladimir
Reply