/external/webrtc/webrtc/modules/audio_coding/codecs/g711/test/ |
testG711.cc | 43 size_t framelength = 80; local 65 printf("./testG711.exe framelength law infile outfile \n\n"); 66 printf("framelength: Framelength in samples.\n"); 83 printf(" G.722: Invalid framelength %d.\n", framelength_int); 86 framelength = static_cast<size_t>(framelength_int); 123 endfile = readframe(shortdata, inp, framelength); 128 stream_len = WebRtcG711_EncodeA(shortdata, framelength, streamdata); 139 stream_len = WebRtcG711_EncodeU(shortdata, framelength, streamdata); 153 if (fwrite(decoded, sizeof(short), framelength, outp) != framelength) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/ |
testG722.cc | 48 size_t framelength = 160; local 69 printf("./testG722.exe framelength infile outbitfile outspeechfile \n\n"); 71 printf("framelength : Framelength in samples.\n\n"); 82 printf(" G.722: Invalid framelength %d.\n", framelength_int); 85 framelength = static_cast<size_t>(framelength_int); 120 endfile = readframe(shortdata, inp, framelength); 126 stream_len = WebRtcG722_Encode((G722EncInst *)G722enc_inst, shortdata, framelength, streamdata); 139 if (fwrite(decoded, sizeof(short), framelength, outp) != 140 framelength) { [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.h | 192 int WebRtcIsac_DecodeFrameLen(Bitstr* streamdata, int16_t* framelength); 193 int WebRtcIsac_EncodeFrameLen(int16_t framelength, Bitstr* streamdata);
|
structs.h | 264 estimate. All values (except framelength and minBytes) is double size to 273 int16_t framelength; member in struct:__anon26927
|
encode.c | 218 /* Set the framelength for the next packet. */ 272 /* Save framelength for multiple packets memory. */ 273 ISACencLB_obj->SaveEnc_obj.framelength = [all...] |
/external/aac/libAACenc/src/ |
aacenc.cpp | 112 const INT frameLength, 117 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength 123 return (bitRate*(frameLength>>shift)) / (samplingRate>>shift); 128 const INT frameLength, 133 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength 139 return (bitsPerFrame * (samplingRate>>shift)) / ( frameLength>>shift) ; 144 INT framelength, 152 INT frameLength, [all...] |
aacenc_lib.cpp | 489 cc->samplesPerFrame = hAacConfig->framelength; 621 const INT frameLength, 658 frameLength, 779 hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 1024; 780 if (hAacConfig->framelength != 1024) { 791 hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 512; 792 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) { 804 hAacConfig->framelength = (config->userFramelength!=(UINT)-1) ? config->userFramelength : 512; 805 if (hAacConfig->framelength != 512 && hAacConfig->framelength != 480) [all...] |
aacenc.h | 201 INT framelength; /* used frame size */ member in struct:AACENC_CONFIG 236 * \param frameLength Number of audio samples in one frame. 243 const INT frameLength, 251 * \param frameLength Number of audio samples in one frame. 258 const INT frameLength, 266 * \param frameLength the frameLength to be used for the AAC encoder 279 INT frameLength,
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.h | 95 size_t *framelength); 98 int WebRtcIsacfix_EncodeFrameLen(int16_t framelength,
|
structs.h | 270 estimate. All values (except framelength and minBytes) is double size to 279 int16_t framelength; member in struct:__anon26908
|
encode.c | 71 /* set the framelength for the next packet */ 78 /* buffer speech samples (by 10ms packet) until the framelength is reached (30 or 60 ms) */ 136 /* Save framelength for multiple packets memory */ 138 (ISACenc_obj->SaveEnc_ptr)->framelength=ISACenc_obj->current_framesamples; 413 /* also update the framelength for next packet, in Adaptive mode only */ 532 status = WebRtcIsacfix_EncodeFrameLen(SaveEnc_str->framelength, &ISACenc_obj->bitstr_obj);
|