/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
H A D | FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h | 27 LVM_INT16 Shift; /* Shift value*/ member in struct:_Filter_State_
|
H A D | LVC_Mixer_Init.c | 30 /* This function caclulates the "Shift" required to provide the */ 34 /* MaxGain of 2.5, Shift = 2, Current=1.9/4=0.475, Target=2.5/4=0.625 */ 35 /* Therefore integer gain of 4 is provided by Left Shift of 2 and */ 52 LVM_INT16 Shift=0; local 59 while(MaxGain>0){ // Update Shift required to provide integer gain 60 Shift++; 63 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target 64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current 65 pInstance->Shift=Shift; // Updat [all...] |
H A D | LVC_Mixer_SetTarget.c | 27 /* This function updates the private instance parameters: Shift,Target,*/ 30 /* This function caclulates the "Shift" required to provide the */ 34 /* MaxGain of 2.5, Shift = 2, Current=1.9/4=0.475, Target=2.5/4=0.625 */ 35 /* Therefore integer gain of 4 is provided by Left Shift of 2 and */ 50 LVM_INT32 Shift=0; local 54 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format 59 while(MaxGain>0){ // Update Shift required to provide integer gain 60 Shift++; 63 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target 64 pInstance->Current=CurrentGain<<(16-Shift); // Updat [all...] |
H A D | LVC_Mixer_Private.h | 34 LVM_INT32 Shift; /* Left Shift for Integer part of Gain */ member in struct:__anon424
|
H A D | LVM_Mixer_TimeConstant.c | 68 LVM_UINT16 Shift; local 133 for (Shift=0; Shift<((Alpha_TableSize-1)/2); Shift++) 142 Shift = (LVM_UINT16)((Shift << 1)); 146 Shift++; 151 Diff = (LVM_INT32)(Table[Shift] - Table[Shift+1]); 153 Product = Table[Shift [all...] |
H A D | FO_2I_D16F32C15_LShx_TRC_WRA_01.c | 28 pBiquadState->Shift is Shift value 45 LVM_INT16 Shift; local 51 Shift = pBiquadState->Shift; 95 ynL = ynL>>(15-Shift); 96 ynR = ynR>>(15-Shift);
|
H A D | dB_to_Lin32.c | 70 LVM_INT16 Shift; local 81 Shift = (LVM_INT16)((((LVM_UINT32)(-db_fix) >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6dB steps in Q11.4 format */ 82 Remain = -db_fix - (Shift * SIX_DB); 84 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (16 + Shift)); 95 Shift = (LVM_INT16)((((LVM_UINT32)db_fix >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6dB steps in Q11.4 format */ 96 Remain = db_fix - (Shift * SIX_DB); 98 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (15 - Shift));
|
/frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/ |
H A D | LVCS_BypassMix.h | 54 /* Output gain settings, Gain = (Loss/32768) * 2^Shift */ 55 LVM_UINT16 Shift; /* Left shifts required */ member in struct:__anon471
|
/frameworks/base/media/libeffects/lvm/lib/Common/lib/ |
H A D | CompLim.h | 47 LVM_INT16 Shift; /* Shift gain */ member in struct:__anon406
|
H A D | BIQUAD.h | 76 /*** First order coefficients with Shift*****************************************************/ 82 LVM_INT16 Shift; /* Shift */ member in struct:__anon397
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 34 int Shift = (QP/6)-2 ; local 38 if (Shift >= 0) 42 Value = (pDst[i] * Scale) << Shift; 48 Shift = -Shift;; 49 Round = 1<<(Shift-1); 53 Value = (pDst[i] * Scale + Round) >> Shift;
|
H A D | omxVCM4P10_DequantTransformResidualFromPairAndAdd.c | 35 int Shift = QP / 6; local 42 Value = (pSrcDst[i] * pVRow[armVCM4P10_PosToVCol4x4[i]]) << Shift;
|
H A D | omxVCM4P10_TransformDequantChromaDCFromPair.c | 34 int Shift = (QP/6)-1 ; local 38 if (Shift >= 0) 42 Value = (pDst[i] * Scale) << Shift;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 54 Shift RN 9 label 103 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP] 109 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
|
H A D | omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 119 Shift RN 10 label 326 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP] 336 ;// Both the cases i.e., Shift>=0 and Shift<0 cases are covered together 337 ;// We do not subtract 2 from Shift as in C reference, instead perform a 338 ;// Scale << Shift once in the beginning and do a right shift by a 347 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 57 Shift RN 9 label 113 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP] 123 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
|
H A D | omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 59 Shift RN 4 label 141 LDRSB Shift, [pQPDivTable, QP] ;// ARM CODE: Shift = pQPDivTable[QP] 147 LSL Scale, Scale, Shift ;// ARM CODE: Scale = Scale << Shift 174 ;// Both the cases i.e., Shift>=0 and Shift<0 cases are covered together 175 ;// We do not subtract 2 from Shift as in C reference, instead perform a 176 ;// Scale << Shift once in the beginning and do a right shift by a
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM.c | 754 * Or rounded Right shift if the input Shift is negative. 758 * [in] Shift Operand for shift operation 765 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 769 if (Shift < 0) 771 Shift = -Shift; 772 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 773 Value = Value >> Shift; 777 for (i = 0; i < Shift; i++) 790 * Or rounded Right shift if the input Shift i 801 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM.c | 754 * Or rounded Right shift if the input Shift is negative. 758 * [in] Shift Operand for shift operation 765 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 769 if (Shift < 0) 771 Shift = -Shift; 772 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 773 Value = Value >> Shift; 777 for (i = 0; i < Shift; i++) 790 * Or rounded Right shift if the input Shift i 801 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
H A D | armCOMM.c | 754 * Or rounded Right shift if the input Shift is negative. 758 * [in] Shift Operand for shift operation 765 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 769 if (Shift < 0) 771 Shift = -Shift; 772 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 773 Value = Value >> Shift; 777 for (i = 0; i < Shift; i++) 790 * Or rounded Right shift if the input Shift i 801 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 2415 LVM_INT16 Shift; local 2420 for (Shift = 0; Shift<32; Shift++) 2432 * dB = -96 * Shift + 16 * (8 * Remainder - 2 * Remainder^2) 2434 db_fix = (LVM_INT16)(-96 * Shift); /* Six dB steps in Q11.4 format*/
|