Use the TT_OUT_DATA template parameter to select a 32-bit output type when the input type is 16-bit.
TT_OUT_DATA