/frameworks/av/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
|
/external/llvm/include/llvm/Support/ |
LEB128.h | 27 // NOTE: this assumes that this signed shift is an arithmetic right shift. 83 unsigned Shift = 0; 85 Value += uint64_t(*p & 0x7f) << Shift; 86 Shift += 7; 97 unsigned Shift = 0; 101 Value |= ((Byte & 0x7f) << Shift); 102 Shift += 7; 106 Value |= (-1ULL) << Shift;
|
/external/llvm/lib/Support/ |
ScaledNumber.cpp | 46 // Shift as little as possible to maximize precision. 48 int Shift = 64 - LeadingZeros; 50 Upper = Upper << LeadingZeros | Lower >> Shift; 51 return getRounded(Upper, Shift, 52 Shift && (Lower & UINT64_C(1) << (Shift - 1))); 64 int Shift = 0; 66 Shift -= Zeros; 74 return getAdjusted<uint32_t>(Quotient, Shift); 77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)) [all...] |
/external/clang/include/clang/Basic/ |
OperatorPrecedence.h | 39 Shift = 11, // <<, >>
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_TransformDequantLumaDCFromPair.c | 49 int Shift = (QP/6)-2 ; 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;
|
omxVCM4P10_TransformDequantChromaDCFromPair.c | 49 int Shift = (QP/6)-1 ; 53 if (Shift >= 0) 57 Value = (pDst[i] * Scale) << Shift;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/sh64/ |
shift32-3.d | 3 #source: shift-3.s 4 #name: Shift expression, local but undefined symbol, 32-bit ABI.
|
shift32-noexp-3.d | 3 #source: shift-3.s 4 #name: Shift expression, local but undefined symbol, 32-bit ABI with -no-expand.
|
shift64-3.d | 3 #source: shift-3.s 4 #name: Shift expression, local but undefined symbol, 64-bit ABI.
|
shift64-noexp-3.d | 3 #source: shift-3.s 4 #name: Shift expression, local but undefined symbol, 64-bit ABI with -no-expand.
|
/art/runtime/base/ |
bit_field_test.cc | 30 ASSERT_EQ(1, TestBitFields::Shift());
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
CompLim.h | 47 LVM_INT16 Shift; /* Shift gain */
|
/frameworks/av/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 */
|
/external/lzma/C/ |
Ppmd.h | 20 #define PPMD_GET_MEAN_SPEC(summ, shift, round) (((summ) + (1 << ((shift) - (round)))) >> (shift))
38 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
39 Byte Count; /* Count to next change of Shift */
42 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
43 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
|