/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 68 int bottleneck, /* excluding headers; bits/s */ 79 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate); 100 int16_t bottleneck; local 166 printf(" an instantaneous Bottleneck value. If not, it\n"); 167 printf(" will be an adaptive Bottleneck value.\n\n"); 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"); 199 printf("\nInstantaneous BottleNeck\n"); 230 printf("\nAdaptive BottleNeck\n") [all...] |
kenny.cc | 44 /* 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 165 printf(" an instantaneous Bottleneck value. If not, it\n"); 166 printf(" will be an adaptive Bottleneck value.\n\n"); 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"); 237 printf("\nInstantaneous BottleNeck\n") [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 68 int bottleneck, /* excluding headers; bits/s */ 79 BN_data->arrival_time += ((packet_size + HeaderSize) * 8 * FS) / (bottleneck + HeaderRate); 100 WebRtc_Word16 bottleneck; local 166 printf(" an instantaneous Bottleneck value. If not, it\n"); 167 printf(" will be an adaptive Bottleneck value.\n\n"); 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"); 199 printf("\nInstantaneous BottleNeck\n"); 230 printf("\nAdaptive BottleNeck\n") [all...] |
kenny.c | 43 /* 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 175 printf(" an instantaneous Bottleneck value. If not, it\n"); 176 printf(" will be an adaptive Bottleneck value.\n\n"); 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"); 247 printf("\nInstantaneous BottleNeck\n") [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/SwitchingSampRate/ |
SwitchingSampRate.cc | 62 int bottleneck[MAX_NUM_CLIENTS]; local 118 bottleneck[clientCntr] = (clientCntr)? bnSWB:bnWB; 122 bottleneck[clientCntr] = (clientCntr)? minBn:maxBn; 125 printf("Bottleneck....................... %0.3f kbits/sec \n", 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] [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ |
ReleaseTest-API.cc | 52 int32_t bottleneck = 0; local 129 printf(" an instantaneous Bottleneck value. If not, it\n"); 130 printf(" will be an adaptive Bottleneck value.\n\n"); 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"); 223 printf("Instantaneous BottleNeck\n"); 227 /* Set (initial) bottleneck value */ 343 /* Get Bottleneck value */ 347 bottleneck = atoi(argv[i]) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
isac.c | 48 * 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 > 46000)) 508 int32_t bottleneck = 0; local 2241 int32_t bottleneck = instISAC->bottleneck; local [all...] |
bandwidth_estimator.h | 45 // Initial Bottleneck Estimate, in bits/sec, for 139 const double BottleNeck, /* bottle neck rate; excl headers (bps) */ 140 const double DelayBuildUp, /* max delay from bottleneck buffering (ms) */ 151 const double BottleNeck); /* bottle neck rate; excl headers (bps) */
|
encode.c | 44 Rate allocation tables of lower and upper-band bottleneck for 49 The overall bottleneck of the coder is between 38 kbps and 45 kbps. We have 55 bottleneck of 31 kbps for lower-band and 27 kbps for upper-band. Given an 56 overall bottleneck of the codec, we use linear interpolation to get 61 The overall bottleneck of the coder is between 50 kbps and 56 kbps. We have 66 of 53.6 kbps corresponts to a bottleneck of 32 kbps for lower-band and 30 67 kbps for upper-band. Given an overall bottleneck of the codec, we use linear 90 * - inRateBitPerSec : a total bottleneck in bits/sec. 93 * - rateLBBitPerSec : a bottleneck allocated to the lower-band 95 * - rateUBBitPerSec : a bottleneck allocated to the upper-ban [all...] |
bandwidth_estimator.c | 793 const double BottleNeck, /* bottle neck rate; excl headers (bps) */ 794 const double DelayBuildUp, /* max delay from bottleneck buffering (ms) */ 830 /* max bps derived from BottleNeck and DelayBuildUp values */ 832 (double)(BURST_LEN * FrameSamples)) * BottleNeck; 839 State->StillBuffered) / (double)FrameSamples) * BottleNeck; 840 if (MinRate < 1.04 * BottleNeck) 842 MinRate = 1.04 * BottleNeck; 860 if (StreamSize * 8.0 * FS / FrameSamples > 1.01 * BottleNeck) { 895 TransmissionTime = StreamSize * 8.0 * 1000.0 / BottleNeck; /* ms */ 914 const double BottleNeck) /* bottle neck rate; excl headers (bps) * [all...] |
structs.h | 326 double bottleneck; member in struct:__anon20399 366 double bottleneck; member in struct:__anon20400 446 // overall bottleneck of the codec 447 int32_t bottleneck; member in struct:__anon20406
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
isac.c | 47 * 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 > 46000)) 501 WebRtc_Word32 bottleneck = 0; local 2186 WebRtc_Word32 bottleneck = instISAC->bottleneck; local [all...] |
bandwidth_estimator.h | 45 // Initial Bottleneck Estimate, in bits/sec, for 139 const double BottleNeck, /* bottle neck rate; excl headers (bps) */ 140 const double DelayBuildUp, /* max delay from bottleneck buffering (ms) */ 151 const double BottleNeck); /* bottle neck rate; excl headers (bps) */
|
encode.c | 44 Rate allocation tables of lower and upper-band bottleneck for 49 The overall bottleneck of the coder is between 38 kbps and 45 kbps. We have 55 bottleneck of 31 kbps for lower-band and 27 kbps for upper-band. Given an 56 overall bottleneck of the codec, we use linear interpolation to get 61 The overall bottleneck of the coder is between 50 kbps and 56 kbps. We have 66 of 53.6 kbps corresponts to a bottleneck of 32 kbps for lower-band and 30 67 kbps for upper-band. Given an overall bottleneck of the codec, we use linear 90 * - inRateBitPerSec : a total bottleneck in bits/sec. 93 * - rateLBBitPerSec : a bottleneck allocated to the lower-band 95 * - rateUBBitPerSec : a bottleneck allocated to the upper-ban [all...] |
bandwidth_estimator.c | 793 const double BottleNeck, /* bottle neck rate; excl headers (bps) */ 794 const double DelayBuildUp, /* max delay from bottleneck buffering (ms) */ 830 /* max bps derived from BottleNeck and DelayBuildUp values */ 832 (double)(BURST_LEN * FrameSamples)) * BottleNeck; 839 State->StillBuffered) / (double)FrameSamples) * BottleNeck; 840 if (MinRate < 1.04 * BottleNeck) 842 MinRate = 1.04 * BottleNeck; 860 if (StreamSize * 8.0 * FS / FrameSamples > 1.01 * BottleNeck) { 895 TransmissionTime = StreamSize * 8.0 * 1000.0 / BottleNeck; /* ms */ 914 const double BottleNeck) /* bottle neck rate; excl headers (bps) * [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/util/ |
utility.c | 139 int bottleneck, /* excluding headers; bits/s */ 157 // (bottleneck + HeaderRate) 159 / (double)(bottleneck + headerRate) + 0.5);
|
utility.h | 103 int bottleneck, /* excluding headers; bits/s */
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/interface/ |
isac.h | 278 * This function sets the initial values of bottleneck and frame-size if 283 * bottleneck. Then iSAC will not automatically change the frame-size. 288 * - rateBPS : initial value of bottleneck in bits/second 290 * For default bottleneck set rateBPS = 0 361 * This function outputs the target bottleneck of the codec. In 362 * channel-adaptive mode, the target bottleneck is specified through in-band 365 * bottleneck is provided to the encoder by calling xxx_control(...). If 367 * value for bottleneck at 16 kHz encoder sampling rate is 32000 bits/sec, 369 * Note that the output is the iSAC internal operating bottleneck which might 376 * - *bottleneck : bottleneck in bits/se [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/interface/ |
isac.h | 281 * This function sets the initial values of bottleneck and frame-size if 286 * bottleneck. Then iSAC will not automatically change the frame-size. 291 * - rateBPS : initial value of bottleneck in bits/second 293 * For default bottleneck set rateBPS = 0 364 * This function outputs the target bottleneck of the codec. In 365 * channel-adaptive mode, the target bottleneck is specified through in-band 368 * bottleneck is provided to the encoder by calling xxx_control(...). If 370 * value for bottleneck at 16 kHz encoder sampling rate is 32000 bits/sec, 372 * Note that the output is the iSAC internal operating bottleneck which might 379 * - *bottleneck : bottleneck in bits/se [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ |
simpleKenny.c | 65 int32_t bottleneck = 39; local 131 printf("-bn bottleneck....... the value of the bottleneck in bit/sec, e.g. 39742,\n"); 159 /* Get Bottleneck value */ 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 [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.h | 105 const int16_t BottleNeck, /* bottle neck rate; excl headers (bps) */ 114 const int16_t BottleNeck); /* bottle neck rate; excl headers (bps) */
|
bandwidth_estimator.c | 837 const int16_t BottleNeck, /* bottle neck rate; excl headers (bps) */ 859 /* max bps derived from BottleNeck and DelayBuildUp values */ 861 MinRate = WEBRTC_SPL_MUL(512 + WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(DelayBuildUp, inv_Q12), 3)), BottleNeck); 866 MinRate = WEBRTC_SPL_MUL(512 + WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(DelayBuildUp - State->StillBuffered, inv_Q12), 3)), BottleNeck); 871 MinRate = WEBRTC_SPL_MUL((512 - WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(den, inv_Q12), 3)), BottleNeck); 873 //if (MinRate < 1.04 * BottleNeck) 874 // MinRate = 1.04 * BottleNeck; 876 if (MinRate < WEBRTC_SPL_MUL(532, BottleNeck)) { 877 MinRate += WEBRTC_SPL_MUL(22, BottleNeck); 899 if ((StreamSize * (int32_t)FS8) / FrameSamples > (517 * BottleNeck) >> 9) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.h | 105 const WebRtc_Word16 BottleNeck, /* bottle neck rate; excl headers (bps) */ 114 const WebRtc_Word16 BottleNeck); /* bottle neck rate; excl headers (bps) */
|
bandwidth_estimator.c | 836 const WebRtc_Word16 BottleNeck, /* bottle neck rate; excl headers (bps) */ 857 /* max bps derived from BottleNeck and DelayBuildUp values */ 859 MinRate = WEBRTC_SPL_MUL(512 + WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(DelayBuildUp, inv_Q12), 3)), BottleNeck); 864 MinRate = WEBRTC_SPL_MUL(512 + WEBRTC_SPL_MUL(SAMPLES_PER_MSEC, WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(DelayBuildUp - State->StillBuffered, inv_Q12), 3)), BottleNeck); 869 MinRate = WEBRTC_SPL_MUL((512 - WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(den, inv_Q12), 3)), BottleNeck); 871 //if (MinRate < 1.04 * BottleNeck) 872 // MinRate = 1.04 * BottleNeck; 874 if (MinRate < WEBRTC_SPL_MUL(532, BottleNeck)) { 875 MinRate += WEBRTC_SPL_MUL(22, BottleNeck); [all...] |
/frameworks/ex/variablespeed/jni/ |
decode_buffer.h | 53 // In practice this data structure choice doesn't seem to be a bottleneck.
|