Home
last modified time | relevance | path

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

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Mixer_TimeConstant.c68 LVM_UINT16 Shift; in LVM_Mixer_TimeConstant() local
133 for (Shift=0; Shift<((Alpha_TableSize-1)/2); Shift++) in LVM_Mixer_TimeConstant()
142 Shift = (LVM_UINT16)((Shift << 1)); in LVM_Mixer_TimeConstant()
146 Shift++; in LVM_Mixer_TimeConstant()
151 Diff = (LVM_INT32)(Table[Shift] - Table[Shift+1]); in LVM_Mixer_TimeConstant()
153 Product = Table[Shift+1] + (LVM_UINT32)Diff; in LVM_Mixer_TimeConstant()
DLVC_Mixer_SetTarget.c50 LVM_INT32 Shift=0; in LVC_Mixer_SetTarget() local
54 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_SetTarget()
60 Shift++; in LVC_Mixer_SetTarget()
63 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target in LVC_Mixer_SetTarget()
64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_SetTarget()
65 pInstance->Shift=Shift; // Update Shift in LVC_Mixer_SetTarget()
DdB_to_Lin32.c70 LVM_INT16 Shift; in dB_to_Lin32() local
81Shift = (LVM_INT16)((((LVM_UINT32)(-db_fix) >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6d… in dB_to_Lin32()
82 Remain = -db_fix - (Shift * SIX_DB); in dB_to_Lin32()
84 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (16 + Shift)); in dB_to_Lin32()
95Shift = (LVM_INT16)((((LVM_UINT32)db_fix >> 4) * FOUR_OVER_SIX) >> 17); /* Number of 6dB s… in dB_to_Lin32()
96 Remain = db_fix - (Shift * SIX_DB); in dB_to_Lin32()
98 Lin_val_32 = (LVM_INT32)((LVM_UINT32)Remain >> (15 - Shift)); in dB_to_Lin32()
DLVC_MixInSoft_D16C31_SAT.c55 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
59 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
64 if(pInstance->Shift!=0){ in LVC_MixInSoft_D16C31_SAT()
65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
80 if(pInstance->Shift!=0) in LVC_MixInSoft_D16C31_SAT()
81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
85 if(pInstance->Shift!=0) in LVC_MixInSoft_D16C31_SAT()
86 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); in LVC_MixInSoft_D16C31_SAT()
101 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixInSoft_D16C31_SAT()
DLVC_Mixer_Init.c52 LVM_INT16 Shift=0; in LVC_Mixer_Init() local
60 Shift++; in LVC_Mixer_Init()
63 pInstance->Target=TargetGain<<(16-Shift); // Update fractional gain Target in LVC_Mixer_Init()
64 pInstance->Current=CurrentGain<<(16-Shift); // Update fractional gain Current in LVC_Mixer_Init()
65 pInstance->Shift=Shift; // Update Shift in LVC_Mixer_Init()
DLVC_MixSoft_1St_D16C31_SAT.c55 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
59 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
64 if(pInstance->Shift!=0){ in LVC_MixSoft_1St_D16C31_SAT()
65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
80 else if(pInstance->Shift!=0){ in LVC_MixSoft_1St_D16C31_SAT()
81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); in LVC_MixSoft_1St_D16C31_SAT()
101 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_D16C31_SAT()
DFO_2I_D16F32C15_LShx_TRC_WRA_01.c45 LVM_INT16 Shift; in FO_2I_D16F32C15_LShx_TRC_WRA_01() local
51 Shift = pBiquadState->Shift; in FO_2I_D16F32C15_LShx_TRC_WRA_01()
95 ynL = ynL>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
96 ynR = ynR>>(15-Shift); in FO_2I_D16F32C15_LShx_TRC_WRA_01()
DLVC_MixSoft_2St_D16C31_SAT.c58 if(pInstance2->Shift!=0) in LVC_MixSoft_2St_D16C31_SAT()
59 Shift_Sat_v16xv16 ((LVM_INT16)pInstance2->Shift,src2,src2,n); in LVC_MixSoft_2St_D16C31_SAT()
60 if(pInstance1->Shift!=0) in LVC_MixSoft_2St_D16C31_SAT()
62 Shift_Sat_v16xv16 ((LVM_INT16)pInstance1->Shift,src1,dst,n); in LVC_MixSoft_2St_D16C31_SAT()
DFO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c55 temp=pCoef->Shift; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init()
56 pBiquadState->Shift = temp; in FO_2I_D16F32Css_LShx_TRC_WRA_01_Init()
DLVC_MixSoft_1St_2i_D16C31_SAT.c127 TargetGain=pInstance1->Target>>(16-pInstance1->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_2i_D16C31_SAT()
141 TargetGain=pInstance2->Target>>(16-pInstance2->Shift); // TargetGain in Q16.15 format in LVC_MixSoft_1St_2i_D16C31_SAT()
DFO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h27 LVM_INT16 Shift; /* Shift value*/ member
DLVC_Mixer_GetCurrent.c39 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format in LVC_Mixer_GetCurrent()
DLVC_Mixer_GetTarget.c39 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format in LVC_Mixer_GetTarget()
/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/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/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/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/StereoWidening/src/
DLVCS_BypassMix.h55 LVM_UINT16 Shift; /* Left shifts required */ member
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DCompLim.h47 LVM_INT16 Shift; /* Shift gain */ member

12