Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc43 size_t framelength = 80; in main() local
85 framelength = static_cast<size_t>(framelength_int); in main()
122 endfile = readframe(shortdata, inp, framelength); in main()
127 stream_len = WebRtcG711_EncodeA(shortdata, framelength, streamdata); in main()
138 stream_len = WebRtcG711_EncodeU(shortdata, framelength, streamdata); in main()
152 if (fwrite(decoded, sizeof(short), framelength, outp) != framelength) { in main()
158 length_file = ((double)framecnt * (double)framelength / 8000); in main()
/external/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc45 size_t framelength = 160; in main() local
81 framelength = static_cast<size_t>(framelength_int); in main()
116 endfile = readframe(shortdata, inp, framelength); in main()
123 framelength, streamdata); in main()
136 if (fwrite(decoded, sizeof(short), framelength, outp) != framelength) { in main()
144 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.cpp147 INT bitRate, INT framelength, INT ancillaryRate, INT *ancillaryBitsPerFrame,
357 config->framelength = -1; /* Framesize not configured */ in FDKaacEnc_AacInitDefaultConfig()
479 config->framelength, config->nChannels, in FDKaacEnc_Initialize()
496 switch (config->framelength) { in FDKaacEnc_Initialize()
518 config->bitRate, config->framelength, config->anc_Rate, in FDKaacEnc_Initialize()
525 config->framelength, config->sampleRate); in FDKaacEnc_Initialize()
532 config->framelength, config->sampleRate) >> in FDKaacEnc_Initialize()
551 hAacEnc->bitrateMode, config->sampleRate, config->framelength, cm, in FDKaacEnc_Initialize()
571 config->framelength, psyBitrate, tnsMask, hAacEnc->bandwidth90dB, in FDKaacEnc_Initialize()
676 fDivNorm((FIXP_DBL)(10 * config->framelength * hAacEnc->bandwidth90dB), in FDKaacEnc_Initialize()
[all …]
Daacenc_lib.cpp486 cc->samplesPerFrame = hAacConfig->framelength; in H_ALLOC_MEM()
934 hAacConfig->framelength = (config->userFramelength != (UINT)-1) in FDKaacEnc_AdjustEncSettings()
937 if (hAacConfig->framelength != 1024 && hAacConfig->framelength != 960) { in FDKaacEnc_AdjustEncSettings()
950 hAacConfig->framelength = in FDKaacEnc_AdjustEncSettings()
952 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) { in FDKaacEnc_AdjustEncSettings()
969 hAacConfig->framelength = in FDKaacEnc_AdjustEncSettings()
985 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480 && in FDKaacEnc_AdjustEncSettings()
986 hAacConfig->framelength != 256 && hAacConfig->framelength != 240 && in FDKaacEnc_AdjustEncSettings()
987 hAacConfig->framelength != 128 && hAacConfig->framelength != 120) { in FDKaacEnc_AdjustEncSettings()
1060 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/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.h203 int WebRtcIsac_DecodeFrameLen(Bitstr* streamdata, int16_t* framelength);
204 int WebRtcIsac_EncodeFrameLen(int16_t framelength, Bitstr* streamdata);
Dstructs.h242 int16_t framelength; member
Dencode.c275 ISACencLB_obj->SaveEnc_obj.framelength = in WebRtcIsac_EncodeLb()
1040 status = WebRtcIsac_EncodeFrameLen(ISACSavedEnc_obj->framelength, in WebRtcIsac_EncodeStoredDataLb()
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.h89 int WebRtcIsacfix_DecodeFrameLen(Bitstr_dec* streamdata, size_t* framelength);
91 int WebRtcIsacfix_EncodeFrameLen(int16_t framelength, Bitstr_enc* streamdata);
Dstructs.h254 int16_t framelength; member
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()