Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6625 Discussions

Hardware acceleration for byte transfer with offset

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

looks like ippiCopy_8u_C1 function should do what you want.

Regards,
Vladimir
Reply