Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lynchpancho
Beginner
35 Views

Hardware acceleration for byte transfer with offset

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

Hello,

looks like ippiCopy_8u_C1 function should do what you want.

Regards,
Vladimir