/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/test/ |
testG711.cc | 60 int16_t streamdata[500]; local 130 stream_len = WebRtcG711_EncodeA(NULL, shortdata, framelength, streamdata); 133 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != 138 err = WebRtcG711_DecodeA(NULL, streamdata, stream_len, decoded, 142 stream_len = WebRtcG711_EncodeU(NULL, shortdata, framelength, streamdata); 145 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != 150 err = WebRtcG711_DecodeU(NULL, streamdata, stream_len, decoded,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/test/ |
testG722.cc | 65 int16_t streamdata[80*3]; local 126 stream_len = WebRtcG722_Encode((G722EncInst *)G722enc_inst, shortdata, framelength, streamdata); 127 err = WebRtcG722_Decode((G722DecInst *)G722dec_inst, streamdata, stream_len, decoded, speechType); 137 if (fwrite(streamdata, sizeof(short), stream_len/2,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
isacfix.c | 630 Bitstr_dec streamdata; local 656 streamdata.W_upper = 0xFFFFFFFF; 657 streamdata.streamval = 0; 658 streamdata.stream_index = 0; 659 streamdata.full = 1; 663 streamdata.stream[k] = (uint16_t) (((uint16_t)encoded[k] >> 8)|((encoded[k] & 0xFF)<<8)); 666 memcpy(streamdata.stream, encoded, 5); 670 &streamdata, 714 Bitstr_dec streamdata; local 740 streamdata.W_upper = 0xFFFFFFFF 1301 Bitstr_dec streamdata; local 1346 Bitstr_dec streamdata; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 117 uint16_t streamdata[600]; local 444 (uint8_t*)streamdata); 457 (uint8_t*)streamdata); 459 stream_len = WebRtcIsacfix_EncodeNb(ISACFIX_main_inst, shortdata, streamdata); 490 fwrite(streamdata, 1, stream_len, bitsp); /* NOTE! Writes bytes to file */ 499 streamdata, 512 streamdata, 525 streamdata, 530 streamdata, 542 streamdata, [all...] |
kenny.cc | 114 uint16_t streamdata[500]; local 568 (uint8_t*)streamdata); 574 err = WebRtcIsacfix_ReadBwIndex((int16_t*)streamdata, &bwe); 579 (int16_t*)streamdata); 606 streamdata); 622 if (fwrite(streamdata, sizeof(char), 665 streamdata[i] = rand(); 695 streamdata[i] = (short) (streamdata[i] + (short) rand()); 701 streamdata, [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
isacfix.c | 571 Bitstr_dec streamdata; local 579 streamdata.stream = (WebRtc_UWord16 *)partOfStream; 601 streamdata.W_upper = 0xFFFFFFFF; 602 streamdata.streamval = 0; 603 streamdata.stream_index = 0; 604 streamdata.full = 1; 608 streamdata.stream[k] = (WebRtc_UWord16) (((WebRtc_UWord16)encoded[k] >> 8)|((encoded[k] & 0xFF)<<8)); 611 memcpy(streamdata.stream, encoded, 5); 622 &streamdata, 666 Bitstr_dec streamdata; local 1264 Bitstr_dec streamdata; local 1313 Bitstr_dec streamdata; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 117 WebRtc_UWord16 streamdata[600]; local 442 stream_len = WebRtcIsac_Encode(ISAC_main_inst, shortdata, streamdata); 452 stream_len = WebRtcIsacfix_Encode(ISACFIX_main_inst, shortdata, streamdata); 454 stream_len = WebRtcIsacfix_EncodeNb(ISACFIX_main_inst, shortdata, streamdata); 485 fwrite(streamdata, 1, stream_len, bitsp); /* NOTE! Writes bytes to file */ 494 streamdata, 507 streamdata, 520 streamdata, 525 streamdata, 537 streamdata, [all...] |
kenny.c | 113 WebRtc_UWord16 streamdata[500]; local 577 (WebRtc_Word16*)streamdata); 583 err = WebRtcIsacfix_ReadBwIndex((WebRtc_Word16*)streamdata, &bwe); 588 (WebRtc_Word16*)streamdata); 615 streamdata); 631 if (fwrite(streamdata, sizeof(char), 674 streamdata[i] = rand(); 704 streamdata[i] = (short) (streamdata[i] + (short) rand()); 710 streamdata, [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ |
ReleaseTest-API.cc | 66 uint16_t streamdata[500]; local 666 (uint8_t*)streamdata); 784 (int16_t*)streamdata); 818 streamdata[i] = rand(); 845 streamdata[i] = (short) (streamdata[i]) + (short) rand(); 851 err = WebRtcIsac_UpdateBwEstimate(ISAC_main_inst, streamdata, 876 (int16_t*)streamdata, &FL); 897 declen = WebRtcIsac_DecodeRcu(ISAC_main_inst, streamdata, 909 declen = WebRtcIsac_Decode(ISAC_main_inst, streamdata, [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
isac.c | 967 Bitstr streamdata; local 1698 Bitstr streamdata; local 1746 Bitstr streamdata; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
isac.c | 1006 Bitstr streamdata; local 1739 Bitstr streamdata; local 1788 Bitstr streamdata; local [all...] |