fsl_easrc_normalize_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Bestie, this is the Kernel API Manual page for fsl_easrc_normalize_filter(9) β€” and it's literally all about scaling filter coefficients (64 bits float). πŸ’…

So here's the vibe: for input float32 normalized range (1.0,-1.0) -> output int[16,24,32]: scale it by multiplying filter coefficients by 2^31. For input int[16, 24, 32] -> output float32 scale it by multiplying filter coefficients by 2^-15, 2^-23, 2^-31 β€” and the description ends with input: exactly like that. 😭✨


✨ SYNOPSIS ✨

The signature is giving C function, and it returns int:

       int fsl_easrc_normalize_filter (struct fsl_asrc *easrc , u64 *infilter ,
       u64 *outfilter , int shift );

πŸŽ€ ARGUMENTS πŸŽ€

  • easrc β€” Structure pointer of fsl_asrc. πŸ¦‹
  • infilter β€” Pointer to non-scaled input filter. πŸ’–
  • outfilter β€” scaled filter. 🌸
  • shift β€” The multiply factor output: πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./sound/soc/fsl/fsl_easrc.c πŸ“

xoxo, bestie πŸ’– β€” source/version: ./sound/soc/fsl, dated October 2026 πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from