The fcvScaleu8 method seems to have a bug. By default if dstStride argument was set to 0 should be dstStride=dstWidth.
In my code, I encountered a seg fault when passing dstStride=0, but when passing dstStride=dstWidth, the method appears to be working as expected.