• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libeffects/lvm/lib/Common/
History log of /frameworks/av/media/libeffects/lvm/lib/Common/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
94a1ee822686e920a33e312f4032f991731aea07 22-Jul-2017 rago <rago@google.com> Converting effect chains to float point by default.

Removed additional conversions from/to int16/float.
Fixed config file restrictions.
Detection of native format (int16/float) of effects.
On-the-fly conversion to/from 16 bit effects if necessary.
WIP: testing effects in all possible configurations.

Bug: 63935479
Test: Bufflog dumps, frequency analysis comparison, SoloTester
Change-Id: Id4cabc5c5698befc90a5d68b0b996a9b9adebfc4
ib/LVM_Types.h
d7d013446a64c6de9f0f2dfe098a721b140e0b48 02-May-2016 Ramesh Katuri <ramesh.katuri@ittiam.com> Floating point support for audio post processing components

Source code is added/modified to support floating point processing for
audio post processing components.All the changes are done under the macro
BUILD_FLOAT

Enable/disable this macro in Android.mk files to build floating point or
fixed point code.

Based on the macro either fixed point code or floating point code gets compiled.

By default this macro is ENABLED.

(cherry picked from partner commit 2ceaff6aafadbcb0fb6d5135ca814ba7c790ab1a)
(Minor merge conflicts solved, some formatting and safety changes,
bugfixes in EffectReverb.cpp)

Test: audio comparisons between integer and floating point effects

Change-Id: Idb044ace1e8da1d86c67667aba0101ae8da6788e
ib/AGC.h
ib/BIQUAD.h
ib/CompLim.h
ib/Filter.h
ib/LVM_Types.h
ib/Mixer.h
ib/ScalarArithmetic.h
ib/VectorArithmetic.h
rc/AGC_MIX_VOL_2St1Mon_D32_WRA.c
rc/Abs_32.c
rc/Add2_Sat_32x32.c
rc/BP_1I_D16F16C14_TRC_WRA_01.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BP_1I_D16F32C30_TRC_WRA_01.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Init.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Private.h
rc/BP_1I_D32F32C30_TRC_WRA_02.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Init.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Private.h
rc/BQ_1I_D16F16C15_TRC_WRA_01.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32C14_TRC_WRA_01.c
rc/BQ_1I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D16F16C14_TRC_WRA_01.c
rc/BQ_2I_D16F16C15_TRC_WRA_01.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32C13_TRC_WRA_01.c
rc/BQ_2I_D16F32C14_TRC_WRA_01.c
rc/BQ_2I_D16F32C15_TRC_WRA_01.c
rc/BQ_2I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D32F32C30_TRC_WRA_01.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Private.h
rc/Copy_16.c
rc/Core_MixHard_2St_D32C31_SAT.c
rc/Core_MixInSoft_D32C31_SAT.c
rc/Core_MixSoft_1St_D32C31_WRA.c
rc/DC_2I_D16_TRC_WRA_01.c
rc/DC_2I_D16_TRC_WRA_01_Init.c
rc/DC_2I_D16_TRC_WRA_01_Private.h
rc/DelayMix_16x16.c
rc/FO_1I_D16F16C15_TRC_WRA_01.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Init.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Private.h
rc/FO_1I_D32F32C31_TRC_WRA_01.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Init.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Private.h
rc/FO_2I_D16F32C15_LShx_TRC_WRA_01.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h
rc/Filters.h
rc/From2iToMS_16x16.c
rc/From2iToMono_32.c
rc/JoinTo2i_32x32.c
rc/LVC_Core_MixHard_1St_2i_D16C31_SAT.c
rc/LVC_Core_MixHard_2St_D16C31_SAT.c
rc/LVC_Core_MixInSoft_D16C31_SAT.c
rc/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c
rc/LVC_Core_MixSoft_1St_D16C31_WRA.c
rc/LVC_MixInSoft_D16C31_SAT.c
rc/LVC_MixSoft_1St_2i_D16C31_SAT.c
rc/LVC_MixSoft_1St_D16C31_SAT.c
rc/LVC_MixSoft_2St_D16C31_SAT.c
rc/LVC_Mixer.h
rc/LVC_Mixer_GetCurrent.c
rc/LVC_Mixer_GetTarget.c
rc/LVC_Mixer_Init.c
rc/LVC_Mixer_Private.h
rc/LVC_Mixer_SetTarget.c
rc/LVC_Mixer_SetTimeConstant.c
rc/LVC_Mixer_VarSlope_SetTimeConstant.c
rc/LVM_FO_HPF.c
rc/LVM_FO_LPF.c
rc/LVM_GetOmega.c
rc/LVM_Mixer_FilterCoeffs.h
rc/LVM_Mixer_TimeConstant.c
rc/LVM_Polynomial.c
rc/LVM_Power10.c
rc/LoadConst_32.c
rc/MSTo2i_Sat_16x16.c
rc/Mac3s_Sat_32x16.c
rc/MixInSoft_D32C31_SAT.c
rc/MixSoft_1St_D32C31_WRA.c
rc/MixSoft_2St_D32C31_SAT.c
rc/Mixer_private.h
rc/MonoTo2I_32.c
rc/Mult3s_32x16.c
rc/NonLinComp_D16.c
rc/PK_2I_D32F32C14G11_TRC_WRA_01.c
rc/PK_2I_D32F32C30G11_TRC_WRA_01.c
rc/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Private.h
rc/Shift_Sat_v16xv16.c
rc/Shift_Sat_v32xv32.c
rc/dB_to_Lin32.c
ee5863a537bc83a0a603de43e068bbaff850ec59 18-May-2016 Chih-Hung Hsieh <chh@google.com> Fix misc-macro-parentheses warnings.

