xip_status
xip_fir_v7_2_data_calc_size(
xip_fir_v7_2* model,
const xip_array_real* data_in,
xip_array_real* data_out,
xip_array_complex* cmplx_data_out
)
xip_status
xip_fir_v7_2_data_calc_size_mpz(
xip_fir_v7_2* model,
const xip_array_real* data_in,
xip_array_mpz* data_out,
xip_array_mpz_complex cmplx_data_out
)
This function calculates the size of an output packet/array given the size of the supplied input packet/array.
The data_out or cmplx_data_out array dimensions are modified to reflect the size of output the model produces, given the data_in array. The array dimensions, dim and data_size element are updated but the function does not allocate more space. Ensure that the correct amount of space is allocated for the data element of the array.
Note: Only one of data_out or cmplx_data_out can be set; the other should be set to NULL (or 0).