Searched defs:bottleneck (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/util/
H A Dutility.c139 int bottleneck, /* excluding headers; bits/s */
157 // (bottleneck + HeaderRate)
159 / (double)(bottleneck + headerRate) + 0.5);
136 get_arrival_time( int current_framesamples, int packet_size, int bottleneck, BottleNeckModel* BN_data, short senderSampFreqHz, short receiverSampFreqHz) argument
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
H A DIsac_test.cc35 int bottleneck, /* excluding headers; bits/s */
46 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate);
33 get_arrival_time(int current_framesamples, int packet_size, int bottleneck, BottleNeckModel *BN_data) argument
H A Dtest_iSACfixfloat.c68 int bottleneck, /* excluding headers; bits/s */
79 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate);
100 WebRtc_Word16 bottleneck; local
168 printf("bottleneck_value : the value of the bottleneck provided either\n");
170 printf(" read from a file (e.g. bottleneck.txt)\n\n");
181 printf("./kenny.exe -I bottleneck.txt -m 1 speechIn.pcm speechOut.pcm\n\n");
236 bottleneck = atoi(argv[2-tmp]);
237 if (bottleneck == 0)
247 printf("reading bottleneck rates from file %s\n\n",bottleneck_file);
248 if (fscanf(f_bn, "%d", &bottleneck)
66 get_arrival_time(int current_framesamples, int packet_size, int bottleneck, BottleNeckModel *BN_data) argument
[all...]
H A Dkenny.c43 /* Struct for bottleneck model */
53 int bottleneck, /* excluding headers; bits/s */
64 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate);
102 WebRtc_Word16 bottleneck; local
177 printf("bottleneck_value :the value of the bottleneck provided either\n");
179 printf(" read from a file (e.g. bottleneck.txt)\n\n");
231 printf("./kenny.exe -I bottleneck.txt speechIn.pcm speechOut.pcm\n\n");
252 /* Set (initial) bottleneck value */
382 /* Gns files and bottleneck should not and can not be used simultaneously */
383 bottleneck
51 get_arrival_time(int current_framesamples, int packet_size, int bottleneck, BottleNeckModel *BN_data) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/
H A Dtest_iSACfixfloat.c68 int bottleneck, /* excluding headers; bits/s */
79 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate);
100 int16_t bottleneck; local
168 printf("bottleneck_value : the value of the bottleneck provided either\n");
170 printf(" read from a file (e.g. bottleneck.txt)\n\n");
181 printf("./kenny.exe -I bottleneck.txt -m 1 speechIn.pcm speechOut.pcm\n\n");
236 bottleneck = atoi(argv[2-tmp]);
237 if (bottleneck == 0)
247 printf("reading bottleneck rates from file %s\n\n",bottleneck_file);
248 if (fscanf(f_bn, "%d", &bottleneck)
66 get_arrival_time(int current_framesamples, int packet_size, int bottleneck, BottleNeckModel *BN_data) argument
[all...]
H A Dkenny.cc44 /* Struct for bottleneck model */
54 int bottleneck, /* excluding headers; bits/s */
65 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate);
103 int16_t bottleneck; local
167 printf("bottleneck_value :the value of the bottleneck provided either\n");
169 printf(" read from a file (e.g. bottleneck.txt)\n\n");
221 printf("./kenny.exe -I bottleneck.txt speechIn.pcm speechOut.pcm\n\n");
242 /* Set (initial) bottleneck value */
372 /* Gns files and bottleneck should not and can not be used simultaneously */
373 bottleneck
52 get_arrival_time(int current_framesamples, int packet_size, int bottleneck, BottleNeckModel *BN_data) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/SwitchingSampRate/
H A DSwitchingSampRate.cc62 int bottleneck[MAX_NUM_CLIENTS]; local
118 bottleneck[clientCntr] = (clientCntr)? bnSWB:bnWB;
122 bottleneck[clientCntr] = (clientCntr)? minBn:maxBn;
126 bottleneck[clientCntr] / 1000.0);
182 bottleneck[clientCntr], 30) < 0)
184 printf("Could not setup bottleneck and frame-size for client %d\n",
317 bottleneck[senderIdx] / 1000.0,
341 // After ~20 sec change the bottleneck.
347 // int newBottleneck = bottleneck[senderIdx] +
355 // newBottleneck = bottleneck[senderId
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
H A DReleaseTest-API.cc52 int32_t bottleneck = 0; local
132 printf("[-B num] : the value of the bottleneck provided either\n");
134 printf(" read from a file (e.g. bottleneck.txt)\n\n");
159 printf("[-T rate file] : test trans-coding with target bottleneck 'rate' bits/sec\n");
227 /* Set (initial) bottleneck value */
347 bottleneck = atoi(argv[i]);
348 if(bottleneck == 0)
359 printf("reading bottleneck rates from file %s\n\n",bottleneck_file);
360 if(fscanf(f_bn, "%d", &bottleneck) == EOF)
364 if (fscanf(f_bn, "%d", &bottleneck)
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/
H A DsimpleKenny.c65 int32_t bottleneck = 39; local
131 printf("-bn bottleneck....... the value of the bottleneck in bit/sec, e.g. 39742,\n");
160 bottleneck = readParamInt(argc, argv, "-bn", 50000);
161 fprintf(stderr,"\nfixed bottleneck rate of %d bits/s\n\n", bottleneck);
246 printf("Bottleneck............... %d bits/sec\n", bottleneck);
296 if(WebRtcIsac_Control(ISAC_main_inst, bottleneck, frameSize) < 0)
298 printf("cannot set bottleneck\n");
400 get_arrival_time(cur_framesmpls, stream_len, bottleneck,
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Dacm_isac.cc164 // bottleneck. It follows the following expression for that
206 int32_t* bottleneck) {
207 *bottleneck = WebRtcIsacfix_GetUplinkBw(inst);
364 // the frame length and we like to update the bottleneck value as
365 // well, although updating bottleneck is not crucial
490 // store the bottleneck
205 ACMISACFixGetSendBitrate(ACM_ISAC_STRUCT* inst, int32_t* bottleneck) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Disac.c48 * adaptation, or direct change of the bottleneck in instantaneous mode.
103 * This function updates the bottleneck only if the codec is operating in
104 * channel-adaptive mode. Furthermore, as the update of bottleneck might
110 /* Read the bottleneck from bandwidth estimator for the
116 int32_t bottleneck; local
118 &bottleneck);
122 && (bottleneck > 37000)
123 && (bottleneck < 41000)) {
124 bottleneck = 37000;
131 (bottleneck > 4600
508 int32_t bottleneck = 0; local
1891 WebRtcIsac_GetUplinkBw(ISACStruct* ISAC_main_inst, int32_t* bottleneck) argument
2241 int32_t bottleneck = instISAC->bottleneck; local
[all...]
H A Dstructs.h326 double bottleneck; member in struct:__anon15781
366 double bottleneck; member in struct:__anon15782
446 // overall bottleneck of the codec
447 int32_t bottleneck; member in struct:__anon15788
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Disac.c47 * adaptation, or direct change of the bottleneck in instantaneous mode.
102 * This function updates the bottleneck only if the codec is operating in
103 * channel-adaptive mode. Furthermore, as the update of bottleneck might
109 /* Read the bottleneck from bandwidth estimator for the
115 WebRtc_Word32 bottleneck; local
117 &bottleneck);
121 && (bottleneck > 37000)
122 && (bottleneck < 41000)) {
123 bottleneck = 37000;
130 (bottleneck > 4600
501 WebRtc_Word32 bottleneck = 0; local
1848 WebRtcIsac_GetUplinkBw(ISACStruct* ISAC_main_inst, WebRtc_Word32* bottleneck) argument
2186 WebRtc_Word32 bottleneck = instISAC->bottleneck; local
[all...]
H A Dstructs.h327 double bottleneck; member in struct:__anon33456
367 double bottleneck; member in struct:__anon33457
447 // overall bottleneck of the codec
448 WebRtc_Word32 bottleneck; member in struct:__anon33463

Completed in 641 milliseconds