Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
Important Update: Community Platform Migration​. Learn more​>
6847 Discussions

Hardware acceleration for byte transfer with offset

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

looks like ippiCopy_8u_C1 function should do what you want.

Regards,
Vladimir
0 Kudos
Reply