Home
last modified time | relevance | path

Searched refs:stream_len (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/
DsimpleKenny.c76 size_t stream_len = 0; in main() local
307 stream_len = 0; in main()
314 stream_len = auxUW8 << 8; in main()
318 stream_len |= auxUW8; in main()
319 if (fread(payload, 1, stream_len, inp) < stream_len) { in main()
324 while (stream_len == 0) { in main()
344 stream_len = (size_t)stream_len_int; in main()
358 get_arrival_time(cur_framesmpls, stream_len, bottleneck, &packetData, in main()
361 ISAC_main_inst, payload, stream_len, packetData.rtp_number, in main()
372 maxStreamLen = (stream_len > maxStreamLen) ? stream_len : maxStreamLen; in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/test/
DtestG711.cc50 size_t stream_len = 0; in main() local
128 stream_len = WebRtcG711_EncodeA(shortdata, framelength, streamdata); in main()
131 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != in main()
132 stream_len) { in main()
136 WebRtcG711_DecodeA(streamdata, stream_len, decoded, speechType); in main()
139 stream_len = WebRtcG711_EncodeU(shortdata, framelength, streamdata); in main()
142 if (fwrite(streamdata, sizeof(unsigned char), stream_len, bitp) != in main()
143 stream_len) { in main()
147 WebRtcG711_DecodeU(streamdata, stream_len, decoded, speechType); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c102 size_t stream_len = 0; in main() local
432 stream_len = (size_t)stream_len_int; in main()
452 if (stream_len != 0) in main()
456 fwrite(streamdata, 1, stream_len, bitsp); /* NOTE! Writes bytes to file */ in main()
459 get_arrival_time(cur_framesmpls, stream_len, bottleneck, &BN_data); in main()
464 stream_len, BN_data.rtp_number, in main()
474 declen = WebRtcIsac_Decode(ISAC_main_inst, streamdata, stream_len, in main()
484 stream_len, BN_data.rtp_number, in main()
487 stream_len, BN_data.rtp_number, in main()
496 declen = WebRtcIsac_Decode(ISAC_main_inst, streamdata, stream_len, in main()
[all …]
Dkenny.cc113 size_t stream_len = 0; in main() local
624 stream_len = static_cast<size_t>(stream_len_int); in main()
625 if (fwrite(streamdata, sizeof(char), stream_len, outbits) != in main()
626 stream_len) { in main()
650 if (stream_len != 0) break; in main()
656 stream_len += 10; in main()
662 stream_len -= 10; in main()
667 for (i = 0; i < stream_len; i++ ) { in main()
685 get_arrival_time(cur_framesmpls, stream_len, bottleneck, in main()
697 for ( i = 0; i < stream_len; i++) { in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc56 size_t stream_len = 0; in main() local
664 stream_len = static_cast<size_t>(stream_len_int); in main()
668 if (stream_len != 0) in main()
689 (stream_len > maxStreamLen30) ? stream_len : maxStreamLen30; in main()
692 (stream_len > maxStreamLen60) ? stream_len : maxStreamLen60; in main()
709 stream_len = static_cast<size_t>(stream_len_int); in main()
727 stream_len += 10; in main()
733 stream_len -= 10; in main()
738 for (i = 0; i < stream_len; i++) { in main()
749 get_arrival_time(cur_framesmpls, stream_len, bottleneck, &BN_data, in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c406 int stream_len; in WebRtcIsacfix_Encode() local
418 stream_len = WebRtcIsacfix_EncodeImpl((int16_t*)speechIn, in WebRtcIsacfix_Encode()
422 if (stream_len<0) { in WebRtcIsacfix_Encode()
423 ISAC_inst->errorcode = -(int16_t)stream_len; in WebRtcIsacfix_Encode()
427 write_be16(ISAC_inst->ISACenc_obj.bitstr_obj.stream, (size_t)stream_len, in WebRtcIsacfix_Encode()
429 return stream_len; in WebRtcIsacfix_Encode()
466 int16_t stream_len; in WebRtcIsacfix_EncodeNb() local
496 stream_len = WebRtcIsacfix_EncodeImpl((int16_t*)speechInWB, in WebRtcIsacfix_EncodeNb()
500 if (stream_len<0) { in WebRtcIsacfix_EncodeNb()
501 ISAC_inst->errorcode = - stream_len; in WebRtcIsacfix_EncodeNb()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/test/
DtestG722.cc57 size_t stream_len = 0; in main() local
126stream_len = WebRtcG722_Encode((G722EncInst *)G722enc_inst, shortdata, framelength, streamdata); in main()
127 WebRtcG722_Decode(G722dec_inst, streamdata, stream_len, decoded, in main()
134 if (fwrite(streamdata, sizeof(short), stream_len / 2, outbitp) != in main()
135 stream_len / 2) { in main()
/external/pdfium/third_party/freetype/src/cid/
Dcidparse.c95 FT_ULong stream_len; in cid_parser_new() local
98 stream_len = stream->size - FT_STREAM_POS(); in cid_parser_new()
99 if ( stream_len == 0 ) in cid_parser_new()
106 read_len = FT_MIN( read_len, stream_len ); in cid_parser_new()
/external/iw/
Dwowlan.c133 size_t stream_len; in wowlan_parse_tcp_file() local
149 stream = parse_hex(toks, &stream_len); in wowlan_parse_tcp_file()
152 tok = malloc(sizeof(*tok) + stream_len); in wowlan_parse_tcp_file()
161 memcpy(tok->token_stream, stream, stream_len); in wowlan_parse_tcp_file()
164 sizeof(*tok) + stream_len, tok); in wowlan_parse_tcp_file()