Home
last modified time | relevance | path

Searched refs:BN_data (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c63 BottleNeckModel* BN_data) { in get_arrival_time() argument
70 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
72 BN_data->arrival_time += (uint32_t) in get_arrival_time()
74 BN_data->send_time += current_framesamples; in get_arrival_time()
76 if (BN_data->arrival_time < BN_data->sample_count) in get_arrival_time()
77 BN_data->arrival_time = BN_data->sample_count; in get_arrival_time()
79 BN_data->rtp_number++; in get_arrival_time()
126 BottleNeckModel BN_data; in main() local
276 BN_data.send_time = 0; in main()
277 BN_data.arrival_time = 0; in main()
[all …]
Dkenny.cc55 BottleNeckModel *BN_data) in get_arrival_time() argument
63 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
65 BN_data->arrival_time += static_cast<uint32_t>( in get_arrival_time()
67 BN_data->send_time += current_framesamples; in get_arrival_time()
69 if (BN_data->arrival_time < BN_data->sample_count) in get_arrival_time()
70 BN_data->arrival_time = BN_data->sample_count; in get_arrival_time()
72 BN_data->rtp_number++; in get_arrival_time()
77 BottleNeckModel *BN_data) in get_arrival_time2() argument
82 BN_data->arrival_time += current_framesamples; in get_arrival_time2()
87 BN_data->arrival_time += (current_framesamples + ((FS/1000) * current_delay)); in get_arrival_time2()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.c140 BottleNeckModel* BN_data, in get_arrival_time() argument
149 BN_data->whenPackGeneratedMs += (current_framesamples / (senderSampFreqHz / 1000)); in get_arrival_time()
154 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
161 if(BN_data->whenPrevPackLeftMs > BN_data->whenPackGeneratedMs) in get_arrival_time()
163 BN_data->whenPrevPackLeftMs += travelTimeMs; in get_arrival_time()
167 BN_data->whenPrevPackLeftMs = BN_data->whenPackGeneratedMs + in get_arrival_time()
171 BN_data->arrival_time = (BN_data->whenPrevPackLeftMs * in get_arrival_time()
177 BN_data->rtp_number++; in get_arrival_time()
Dutility.h104 BottleNeckModel* BN_data,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc104 BottleNeckModel BN_data; in main() local
466 BN_data.arrival_time = 0; in main()
467 BN_data.sample_count = 0; in main()
468 BN_data.rtp_number = 0; in main()
749 get_arrival_time(cur_framesmpls, stream_len, bottleneck, &BN_data, in main()
754 BN_data.rtp_number--; in main()
767 stream_len, BN_data.rtp_number, BN_data.sample_count, in main()
768 BN_data.arrival_time); in main()