Home
last modified time | relevance | path

Searched refs:framelength (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc43 size_t framelength = 80; in main() local
86 framelength = static_cast<size_t>(framelength_int); in main()
123 endfile = readframe(shortdata, inp, framelength); in main()
128 stream_len = WebRtcG711_EncodeA(shortdata, framelength, streamdata); in main()
139 stream_len = WebRtcG711_EncodeU(shortdata, framelength, streamdata); in main()
153 if (fwrite(decoded, sizeof(short), framelength, outp) != framelength) { in main()
159 length_file = ((double) framecnt * (double) framelength / 8000); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc48 size_t framelength = 160; in main() local
85 framelength = static_cast<size_t>(framelength_int); in main()
120 endfile = readframe(shortdata, inp, framelength); in main()
126 … stream_len = WebRtcG722_Encode((G722EncInst *)G722enc_inst, shortdata, framelength, streamdata); in main()
139 if (fwrite(decoded, sizeof(short), framelength, outp) != in main()
140 framelength) { in main()
148 length_file = ((double)framecnt*(double)framelength/16000); in main()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp126 int framelength; member
244 HANDLE_ENHANCED_TIME_DOMAIN_DMX *phEnhancedTimeDmx, const INT framelength) { in fdk_sacenc_open_enhancedTimeDomainDmx() argument
252 FDK_ALLOCATE_MEMORY_1D(hEnhancedTimeDmx->sinusWindow_m, 1 + framelength, in fdk_sacenc_open_enhancedTimeDomainDmx()
254 hEnhancedTimeDmx->maxFramelength = framelength; in fdk_sacenc_open_enhancedTimeDomainDmx()
268 const INT framelength) { in fdk_sacenc_init_enhancedTimeDomainDmx() argument
275 if (framelength > hEnhancedTimeDmx->maxFramelength) { in fdk_sacenc_init_enhancedTimeDomainDmx()
280 hEnhancedTimeDmx->framelength = framelength; in fdk_sacenc_init_enhancedTimeDomainDmx()
286 PI_M, (FIXP_DBL)(2 * hEnhancedTimeDmx->framelength), &deltax_e); in fdk_sacenc_init_enhancedTimeDomainDmx()
290 for (smp = 0; smp < hEnhancedTimeDmx->framelength + 1; smp++) { in fdk_sacenc_init_enhancedTimeDomainDmx()
351 const int granuleLength = fixMin(128, hEnhancedTimeDmx->framelength); in fdk_sacenc_apply_enhancedTimeDomainDmx()
[all …]
Dsacenc_dmx_tdom_enh.h119 HANDLE_ENHANCED_TIME_DOMAIN_DMX *hEnhancedTimeDmx, const INT framelength);
124 const FIXP_DBL outputGain_m, const INT outputGain_e, const INT framelength);
/external/aac/libAACenc/src/
Daacenc.cpp145 INT bitRate, INT framelength, INT ancillaryRate, INT *ancillaryBitsPerFrame,
315 config->framelength = -1; /* Framesize not configured */ in FDKaacEnc_AacInitDefaultConfig()
438 config->framelength, config->nChannels, in FDKaacEnc_Initialize()
455 switch (config->framelength) { in FDKaacEnc_Initialize()
477 config->bitRate, config->framelength, config->anc_Rate, in FDKaacEnc_Initialize()
484 config->framelength, config->sampleRate); in FDKaacEnc_Initialize()
491 config->framelength, config->sampleRate) >> in FDKaacEnc_Initialize()
510 hAacEnc->bitrateMode, config->sampleRate, config->framelength, cm, in FDKaacEnc_Initialize()
530 config->framelength, psyBitrate, tnsMask, hAacEnc->bandwidth90dB, in FDKaacEnc_Initialize()
635 fDivNorm((FIXP_DBL)(10 * config->framelength * hAacEnc->bandwidth90dB), in FDKaacEnc_Initialize()
[all …]
Daacenc_lib.cpp468 cc->samplesPerFrame = hAacConfig->framelength; in H_ALLOC_MEM()
916 hAacConfig->framelength = (config->userFramelength != (UINT)-1) in FDKaacEnc_AdjustEncSettings()
919 if (hAacConfig->framelength != 1024 && hAacConfig->framelength != 960) { in FDKaacEnc_AdjustEncSettings()
932 hAacConfig->framelength = in FDKaacEnc_AdjustEncSettings()
934 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) { in FDKaacEnc_AdjustEncSettings()
951 hAacConfig->framelength = in FDKaacEnc_AdjustEncSettings()
967 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480 && in FDKaacEnc_AdjustEncSettings()
968 hAacConfig->framelength != 256 && hAacConfig->framelength != 240 && in FDKaacEnc_AdjustEncSettings()
969 hAacConfig->framelength != 128 && hAacConfig->framelength != 120) { in FDKaacEnc_AdjustEncSettings()
1035 hAacConfig->framelength, hAacConfig->sampleRate) + in FDKaacEnc_AdjustEncSettings()
[all …]
Dmps_main.cpp218 const UINT sbrRatio, const UINT framelength, in FDK_MpegsEnc_Init() argument
255 nTimeSlots = framelength >> nQmfBandsLd; in FDK_MpegsEnc_Init()
258 if (framelength != (nTimeSlots << nQmfBandsLd)) { in FDK_MpegsEnc_Init()
Dmps_main.h178 const UINT sbrRatio, const UINT framelength,
Daacenc.h232 INT framelength; /* used frame size */ member
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.h192 int WebRtcIsac_DecodeFrameLen(Bitstr* streamdata, int16_t* framelength);
193 int WebRtcIsac_EncodeFrameLen(int16_t framelength, Bitstr* streamdata);
Dstructs.h273 int16_t framelength; member
Dencode.c273 ISACencLB_obj->SaveEnc_obj.framelength = in WebRtcIsac_EncodeLb()
1038 status = WebRtcIsac_EncodeFrameLen(ISACSavedEnc_obj->framelength, in WebRtcIsac_EncodeStoredDataLb()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.h95 size_t *framelength);
98 int WebRtcIsacfix_EncodeFrameLen(int16_t framelength,
Dencode.c138 (ISACenc_obj->SaveEnc_ptr)->framelength=ISACenc_obj->current_framesamples; in WebRtcIsacfix_EncodeImpl()
532 status = WebRtcIsacfix_EncodeFrameLen(SaveEnc_str->framelength, &ISACenc_obj->bitstr_obj); in WebRtcIsacfix_EncodeStoredData()
Dstructs.h279 int16_t framelength; member