codec_support: add function for calculating LPC filter