/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
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 | 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));
|
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_D16F32Css_LShx_TRC_WRA_01_Private.h | 27 LVM_INT16 Shift; /* Shift value*/ member in struct:_Filter_State_
|
H A D | LVC_MixInSoft_D16C31_SAT.c | 55 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format 59 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format 64 if(pInstance->Shift!=0){ 65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); 80 if(pInstance->Shift!=0) 81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); 85 if(pInstance->Shift!=0) 86 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); 101 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
|
H A D | LVC_Mixer_GetCurrent.c | 39 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format
|
H A D | LVC_Mixer_GetTarget.c | 39 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
|
H A D | FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c | 55 temp=pCoef->Shift; 56 pBiquadState->Shift = temp;
|
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 | LVC_MixSoft_2St_D16C31_SAT.c | 58 if(pInstance2->Shift!=0) 59 Shift_Sat_v16xv16 ((LVM_INT16)pInstance2->Shift,src2,src2,n); 60 if(pInstance1->Shift!=0) 62 Shift_Sat_v16xv16 ((LVM_INT16)pInstance1->Shift,src1,dst,n);
|
H A D | LVC_MixSoft_1St_D16C31_SAT.c | 55 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format 59 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format 64 if(pInstance->Shift!=0){ 65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); 80 else if(pInstance->Shift!=0){ 81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); 101 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
|
H A D | LVC_MixSoft_1St_2i_D16C31_SAT.c | 127 TargetGain=pInstance1->Target>>(16-pInstance1->Shift); // TargetGain in Q16.15 format 141 TargetGain=pInstance2->Target>>(16-pInstance2->Shift); // TargetGain in Q16.15 format
|
H A D | LVC_Mixer_Private.h | 34 LVM_INT32 Shift; /* Left Shift for Integer part of Gain */ member in struct:__anon170
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 49 int Shift = (QP/6)-2 ; local 53 if (Shift >= 0) 57 Value = (pDst[i] * Scale) << Shift; 63 Shift = -Shift;; 64 Round = 1<<(Shift-1); 68 Value = (pDst[i] * Scale + Round) >> Shift;
|
H A D | omxVCM4P10_TransformDequantChromaDCFromPair.c | 49 int Shift = (QP/6)-1 ; local 53 if (Shift >= 0) 57 Value = (pDst[i] * Scale) << Shift;
|
H A D | omxVCM4P10_DequantTransformResidualFromPairAndAdd.c | 50 int Shift = QP / 6; local 57 Value = (pSrcDst[i] * pVRow[armVCM4P10_PosToVCol4x4[i]]) << Shift;
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
H A D | CompLim.h | 47 LVM_INT16 Shift; /* Shift gain */ member in struct:__anon152
|
/frameworks/av/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:__anon217
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM.c | 769 * Or rounded Right shift if the input Shift is negative. 773 * [in] Shift Operand for shift operation 780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 784 if (Shift < 0) 786 Shift = -Shift; 787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 788 Value = Value >> Shift; 792 for (i = 0; i < Shift; i++) 805 * Or rounded Right shift if the input Shift i 816 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM.c | 769 * Or rounded Right shift if the input Shift is negative. 773 * [in] Shift Operand for shift operation 780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 784 if (Shift < 0) 786 Shift = -Shift; 787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 788 Value = Value >> Shift; 792 for (i = 0; i < Shift; i++) 805 * Or rounded Right shift if the input Shift i 816 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
H A D | armCOMM.c | 769 * Or rounded Right shift if the input Shift is negative. 773 * [in] Shift Operand for shift operation 780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) argument 784 if (Shift < 0) 786 Shift = -Shift; 787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); 788 Value = Value >> Shift; 792 for (i = 0; i < Shift; i++) 805 * Or rounded Right shift if the input Shift i 816 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 68 Shift RN 9 label 117 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP] 123 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformDequantChromaDCFromPair_s.s | 71 Shift RN 9 label 127 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP] 137 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
|
H A D | omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 73 Shift RN 4 label 155 LDRSB Shift, [pQPDivTable, QP] ;// ARM CODE: Shift = pQPDivTable[QP] 161 LSL Scale, Scale, Shift ;// ARM CODE: Scale = Scale << Shift 188 ;// Both the cases i.e., Shift>=0 and Shift<0 cases are covered together 189 ;// We do not subtract 2 from Shift as in C reference, instead perform a 190 ;// Scale << Shift once in the beginning and do a right shift by a
|