HomeSort by relevance Sort by last modified time
    Searched refs:Shift (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /frameworks/base/media/libeffects/lvm/lib/Common/src/
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;
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; // Update Shif
    [all...]
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;
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); // Update fractional gain Curren
    [all...]
dB_to_Lin32.c 70 LVM_INT16 Shift;
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));
LVM_Mixer_TimeConstant.c 68 LVM_UINT16 Shift;
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+1] + (LVM_UINT32)Diff
    [all...]
FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h 27 LVM_INT16 Shift; /* Shift value*/
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
LVC_Mixer_GetCurrent.c 39 CurrentGain=pInstance->Current>>(16-pInstance->Shift); // CurrentGain in Q16.15 format
LVC_Mixer_GetTarget.c 39 TargetGain=pInstance->Target>>(16-pInstance->Shift); // TargetGain in Q16.15 format
FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c 55 temp=pCoef->Shift;
56 pBiquadState->Shift = temp;
FO_2I_D16F32C15_LShx_TRC_WRA_01.c 28 pBiquadState->Shift is Shift value
45 LVM_INT16 Shift;
51 Shift = pBiquadState->Shift;
93 /*Apply shift: Instead of left shift on 16-bit result, right shift of (15-shift) is applied
95 ynL = ynL>>(15-Shift);
    [all...]
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);
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
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
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
omxVCM4P10_TransformDequantLumaDCFromPair.c 34 int Shift = (QP/6)-2 ;
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;
omxVCM4P10_TransformDequantChromaDCFromPair.c 34 int Shift = (QP/6)-1 ;
38 if (Shift >= 0)
42 Value = (pDst[i] * Scale) << Shift;
omxVCM4P10_DequantTransformResidualFromPairAndAdd.c 35 int Shift = QP / 6;
42 Value = (pSrcDst[i] * pVRow[armVCM4P10_PosToVCol4x4[i]]) << Shift;
  /frameworks/base/media/libeffects/lvm/lib/Common/lib/
CompLim.h 47 LVM_INT16 Shift; /* Shift gain */
  /frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_BypassMix.h 46 LVM_UINT16 Output_Shift; /* Correcting gain output shift */
54 /* Output gain settings, Gain = (Loss/32768) * 2^Shift */
55 LVM_UINT16 Shift; /* Left shifts required */
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
armCOMM.c 360 * Description: Divides a float value by 2^shift and
368 * [in] shift Divides the input "v" by "2^shift"
375 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits)
379 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
722 * [in] shift The shift number
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift)
    [all...]
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
armCOMM.c 360 * Description: Divides a float value by 2^shift and
368 * [in] shift Divides the input "v" by "2^shift"
375 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits)
379 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
722 * [in] shift The shift number
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift)
    [all...]
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
armCOMM.c 360 * Description: Divides a float value by 2^shift and
368 * [in] shift Divides the input "v" by "2^shift"
375 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits)
379 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
716 * Returns the result of rounded right shift operation of input by the scalefactor
718 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
722 * [in] shift The shift number
730 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift)
    [all...]
  /external/llvm/include/llvm/Support/
MathExtras.h 158 for (unsigned Shift = 32 >> 1; Shift; Shift >>= 1) {
159 uint32_t Tmp = Value >> Shift;
163 Count |= Shift;
195 for (unsigned Shift = 64 >> 1; Shift; Shift >>= 1) {
196 uint64_t Tmp = Value >> Shift;
200 Count |= Shift;
    [all...]
  /external/skia/src/core/
SkFloat.h 27 // void setShift(int value, int shift) { fPacked = SetShift(value, shift); }
32 // int getShift(int shift) const { return GetShift(fPacked, shift); }
40 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); }
41 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); }
43 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); }
44 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); }
100 static int GetShift(int32_t packed, int shift);
101 static int32_t SetShift(int value, int shift);
    [all...]
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
omxVCM4P10_TransformDequantChromaDCFromPair_s.s 54 Shift RN 9
103 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP]
109 LSL Scale, Scale, Shift ;// Scale = Scale << Shift
  /frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
omxVCM4P10_TransformDequantChromaDCFromPair_s.s 57 Shift RN 9
113 LDRSB Shift, [pQPDivTable, QP] ;// Shift = pQPDivTable[QP]
123 LSL Scale, Scale, Shift ;// Scale = Scale << Shift

Completed in 194 milliseconds

1 2 3 4