Apply the inverse transform of the integer smoothing
- Parameters
-
data | where to apply it |
numElems | how many elements of type int16_t are stored in the buffer |
- Returns
- number of bytes modified
Definition at line 956 of file zofits.h.
References data.
958 int16_t* short_data =
reinterpret_cast<int16_t*
>(
data);
959 for (uint32_t j=2;j<numElems;j++)
960 short_data[j] = short_data[j] + (short_data[j-1]+short_data[j-2])/2;
962 return numElems*
sizeof(uint16_t);