Bug: 28705665
Change-Id: Iaddda0f87395c44173a312f53e42a47c041d4526
ib/LVM_Types.h
b302bd5d288be2d3363b80053ca2392560b00b25 18-Feb-2014 Ashok Bhat <ashok.bhat@arm.com> LP64 fixes for media/libeffects

Changes include:

[x] In get parameter series of functions, replaced size_t*
formal parameter type with uint32_t* where actual parameter
passed was uint32_t*.

[x] In set parameter series of functions, changed size_t
formal parameter to uint32_t where actual parameter was
uint32_t.

[x] Changed the definition of LVM_UINT32 from unsigned
long to uint32_t as unsigned long is 64-bit in LP64.

[x] Used other stdint.h types for other LVM_types for
consistency.

[x] Use of uintptr_t for the pNextMember of the INST_ALLOC
structure, rather than LVM_UINT32, for portablility.

[x] Use of uintptr_t where pointers are used in arithmetic.

[x] Replaced the use of 0xFFFFFFFC with ~3 in places where
it was used to clear last two bits.

[x] Removed int casts where cmdSize and *replySize, both
uint32_t, were being compared with sizeof().

Change-Id: Ibec0b4d8e9b855f44b1cd853be6df84d13cf4186
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
ib/InstAlloc.h
ib/LVM_Types.h
rc/InstAlloc.c
d918324d44aa48b3b064ea9b87d0c520c38f15a9 27-Aug-2010 Eric Laurent <elaurent@google.com> LVM release 1.07 delivery.

- Virtualizer now uses the correct control parameter, instead of reverberation
- Volume smoothing for first frame has been added
- Equalizer_setParameter now returns correct error code
- Correcting Non-Linear compressor gain step noise during transitions and effect level changes
- Removed SVN header blocks
- Memory and MIPS values have been added to the API
- Reverb uses a more efficient malloc for input PCM
- Reverb DecayHFRatio now ranges up to 2000
- Logging has been removed for most volume functions

