Home
last modified time | relevance | path

Searched refs:Shift (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Mixer_TimeConstant.c74 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() local
138 for (Shift = 0; Shift < ((Alpha_TableSize - 1) / 2); Shift++) in LVM_Mixer_TimeConstant()
147 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant()
151 Shift++; in LVM_Mixer_TimeConstant()
157 Diff = (Table[Shift] - Table[Shift + 1]); in LVM_Mixer_TimeConstant()
159 ProductFloat = Table[Shift + 1] + Diff; in LVM_Mixer_TimeConstant()
171 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() local
236 for (Shift=0; Shift<((Alpha_TableSize-1)/2); Shift++) in LVM_Mixer_TimeConstant()
245 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant()
249 Shift++; in LVM_Mixer_TimeConstant()
[all …]
DLVC_Mixer_SetTarget.c57 LVM_INT32 Shift=0; in LVC_Mixer_SetTarget() local
61 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_SetTarget()
67 Shift++; in LVC_Mixer_SetTarget()
70 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target in LVC_Mixer_SetTarget()
71 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_SetTarget()
72 pInstance->Shift=Shift; // Update Shift in LVC_Mixer_SetTarget()
DdB_to_Lin32.c85 LVM_INT16 Shift; in dB_to_Lin32() local
96Shift = (LVM_INT16)((((LVM_UINT32)(-db_fix) >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6d… in dB_to_Lin32()
97 Remain = -db_fix - (Shift * SIX_DB); in dB_to_Lin32()
99 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (16 + Shift)); in dB_to_Lin32()
110Shift = (LVM_INT16)((((LVM_UINT32)db_fix >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6dB s… in dB_to_Lin32()
111 Remain = db_fix - (Shift * SIX_DB); in dB_to_Lin32()
113 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (15 - Shift)); in dB_to_Lin32()
DLVC_Mixer_Init.c64 LVM_INT16 Shift=0; in LVC_Mixer_Init() local
72 Shift++; in LVC_Mixer_Init()
75 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target in LVC_Mixer_Init()
76 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_Init()
77 pInstance->Shift=Shift; // Update Shift in LVC_Mixer_Init()
DLVC_MixInSoft_D16C31_SAT.c128 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
132 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
137 if(pInstance->Shift!=0){ in LVC_MixInSoft_D16C31_SAT()
138 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
153 if(pInstance->Shift!=0) in LVC_MixInSoft_D16C31_SAT()
154 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
158 if(pInstance->Shift!=0) in LVC_MixInSoft_D16C31_SAT()
159 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
174 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
DLVC_MixSoft_1St_D16C31_SAT.c125 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
129 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
134 if(pInstance->Shift!=0){ in LVC_MixSoft_1St_D16C31_SAT()
135 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
150 else if(pInstance->Shift!=0){ in LVC_MixSoft_1St_D16C31_SAT()
151 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
171 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
DFO_2I_D16F32C15_LShx_TRC_WRA_01.c130 LVM_INT16 Shift; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local
136 Shift = pBiquadState->Shift; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
180 ynL = ynL>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
181 ynR = ynR>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
DLVC_MixSoft_2St_D16C31_SAT.c100 if(pInstance2->Shift!=0) in LVC_MixSoft_2St_D16C31_SAT()
101 Shift_Sat_v16xv16 ((LVM_INT16)pInstance2->Shift,src2,src2,n); in LVC_MixSoft_2St_D16C31_SAT()
102 if(pInstance1->Shift!=0) in LVC_MixSoft_2St_D16C31_SAT()
104 Shift_Sat_v16xv16 ((LVM_INT16)pInstance1->Shift,src1,dst,n); in LVC_MixSoft_2St_D16C31_SAT()
DFO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c72 temp=pCoef->Shift; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init()
73 pBiquadState->Shift = temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init()
DFO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h36 LVM_INT16 Shift; /* Shift value*/ member
DLVC_Mixer_GetTarget.c48 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_Mixer_GetTarget()
DLVC_Mixer_GetCurrent.c47 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_GetCurrent()
DLVC_MixSoft_1St_2i_D16C31_SAT.c258 TargetGain=pInstance1->Target>>(16-pInstance1->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_2i_D16C31_SAT()
272 TargetGain=pInstance2->Target>>(16-pInstance2->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_2i_D16C31_SAT()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
DarmCOMM.c780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) in armSatRoundLeftShift_S32() argument
784 if (Shift < 0) in armSatRoundLeftShift_S32()
786 Shift = -Shift; in armSatRoundLeftShift_S32()
787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); in armSatRoundLeftShift_S32()
788 Value = Value >> Shift; in armSatRoundLeftShift_S32()
792 for (i = 0; i < Shift; i++) in armSatRoundLeftShift_S32()
816 OMX_S64 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) in armSatRoundLeftShift_S64() argument
820 if (Shift < 0) in armSatRoundLeftShift_S64()
822 Shift = -Shift; in armSatRoundLeftShift_S64()
823 Value = armSatAdd_S64(Value, ((OMX_S64)1 << (Shift - 1))); in armSatRoundLeftShift_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
DarmCOMM.c780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) in armSatRoundLeftShift_S32() argument
784 if (Shift < 0) in armSatRoundLeftShift_S32()
786 Shift = -Shift; in armSatRoundLeftShift_S32()
787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); in armSatRoundLeftShift_S32()
788 Value = Value >> Shift; in armSatRoundLeftShift_S32()
792 for (i = 0; i < Shift; i++) in armSatRoundLeftShift_S32()
816 OMX_S64 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) in armSatRoundLeftShift_S64() argument
820 if (Shift < 0) in armSatRoundLeftShift_S64()
822 Shift = -Shift; in armSatRoundLeftShift_S64()
823 Value = armSatAdd_S64(Value, ((OMX_S64)1 << (Shift - 1))); in armSatRoundLeftShift_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
DarmCOMM.c780 OMX_S32 armSatRoundLeftShift_S32(OMX_S32 Value, OMX_INT Shift) in armSatRoundLeftShift_S32() argument
784 if (Shift < 0) in armSatRoundLeftShift_S32()
786 Shift = -Shift; in armSatRoundLeftShift_S32()
787 Value = armSatAdd_S32(Value, (1 << (Shift - 1))); in armSatRoundLeftShift_S32()
788 Value = Value >> Shift; in armSatRoundLeftShift_S32()
792 for (i = 0; i < Shift; i++) in armSatRoundLeftShift_S32()
816 OMX_S64 armSatRoundLeftShift_S64(OMX_S64 Value, OMX_INT Shift) in armSatRoundLeftShift_S64() argument
820 if (Shift < 0) in armSatRoundLeftShift_S64()
822 Shift = -Shift; in armSatRoundLeftShift_S64()
823 Value = armSatAdd_S64(Value, ((OMX_S64)1 << (Shift - 1))); in armSatRoundLeftShift_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DomxVCM4P10_TransformDequantLumaDCFromPair.c49 int Shift = (QP/6)-2 ; in DequantLumaDC4x4() local
53 if (Shift >= 0) in DequantLumaDC4x4()
57 Value = (pDst[i] * Scale) << Shift; in DequantLumaDC4x4()
63 Shift = -Shift;; in DequantLumaDC4x4()
64 Round = 1<<(Shift-1); in DequantLumaDC4x4()
68 Value = (pDst[i] * Scale + Round) >> Shift; in DequantLumaDC4x4()
DomxVCM4P10_TransformDequantChromaDCFromPair.c49 int Shift = (QP/6)-1 ; in DequantChromaDC2x2() local
53 if (Shift >= 0) in DequantChromaDC2x2()
57 Value = (pDst[i] * Scale) << Shift; in DequantChromaDC2x2()
DomxVCM4P10_DequantTransformResidualFromPairAndAdd.c50 int Shift = QP / 6; in DequantLumaAC4x4() local
57 Value = (pSrcDst[i] * pVRow[armVCM4P10_PosToVCol4x4[i]]) << Shift; in DequantLumaAC4x4()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_BypassMix.h59 LVM_UINT16 Shift; /* Left shifts required */ member
67 LVM_UINT16 Shift; /* Left shifts required */ member
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DomxVCM4P10_TransformDequantChromaDCFromPair_s.s71 Shift RN 9 label
127 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP]
137 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
DomxVCM4P10_TransformDequantLumaDCFromPair_s.s73 Shift RN 4 label
155 LDRSB Shift, [pQPDivTable, QP] ;// ARM CODE: Shift = pQPDivTable[QP]
161 LSL Scale, Scale, Shift ;// ARM CODE: Scale = Scale << Shift
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DomxVCM4P10_TransformDequantChromaDCFromPair_s.s68 Shift RN 9 label
117 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP]
123 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
DomxVCM4P10_TransformDequantLumaDCFromPair_s.s133 Shift RN 10 label
340 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP]
361 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DCompLim.h47 LVM_INT16 Shift; /* Shift gain */ member

12