i use memset to initialize structures , for example
if i have an instance of a structure named struct1
i usually write
if i want to do the same using IPP
ippsZero_8u ( (Ipp8u*) &struct1,sizeof(someStructure));
is this the optimal way ?
i mean if there is a direct way to pass the structure pointer instead of accessing it byte by byte