Change-Id: Ib59e7e331263c3811559231b4ae90c82e34a8421
ib/AGC.h
ib/BIQUAD.h
ib/CompLim.h
ib/Filter.h
ib/InstAlloc.h
ib/LVM_Common.h
ib/LVM_Macros.h
ib/LVM_Timer.h
ib/LVM_Types.h
ib/Mixer.h
ib/ScalarArithmetic.h
ib/VectorArithmetic.h
rc/AGC_MIX_VOL_2St1Mon_D32_WRA.c
rc/Abs_32.c
rc/Add2_Sat_16x16.c
rc/Add2_Sat_32x32.c
rc/BP_1I_D16F16C14_TRC_WRA_01.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BP_1I_D16F32C30_TRC_WRA_01.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Init.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Private.h
rc/BP_1I_D32F32C30_TRC_WRA_02.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Init.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Private.h
rc/BQ_1I_D16F16C15_TRC_WRA_01.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32C14_TRC_WRA_01.c
rc/BQ_1I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D16F16C14_TRC_WRA_01.c
rc/BQ_2I_D16F16C15_TRC_WRA_01.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32C13_TRC_WRA_01.c
rc/BQ_2I_D16F32C14_TRC_WRA_01.c
rc/BQ_2I_D16F32C15_TRC_WRA_01.c
rc/BQ_2I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D32F32C30_TRC_WRA_01.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Private.h
rc/CompLim_private.h
rc/Copy_16.c
rc/Core_MixHard_2St_D32C31_SAT.c
rc/Core_MixInSoft_D32C31_SAT.c
rc/Core_MixSoft_1St_D32C31_WRA.c
rc/DC_2I_D16_TRC_WRA_01.c
rc/DC_2I_D16_TRC_WRA_01_Init.c
rc/DC_2I_D16_TRC_WRA_01_Private.h
rc/DelayAllPass_Sat_32x16To32.c
rc/DelayMix_16x16.c
rc/DelayWrite_32.c
rc/FO_1I_D16F16C15_TRC_WRA_01.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Init.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Private.h
rc/FO_1I_D32F32C31_TRC_WRA_01.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Init.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Private.h
rc/FO_2I_D16F32C15_LShx_TRC_WRA_01.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h
rc/Filters.h
rc/From2iToMS_16x16.c
rc/From2iToMono_16.c
rc/From2iToMono_32.c
rc/InstAlloc.c
rc/Int16LShiftToInt32_16x32.c
rc/Int32RShiftToInt16_Sat_32x16.c
rc/JoinTo2i_32x32.c
rc/LVC_Core_MixHard_1St_2i_D16C31_SAT.c
rc/LVC_Core_MixHard_2St_D16C31_SAT.c
rc/LVC_Core_MixInSoft_D16C31_SAT.c
rc/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c
rc/LVC_Core_MixSoft_1St_D16C31_WRA.c
rc/LVC_MixInSoft_D16C31_SAT.c
rc/LVC_MixSoft_1St_2i_D16C31_SAT.c
rc/LVC_MixSoft_1St_D16C31_SAT.c
rc/LVC_MixSoft_2St_D16C31_SAT.c
rc/LVC_Mixer.h
rc/LVC_Mixer_GetCurrent.c
rc/LVC_Mixer_GetTarget.c
rc/LVC_Mixer_Init.c
rc/LVC_Mixer_Private.h
rc/LVC_Mixer_SetTarget.c
rc/LVC_Mixer_SetTimeConstant.c
rc/LVC_Mixer_VarSlope_SetTimeConstant.c
rc/LVM_FO_HPF.c
rc/LVM_FO_LPF.c
rc/LVM_GetOmega.c
rc/LVM_Mixer_FilterCoeffs.h
rc/LVM_Mixer_TimeConstant.c
rc/LVM_Polynomial.c
rc/LVM_Power10.c
rc/LVM_Timer.c
rc/LVM_Timer_Init.c
rc/LVM_Timer_Private.h
rc/LoadConst_16.c
rc/LoadConst_32.c
rc/MSTo2i_Sat_16x16.c
rc/Mac3s_Sat_16x16.c
rc/Mac3s_Sat_32x16.c
rc/MixInSoft_D32C31_SAT.c
rc/MixSoft_1St_D32C31_WRA.c
rc/MixSoft_2St_D32C31_SAT.c
rc/Mixer_private.h
rc/MonoTo2I_16.c
rc/MonoTo2I_32.c
rc/Mult3s_32x16.c
rc/NonLinComp_D16.c
rc/PK_2I_D32F32C14G11_TRC_WRA_01.c
rc/PK_2I_D32F32C30G11_TRC_WRA_01.c
rc/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CllGss_TRC_WRA_01_Private.h
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Private.h
rc/Shift_Sat_v16xv16.c
rc/Shift_Sat_v32xv32.c
rc/dB_to_Lin32.c
rc/mult3s_16x16.c
09d5ca3766d4bab91cdaad7206716a5747ebad77 23-Jul-2010 Eric Laurent <elaurent@google.com> LVM release 1.04.

