CMSIS DSP DCT Type IV Functions

I am trying to implement the DCT Type IV documented here on a nordic DK but cannot figure out how to use this function. Does anyone have an example of this being used? I am most confused about the state buffer, inline buffer and initialization functions. As far as I understand, I need to use the init function and then the processing function.