/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-alg-fst.c | 43 word32 x32[MAXKC]; 49 *((word32*)tk[j]) = *((word32*)k[j]); 56 *((word32*)W[r][t]) = *((word32*)tk[j]); 74 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); 78 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); 85 *((word32*)tk[j]) ^= *((word32*)tk[j-1]) [all...] |
rijndael-api-fst.c | 122 ((word32*)block)[0] ^= ((word32*)iv)[0]; 123 ((word32*)block)[1] ^= ((word32*)iv)[1]; 124 ((word32*)block)[2] ^= ((word32*)iv)[2]; 125 ((word32*)block)[3] ^= ((word32*)iv)[3]; 127 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0] [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/ |
oper_32b.h | 35 void L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 36 Word32 L_Comp (Word16 hi, Word16 lo); 37 Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2); 38 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n); 39 Word32 Div_32 (Word32 L_num, Word32 denom); 40 Word16 iLog4(Word32 value); 41 Word32 rsqrt(Word32 value, Word32 accuracy) [all...] |
basic_op.h | 28 #define MAX_32 (Word32)0x7fffffffL 29 #define MIN_32 (Word32)0x80000000L 39 #define L_deposit_h(x) (((Word32)(x)) << 16) 43 #define L_deposit_l(x) ((Word32)(x)) 63 __inline Word16 saturate(Word32 L_var1); 65 Word16 saturate(Word32 L_var1); 83 __inline Word32 L_mult(Word16 var1, Word16 var2); 85 Word32 L_mult(Word16 var1, Word16 var2); 90 __inline Word32 L_msu (Word32 L_var3, Word16 var1, Word16 var2) [all...] |
basicop2.c | 44 | 32 bit long signed integer (Word32) whose value falls in the | 60 Word16 saturate(Word32 L_var1) 68 else if (L_var1 < (Word32) 0xffff8000L) 119 Word32 L_sum; 121 L_sum = (Word32)var1 + (Word32)var2; 165 Word32 L_diff; 167 L_diff = (Word32) var1 - var2; 264 Word32 result; 274 result = (Word32) var1 *((Word32) 1 << var2) [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
ms_stereo.h | 27 void MsStereoProcessing(Word32 *sfbEnergyLeft, 28 Word32 *sfbEnergyRight, 29 const Word32 *sfbEnergyMid, 30 const Word32 *sfbEnergySide, 31 Word32 *mdctSpectrumLeft, 32 Word32 *mdctSpectrumRight, 33 Word32 *sfbThresholdLeft, 34 Word32 *sfbThresholdRight, 35 Word32 *sfbSpreadedEnLeft, 36 Word32 *sfbSpreadedEnRight [all...] |
band_nrg.h | 30 void CalcBandEnergy(const Word32 *mdctSpectrum, 33 Word32 *bandEnergy, 34 Word32 *bandEnergySum); 37 void CalcBandEnergyMS(const Word32 *mdctSpectrumLeft, 38 const Word32 *mdctSpectrumRight, 41 Word32 *bandEnergyMid, 42 Word32 *bandEnergyMidSum, 43 Word32 *bandEnergySide, 44 Word32 *bandEnergySideSum);
|
tns_func.h | 31 Word16 InitTnsConfigurationLong(Word32 bitrate, 32 Word32 samplerate, 38 Word16 InitTnsConfigurationShort(Word32 bitrate, 39 Word32 samplerate, 45 Word32 TnsDetect(TNS_DATA* tnsData, 47 Word32* pScratchTns, 49 Word32* spectrum, 52 Word32 * sfbEnergy); 65 Word32* spectrum, 72 Word32 *thresholds) [all...] |
block_switch.h | 38 Word32 invAttackRatio; 47 Word32 windowNrg[2][BLOCK_SWITCH_WINDOWS]; /* time signal energy in Subwindows (last and current) */ 48 Word32 windowNrgF[2][BLOCK_SWITCH_WINDOWS]; /* filtered time signal energy in segments (last and current) */ 49 Word32 iirStates[BLOCK_SWITCHING_IIR_LEN]; /* filter delay-line */ 50 Word32 maxWindowNrg; /* max energy in subwindows */ 51 Word32 accWindowNrg; /* recursively accumulated windowNrgF */ 59 const Word32 bitRate, const Word16 nChannels); 63 Word32 sampleRate,
|
psy_data.h | 34 Word32 sfbLong[MAX_GROUPED_SFB]; 35 Word32 sfbShort[TRANS_FAC][MAX_SFB_SHORT]; 39 Word32 sfbLong[MAX_GROUPED_SFB]; 40 Word32 sfbShort[TRANS_FAC][MAX_SFB_SHORT]; 44 Word32 sfbLong; 45 Word32 sfbShort[TRANS_FAC]; 52 Word32 sfbThresholdnm1[MAX_SFB]; /* PreEchoControl */ 62 Word32 *mdctSpectrum; /* mdct spectrum [FRAME_LEN_LONG] */
|
pre_echo_control.h | 28 void InitPreEchoControl(Word32 *pbThresholdnm1, 30 Word32 *pbThresholdQuiet); 33 void PreEchoControl(Word32 *pbThresholdNm1, 35 Word32 maxAllowedIncreaseFactor, 37 Word32 *pbThreshold,
|
psy_configuration.h | 36 Word32 sfbThresholdQuiet[MAX_SFB_LONG]; 43 Word32 clipEnergy; /* for level dependend tmn */ 66 Word32 sfbThresholdQuiet[MAX_SFB_SHORT]; 73 Word32 clipEnergy; /* for level dependend tmn */ 91 Word32 GetSRIndex(Word32 sampleRate); 94 Word16 InitPsyConfigurationLong(Word32 bitrate, 95 Word32 samplerate, 99 Word16 InitPsyConfigurationShort(Word32 bitrate, 100 Word32 samplerate [all...] |
interface.h | 59 Word32 *sfbEnergy; 60 Word32 *sfbSpreadedEnergy; 61 Word32 *sfbThreshold; 62 Word32 *mdctSpectrum; 63 Word32 sfbEnSumLR; 64 Word32 sfbEnSumMS; 65 Word32 sfbDist[MAX_GROUPED_SFB]; 66 Word32 sfbDistNew[MAX_GROUPED_SFB]; 89 void BuildInterface(Word32 *mdctSpectrum,
|
psy_main.h | 38 Word32* pScratchTns; 43 Word16 PsyNew( PSY_KERNEL *hPsy, Word32 nChan, VO_MEM_OPERATOR *pMemOP); 50 Word32 sampleRate, 51 Word32 bitRate, 66 Word32 *pScratchTns, 67 Word32 sampleRate);
|
tns_param.h | 32 Word32 samplingRate; 38 Word32 bitRateFrom; 39 Word32 bitRateTo; 48 Word32 bitRate, Word16 channels, Word16 blockType); 50 void GetTnsMaxBands(Word32 samplingRate, Word16 blockType, Word16* tnsMaxSfb);
|
quantize.h | 34 Word16 *sfbOffset, Word32 *mdctSpectrum, 38 Word32 calcSfbDist(const Word32 *spec,
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
band_nrg.c | 33 void CalcBandEnergy(const Word32 *mdctSpectrum, 36 Word32 *bandEnergy, 37 Word32 *bandEnergySum) 39 Word32 i, j; 40 Word32 accuSum = 0; 43 Word32 accu = 0; 60 void CalcBandEnergyMS(const Word32 *mdctSpectrumLeft, 61 const Word32 *mdctSpectrumRight, 64 Word32 *bandEnergyMid, 65 Word32 *bandEnergyMidSum [all...] |
ms_stereo.c | 37 void MsStereoProcessing(Word32 *sfbEnergyLeft, 38 Word32 *sfbEnergyRight, 39 const Word32 *sfbEnergyMid, 40 const Word32 *sfbEnergySide, 41 Word32 *mdctSpectrumLeft, 42 Word32 *mdctSpectrumRight, 43 Word32 *sfbThresholdLeft, 44 Word32 *sfbThresholdRight, 45 Word32 *sfbSpreadedEnLeft, 46 Word32 *sfbSpreadedEnRight [all...] |
quantize.c | 32 static const Word32 XROUND = 0x33e425af; /* final rounding constant (-0.0946f+ 0.5f) */ 41 __inline Word32 pow34(Word32 x) 56 static Word16 quantizeSingleLine(const Word16 gain, const Word32 absSpectrum) 58 Word32 e, minusFinalExp, finalShift; 59 Word32 x; 106 const Word32 *mdctSpectrum, 109 Word32 line; 110 Word32 m = gain&3; 111 Word32 g = (gain >> 2) + 4 [all...] |
pre_echo_control.c | 36 void InitPreEchoControl(Word32 *pbThresholdNm1, 38 Word32 *pbThresholdQuiet) 55 void PreEchoControl(Word32 *pbThresholdNm1, 57 Word32 maxAllowedIncreaseFactor, 59 Word32 *pbThreshold, 63 Word32 i; 64 Word32 tmpThreshold1, tmpThreshold2; 65 Word32 scaling;
|
tns.c | 38 static const Word32 TNS_PARCOR_THRESH = 0x0ccccccd; /* 0.1*(1 << 31) */ 55 static void CalcWeightedSpectrum(const Word32 spectrum[], 57 Word32* sfbEnergy, 60 Word32 *pWork32); 64 void AutoCorrelation(const Word16 input[], Word32 corr[], 66 static Word16 AutoToParcor(Word32 workBuffer[], Word32 reflCoeff[], Word16 numOfCoeff); 68 static Word16 CalcTnsFilter(const Word16* signal, const Word32 window[], Word16 numOfLines, 69 Word16 tnsOrder, Word32 parcor[]); 72 static void Parcor2Index(const Word32 parcor[], Word16 index[], Word16 order [all...] |
interface.c | 34 void BuildInterface(Word32 *groupedMdctSpectrum, 51 Word32 j; 52 Word32 grp; 53 Word32 mask; 99 Word32 i; 100 Word32 accuSumMS=0; 101 Word32 accuSumLR=0; 102 Word32 *pSumMS = sfbEnergySumMS.sfbShort; 103 Word32 *pSumLR = sfbEnergySumLR.sfbShort;
|
block_switch.c | 34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]); 36 static Word32 37 SrchMaxWithIndex(const Word32 *in, Word16 *index, Word16 n); 40 Word32 54 Word32 hiPassCoeff[BLOCK_SWITCHING_IIR_LEN] = { 58 static const Word32 accWindowNrgFac = 0x26666666; /* factor for accumulating filtered window energies 0.3 */ 59 static const Word32 oneMinusAccWindowNrgFac = 0x5999999a; /* 0.7 */ 60 static const Word32 invAttackRatioHighBr = 0x0ccccccd; /* inverted lower ratio limit for attacks 0.1*/ 61 static const Word32 invAttackRatioLowBr = 0x072b020c; /* 0.056 * [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
oper_32b.h | 24 void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 25 Word32 L_Comp (Word16 hi, Word16 lo); 26 Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2); 27 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n); 28 Word32 Div_32 (Word32 L_num, Word16 denom_hi, Word16 denom_lo);
|
basic_op.h | 25 #define MAX_32 (Word32)0x7fffffffL 26 #define MIN_32 (Word32)0x80000000L 38 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff))) 41 #define L_deposit_h(x) (((Word32)(x)) << 16) /* 16 bit var1 -> MSB, 2 */ 42 #define L_deposit_l(x) ((Word32)(x)) /* 16 bit var1 -> LSB, 2 */ 57 #define vo_L_deposit_h(a) ((Word32)((a) << 16)) 64 #define vo_L_shr_r(L_var1, var2) ((L_var1+((Word32)(1L<<(var2-1))))>>var2) 77 static_vo Word32 L_mult (Word16 var1, Word16 var2); /* Long mult, 1 */ 78 static_vo Word16 voround (Word32 L_var1); /* Round, 1 */ 79 static_vo Word32 L_mac (Word32 L_var3, Word16 var1, Word16 var2); /* Mac, 1 * [all...] |