Forums - Floating point implementations in CAPIV2

3 posts / 0 new
Last post
Floating point implementations in CAPIV2
naveen.francis
Join Date: 9 Aug 17
Posts: 21
Posted: Mon, 2018-02-26 01:33

Hi,

Is it possible to have floating point implementations in CAPIV2? For example in the capi_v2_gain code, can I read in 32-bit floating point values from a raw file and save the result as 32-bit float values? It seems floating point is supported as per the enum data_format_t in 'Elite_CAPI_V2_types.h', but the 'is_supported_media_type' function in capi_v2_gain.c explicitly checks if the data is 'CAPI_V2_FIXED_POINT, and if the data is 16 bits, and only then proceeds for further processing.

What needs to be modified to read in floating point values, process them in floating point and save the result in floating point?

Regards,

Naveen

  • Up0
  • Down0
Helu
Join Date: 3 Feb 17
Posts: 8
Posted: Mon, 2018-02-26 07:45

Why should anyone want to do that? 

​BR,

-

  • Up0
  • Down0
naveen.francis
Join Date: 9 Aug 17
Posts: 21
Posted: Mon, 2018-02-26 08:08
To compare performances between float and fixed point implementations.
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.