Home
last modified time | relevance | path

Searched refs:framelength (Results 1 – 11 of 11) 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/libAACenc/src/
Daacenc.cpp144 INT framelength,
318 config->framelength = -1; /* Framesize not configured */ in FDKaacEnc_AacInitDefaultConfig()
466 config->framelength, in FDKaacEnc_Initialize()
489 switch (config->framelength) in FDKaacEnc_Initialize()
513 config->framelength, in FDKaacEnc_Initialize()
522 …>ancDataBitRate += ( (hAacEnc->ancillaryBitsPerFrame * config->sampleRate) / config->framelength ); in FDKaacEnc_Initialize()
530 FIXP_DBL tmp = fDivNorm(config->framelength, config->sampleRate, &q_res); in FDKaacEnc_Initialize()
555 config->framelength, in FDKaacEnc_Initialize()
579 config->framelength, in FDKaacEnc_Initialize()
630 …bw_ratio = fDivNorm((FIXP_DBL)(10*config->framelength*hAacEnc->bandwidth90dB), (FIXP_DBL)(config->… in FDKaacEnc_Initialize()
[all …]
Daacenc_lib.cpp489 cc->samplesPerFrame = hAacConfig->framelength; in H_ALLOC_MEM()
779 … hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 1024; in FDKaacEnc_AdjustEncSettings()
780 if (hAacConfig->framelength != 1024) { in FDKaacEnc_AdjustEncSettings()
791 … hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 512; in FDKaacEnc_AdjustEncSettings()
792 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) { in FDKaacEnc_AdjustEncSettings()
804 … hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 512; in FDKaacEnc_AdjustEncSettings()
805 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) { in FDKaacEnc_AdjustEncSettings()
868 …e(fMax(hAacConfig->bitRate, (INT)config->userPeakBitrate), hAacConfig->framelength, hAacConfig->sa… in FDKaacEnc_AdjustEncSettings()
874 …fMin(32*8, FDKaacEnc_CalcBitsPerFrame(hAacConfig->bitRate, hAacConfig->framelength, hAacConfig->sa… in FDKaacEnc_AdjustEncSettings()
934 hAacConfig->framelength, in FDKaacEnc_AdjustEncSettings()
[all …]
Daacenc.h201 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