Remaining warnings in the code have been removed
Core components support seamless insertion in the audio stream at playtime (Enabling / Disabling the effect).

Change-Id: Icae7085305fad663faeb5a94cb673b41cec5a9f1
rc/MixSoft_2St_D32C31_SAT.c
2c8e5cab3faa6d360e222b7a6c40a80083d021ac 09-Jul-2010 Eric Laurent <elaurent@google.com> First submission of audio effect library from NXP software.

This CL contains the first open sourceable version of the audio effect library from NXP software.
The effects implemented are:
- Bass boost
- Virtualizer (stereo widening)
- Equalizer
- Spectrum analyzer

Source file for the effect engines are located under libeffects/lvm/lib
The wrapper implementing the interface with the audio effect framework in under libeffects/lvm/wrapper

The code of other effect libraries has also been reorganized fo clarity:
- the effect factory is now under libeffects/factory
- the test equalizer and reverb effects are under libeffect/testlibs
- the visualizer is under libeffects/virtualizer

Change-Id: I8d91e2181f81b89f8fc0c1e1e6bf552c5809b2eb
ib/AGC.h
ib/BIQUAD.h
ib/CompLim.h
ib/Filter.h
ib/InstAlloc.h
ib/LVM_Common.h
ib/LVM_Macros.h
ib/LVM_Timer.h
ib/LVM_Types.h
ib/Mixer.h
ib/ScalarArithmetic.h
ib/VectorArithmetic.h
rc/AGC_MIX_VOL_2St1Mon_D32_WRA.c
rc/Abs_32.c
rc/Add2_Sat_16x16.c
rc/Add2_Sat_32x32.c
rc/BP_1I_D16F16C14_TRC_WRA_01.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BP_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BP_1I_D16F32C30_TRC_WRA_01.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Init.c
rc/BP_1I_D16F32Cll_TRC_WRA_01_Private.h
rc/BP_1I_D32F32C30_TRC_WRA_02.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Init.c
rc/BP_1I_D32F32Cll_TRC_WRA_02_Private.h
rc/BQ_1I_D16F16C15_TRC_WRA_01.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_1I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32C14_TRC_WRA_01.c
rc/BQ_1I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_1I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D16F16C14_TRC_WRA_01.c
rc/BQ_2I_D16F16C15_TRC_WRA_01.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Init.c
rc/BQ_2I_D16F16Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32C13_TRC_WRA_01.c
rc/BQ_2I_D16F32C14_TRC_WRA_01.c
rc/BQ_2I_D16F32C15_TRC_WRA_01.c
rc/BQ_2I_D16F32Css_TRC_WRA_01_Private.h
rc/BQ_2I_D16F32Css_TRC_WRA_01_init.c
rc/BQ_2I_D32F32C30_TRC_WRA_01.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c
rc/BQ_2I_D32F32Cll_TRC_WRA_01_Private.h
rc/CompLim_private.h
rc/Copy_16.c
rc/Core_MixHard_2St_D32C31_SAT.c
rc/Core_MixInSoft_D32C31_SAT.c
rc/Core_MixSoft_1St_D32C31_WRA.c
rc/DC_2I_D16_TRC_WRA_01.c
rc/DC_2I_D16_TRC_WRA_01_Init.c
rc/DC_2I_D16_TRC_WRA_01_Private.h
rc/DelayAllPass_Sat_32x16To32.c
rc/DelayMix_16x16.c
rc/DelayWrite_32.c
rc/FO_1I_D16F16C15_TRC_WRA_01.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Init.c
rc/FO_1I_D16F16Css_TRC_WRA_01_Private.h
rc/FO_1I_D32F32C31_TRC_WRA_01.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Init.c
rc/FO_1I_D32F32Cll_TRC_WRA_01_Private.h
rc/FO_2I_D16F32C15_LShx_TRC_WRA_01.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c
rc/FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h
rc/Filters.h
rc/From2iToMS_16x16.c
rc/From2iToMono_16.c
rc/From2iToMono_32.c
rc/InstAlloc.c
rc/Int16LShiftToInt32_16x32.c
rc/Int32RShiftToInt16_Sat_32x16.c
rc/JoinTo2i_32x32.c
rc/LVC_Core_MixHard_1St_2i_D16C31_SAT.c
rc/LVC_Core_MixHard_2St_D16C31_SAT.c
rc/LVC_Core_MixInSoft_D16C31_SAT.c
rc/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c
rc/LVC_Core_MixSoft_1St_D16C31_WRA.c
rc/LVC_MixInSoft_D16C31_SAT.c
rc/LVC_MixSoft_1St_2i_D16C31_SAT.c
rc/LVC_MixSoft_1St_D16C31_SAT.c
rc/LVC_MixSoft_2St_D16C31_SAT.c
rc/LVC_Mixer.h
rc/LVC_Mixer_GetCurrent.c
rc/LVC_Mixer_GetTarget.c
rc/LVC_Mixer_Init.c
rc/LVC_Mixer_Private.h
rc/LVC_Mixer_SetTarget.c
rc/LVC_Mixer_SetTimeConstant.c
rc/LVC_Mixer_VarSlope_SetTimeConstant.c
rc/LVM_FO_HPF.c
rc/LVM_FO_LPF.c
rc/LVM_GetOmega.c
rc/LVM_Mixer_FilterCoeffs.h
rc/LVM_Mixer_TimeConstant.c
rc/LVM_Polynomial.c
rc/LVM_Power10.c
rc/LVM_Timer.c
rc/LVM_Timer_Init.c
rc/LVM_Timer_Private.h
rc/LoadConst_16.c
rc/LoadConst_32.c
rc/MSTo2i_Sat_16x16.c
rc/Mac3s_Sat_16x16.c
rc/Mac3s_Sat_32x16.c
rc/MixInSoft_D32C31_SAT.c
rc/MixSoft_1St_D32C31_WRA.c
rc/MixSoft_2St_D32C31_SAT.c
rc/Mixer_private.h
rc/MonoTo2I_16.c
rc/MonoTo2I_32.c
rc/Mult3s_32x16.c
rc/NonLinComp_D16.c
rc/PK_2I_D32F32C14G11_TRC_WRA_01.c
rc/PK_2I_D32F32C30G11_TRC_WRA_01.c
rc/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CllGss_TRC_WRA_01_Private.h
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c
rc/PK_2I_D32F32CssGss_TRC_WRA_01_Private.h
rc/Shift_Sat_v16xv16.c
rc/Shift_Sat_v32xv32.c
rc/dB_to_Lin32.c
rc/mult3s_16x16.c