/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
psy_configuration.h | 32 Word16 sfbCnt; 33 Word16 sfbActive; /* number of sf bands containing energy after lowpass */ 34 const Word16 *sfbOffset; 38 Word16 maxAllowedIncreaseFactor; /* preecho control */ 39 Word16 minRemainingThresholdFactor; 41 Word16 lowpassLine; 42 Word16 sampRateIdx; 45 Word16 ratio; 46 Word16 sfbMaskLowFactor[MAX_SFB_LONG]; 47 Word16 sfbMaskHighFactor[MAX_SFB_LONG] [all...] |
qc_data.h | 53 Word16 instanceTag; 54 Word16 nChannelsInEl; 55 Word16 ChannelIndex[MAX_CHANNELS]; 67 Word16 maxBits; /* maximum number of bits in reservoir */ 68 Word16 averageBits; /* average number of bits we should use */ 69 Word16 bitRes; 70 Word16 meanPe; 72 Word16 maxBitFac; 80 Word16 *quantSpec; /* [FRAME_LEN_LONG]; */ 82 Word16 *scf; /* [MAX_GROUPED_SFB]; * [all...] |
interface.h | 45 Word16 msDigest; 46 Word16 msMask[MAX_GROUPED_SFB]; 51 Word16 sfbCnt; 52 Word16 sfbPerGroup; 53 Word16 maxSfbPerGroup; 54 Word16 windowSequence; 55 Word16 windowShape; 56 Word16 groupingMask; 57 Word16 sfbOffsets[MAX_GROUPED_SFB+1]; 58 Word16 mdctScale [all...] |
tns.h | 37 Word16 threshOn; /* min. prediction gain for using tns TABUL * 100*/ 45 Word16 tnsActive; 46 Word16 tnsMaxSfb; 48 Word16 maxOrder; /* max. order of tns filter */ 49 Word16 tnsStartFreq; /* lowest freq. for tns filtering */ 50 Word16 coefRes; 56 Word16 tnsStartBand; 57 Word16 tnsStartLine; 59 Word16 tnsStopBand; 60 Word16 tnsStopLine [all...] |
dyn_bits.h | 41 Word16 codeBook; 42 Word16 sfbStart; 43 Word16 sfbCnt; 44 Word16 sectionBits; 53 Word16 blockType; 54 Word16 noOfGroups; 55 Word16 sfbCnt; 56 Word16 maxSfbPerGroup; 57 Word16 sfbPerGroup; 58 Word16 noOfSections [all...] |
tns_func.h | 31 Word16 InitTnsConfigurationLong(Word32 bitrate, 33 Word16 channels, 36 Word16 active); 38 Word16 InitTnsConfigurationShort(Word32 bitrate, 40 Word16 channels, 43 Word16 active); 48 const Word16 sfbOffset[], 50 Word16 subBlockNumber, 51 Word16 blockType, 57 const Word16 subBlockNumber [all...] |
psy_main.h | 34 PSY_CONFIGURATION_LONG psyConfLong; /* Word16 size: 515 */ 35 PSY_CONFIGURATION_SHORT psyConfShort; /* Word16 size: 167 */ 36 PSY_DATA psyData[MAX_CHANNELS]; /* Word16 size: MAX_CHANNELS*1669*/ 37 TNS_DATA tnsData[MAX_CHANNELS]; /* Word16 size: MAX_CHANNELS*235 */ 39 Word16 sampleRateIdx; 40 }PSY_KERNEL; /* Word16 size: 2587 / 4491 */ 43 Word16 PsyNew( PSY_KERNEL *hPsy, Word32 nChan, VO_MEM_OPERATOR *pMemOP); 44 Word16 PsyDelete( PSY_KERNEL *hPsy, VO_MEM_OPERATOR *pMemOP); 46 Word16 PsyOutNew( PSY_OUT *hPsyOut, VO_MEM_OPERATOR *pMemOP); 47 Word16 PsyOutDelete( PSY_OUT *hPsyOut, VO_MEM_OPERATOR *pMemOP) [all...] |
line_pe.h | 32 Word16 sfbLdEnergy[MAX_GROUPED_SFB]; /* 4*log(sfbEnergy)/log(2) */ 33 Word16 sfbNLines4[MAX_GROUPED_SFB]; /* 4*number of relevant lines in sfb */ 34 Word16 sfbPe[MAX_GROUPED_SFB]; /* pe for each sfb */ 35 Word16 sfbConstPart[MAX_GROUPED_SFB]; /* constant part for each sfb */ 36 Word16 sfbNActiveLines[MAX_GROUPED_SFB]; /* number of active lines in sfb */ 37 Word16 pe; /* sum of sfbPe */ 38 Word16 constPart; /* sum of sfbConstPart */ 39 Word16 nActiveLines; /* sum of sfbNActiveLines */ 40 } PE_CHANNEL_DATA; /* size Word16: 303 */ 45 Word16 pe [all...] |
quantize.h | 31 void QuantizeSpectrum(Word16 sfbCnt, 32 Word16 maxSfbPerGroup, 33 Word16 sfbPerGroup, 34 Word16 *sfbOffset, Word32 *mdctSpectrum, 35 Word16 globalGain, Word16 *scalefactors, 36 Word16 *quantizedSpectrum); 39 Word16 sfbWidth, 40 Word16 gain);
|
block_switch.h | 39 Word16 windowSequence; 40 Word16 nextwindowSequence; 43 Word16 attackIndex; 44 Word16 lastAttackIndex; 45 Word16 noOfGroups; 46 Word16 groupLen[TRANS_FAC]; 58 Word16 InitBlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, 59 const Word32 bitRate, const Word16 nChannels); 61 Word16 BlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl, 62 Word16 *timeSignal [all...] |
grp_data.h | 35 const Word16 sfbCnt, 36 const Word16 *sfbOffset, 37 const Word16 *sfbMinSnr, 38 Word16 *groupedSfbOffset, 39 Word16 *maxSfbPerGroup, 40 Word16 *groupedSfbMinSnr, 41 const Word16 noOfGroups, 42 const Word16 *groupLen);
|
adj_thr_data.h | 31 Word16 clipSaveLow, clipSaveHigh; 32 Word16 minBitSave, maxBitSave; 33 Word16 clipSpendLow, clipSpendHigh; 34 Word16 minBitSpend, maxBitSpend; 39 Word16 startSfbL, startSfbS; 51 Word16 peMin, peMax; 53 Word16 peOffset; 59 Word16 peLast; 60 Word16 dynBitsLast; 61 Word16 peCorrectionFactor [all...] |
bit_cnt.h | 94 Word16 bitCount(const Word16 *aQuantSpectrum, 95 const Word16 noOfSpecLines, 96 Word16 maxVal, 97 Word16 *bitCountLut); 99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream); 101 Word16 bitCountScalefactorDelta(Word16 delta) [all...] |
ms_stereo.h | 37 Word16 *msDigest, 38 Word16 *msMask, 39 const Word16 sfbCnt, 40 const Word16 sfbPerGroup, 41 const Word16 maxSfbPerGroup, 42 const Word16 *sfbOffset);
|
qc_main.h | 32 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP); 36 Word16 QCNew(QC_STATE *hQC, VO_MEM_OPERATOR *pMemOP); 38 Word16 QCInit(QC_STATE *hQC, 44 Word16 QCMain(QC_STATE *hQC, 51 Word16 nChannels, 52 Word16 ancillaryDataBytes); /* returns error code */ 57 Word16 FinalizeBitConsumption(QC_STATE *hQC, 60 Word16 AdjustBitrate(QC_STATE *hQC,
|
adj_thr.h | 30 Word16 bits2pe(const Word16 bits); 45 Word16 *chBitDistribution, 46 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 47 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 50 const Word16 nChannels, 51 const Word16 maxBitFac); 54 const Word16 dynBitsUsed);
|
sf_estim.h | 33 CalcFormFactor(Word16 logSfbFormFactor[MAX_CHANNELS][MAX_GROUPED_SFB], 34 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 35 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 37 const Word16 nChannels); 42 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 43 Word16 logSfbFormFactor[MAX_CHANNELS][MAX_GROUPED_SFB], 44 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 45 const Word16 nChannels);
|
bitenc.h | 33 Word16 nChannels; 36 Word16 profile; 41 Word16 WriteBitstream (HANDLE_BIT_BUF hBitstream, 45 Word16 *globUsedBits, 47 Word16 samplerate
|
/frameworks/av/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) [all...] |
acelp.h | 33 Word16 median5(Word16 x[]); 36 Word16 x[], /* (i) : Input signal */ 37 Word16 m, /* (i) : LPC order */ 38 Word16 r_h[], /* (o) : Autocorrelations (msb) */ 39 Word16 r_l[] /* (o) : Autocorrelations (lsb) */ 43 Word16 r_h[], /* (i/o) : Autocorrelations (msb) */ 44 Word16 r_l[] /* (i/o) : Autocorrelations (lsb) */ 48 Word16 * mem /* output :static memory (18 words) */ 52 Word16 Rh[], /* (i) : Rh[M+1] Vector of autocorrelations (msb) * [all...] |
cod_main.h | 35 Word16 mem_decim[2 * L_FILT16k]; /* speech decimated filter memory */ 36 Word16 mem_sig_in[6]; /* hp50 filter memory */ 37 Word16 mem_preemph; /* speech preemph filter memory */ 38 Word16 old_speech[L_TOTAL - L_FRAME]; /* old speech vector at 12.8kHz */ 39 Word16 old_wsp[PIT_MAX / OPL_DECIM]; /* old decimated weighted speech vector */ 40 Word16 old_exc[PIT_MAX + L_INTERPOL]; /* old excitation vector */ 41 Word16 mem_levinson[M + 2]; /* levinson routine memory */ 42 Word16 ispold[M]; /* old isp (immittance spectral pairs) */ 43 Word16 ispold_q[M]; /* quantized old isp */ 44 Word16 past_isfq[M]; /* past isf quantizer * [all...] |
dtx.h | 44 Word16 isf_hist[M * DTX_HIST_SIZE]; 45 Word16 log_en_hist[DTX_HIST_SIZE]; 46 Word16 hist_ptr; 47 Word16 log_en_index; 48 Word16 cng_seed; 50 Word16 dtxHangoverCount; 51 Word16 decAnaElapsedCount; 79 Word16 dtx_enc_init(dtx_encState ** st, Word16 isf_init[], VO_MEM_OPERATOR *pMemOP); 80 Word16 dtx_enc_reset(dtx_encState * st, Word16 isf_init[]) [all...] |
basic_op.h | 28 #define MAX_16 (Word16)+32767 /* 0x7fff */ 29 #define MIN_16 (Word16)-32768 /* 0x8000 */ 36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) /* Short abs, 1 */ 40 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1)))) /* Short negate, 1*/ 44 #define extract_h(a) ((Word16)(a >> 16)) 45 #define extract_l(x) (Word16)((x)) 51 #define vo_shr_r(var1, var2) ((var1+((Word16)(1L<<(var2-1))))>>var2) 55 #define vo_extract_l(a) ((Word16)(a)) 68 static_vo Word16 add (Word16 var1, Word16 var2); /* Short add,1 * [all...] |
/frameworks/av/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) [all...] |
basic_op.h | 31 #define MAX_16 (Word16)0x7fff 32 #define MIN_16 (Word16)0x8000 36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) 51 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1)))) 63 __inline Word16 saturate(Word32 L_var1); 65 Word16 saturate(Word32 L_var1); 70 __inline Word16 shl (Word16 var1, Word16 var2); 72 Word16 shl (Word16 var1, Word16 var2) [all...] |