Home
last modified time | relevance | path

Searched refs:db_fix (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DdB_to_Lin32.cpp67 LVM_FLOAT dB_to_LinFloat(LVM_INT16 db_fix) { in dB_to_LinFloat() argument
71 dB_Float = (LVM_FLOAT)((LVM_FLOAT)db_fix / 16.0f); in dB_to_LinFloat()
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DBundleContext.cpp360 LVM_INT16 db_fix; in LVC_ToDB_s32Tos16() local
378 db_fix = (LVM_INT16)(-96 * Shift); /* Six dB steps in Q11.4 format*/ in LVC_ToDB_s32Tos16()
380 db_fix = (LVM_INT16)(db_fix + SmallRemainder); in LVC_ToDB_s32Tos16()
382 db_fix = (LVM_INT16)(db_fix - (LVM_INT16)((LVM_UINT16)SmallRemainder >> 9)); in LVC_ToDB_s32Tos16()
385 db_fix = (LVM_INT16)(db_fix - 5); in LVC_ToDB_s32Tos16()
387 return db_fix; in LVC_ToDB_s32Tos16()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DScalarArithmetic.h53 LVM_FLOAT dB_to_LinFloat(LVM_INT16 db_fix);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2702 LVM_INT16 db_fix; in LVC_ToDB_s32Tos16() local
2720 db_fix = (LVM_INT16)(-96 * Shift); /* Six dB steps in Q11.4 format*/ in LVC_ToDB_s32Tos16()
2722 db_fix = (LVM_INT16)(db_fix + SmallRemainder); in LVC_ToDB_s32Tos16()
2724 db_fix = (LVM_INT16)(db_fix - (LVM_INT16)((LVM_UINT16)SmallRemainder >> 9)); in LVC_ToDB_s32Tos16()
2727 db_fix = (LVM_INT16)(db_fix - 5); in LVC_ToDB_s32Tos16()
2729 return db_fix; in LVC_ToDB_s32Tos16()