Home
last modified time | relevance | path

Searched refs:current_framesamples (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.c137 int current_framesamples, /* samples */ in get_arrival_time() argument
149 BN_data->whenPackGeneratedMs += (current_framesamples / (senderSampFreqHz / 1000)); in get_arrival_time()
151 headerRate = headerSizeByte * 8 * senderSampFreqHz / current_framesamples; /* bits/s */ in get_arrival_time()
154 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
Dutility.h101 int current_framesamples, /* samples */
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dencode.c72 ISACenc_obj->current_framesamples = ISACenc_obj->new_framelength; in WebRtcIsacfix_EncodeImpl()
75 frame_mode = ISACenc_obj->current_framesamples/MAX_FRAMESAMPLES; /* 0 (30 ms) or 1 (60 ms) */ in WebRtcIsacfix_EncodeImpl()
76 processed_samples = ISACenc_obj->current_framesamples/(frame_mode+1); /* 480 (30, 60 ms) */ in WebRtcIsacfix_EncodeImpl()
113 … ISACenc_obj->current_framesamples); in WebRtcIsacfix_EncodeImpl()
120 ISACenc_obj->current_framesamples); in WebRtcIsacfix_EncodeImpl()
123 …status = WebRtcIsacfix_EncodeFrameLen(ISACenc_obj->current_framesamples, &ISACenc_obj->bitstr_obj); in WebRtcIsacfix_EncodeImpl()
138 (ISACenc_obj->SaveEnc_ptr)->framelength=ISACenc_obj->current_framesamples; in WebRtcIsacfix_EncodeImpl()
416 … ISACenc_obj->current_framesamples); in WebRtcIsacfix_EncodeImpl()
430 … ISACenc_obj->current_framesamples, ISACenc_obj->BottleNeck, ISACenc_obj->MaxDelay); in WebRtcIsacfix_EncodeImpl()
486 ISACenc_obj->current_framesamples, ISACenc_obj->BottleNeck); in WebRtcIsacfix_EncodeImpl()
Ddecode.c32 size_t* current_framesamples) in WebRtcIsacfix_DecodeImpl() argument
75 err = WebRtcIsacfix_DecodeFrameLen(&ISACdec_obj->bitstr_obj, current_framesamples); in WebRtcIsacfix_DecodeImpl()
79 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; /* 0, or 1 */ in WebRtcIsacfix_DecodeImpl()
Dbandwidth_estimator.c988 int16_t WebRtcIsacfix_GetNewFrameLength(int16_t bottle_neck, int16_t current_framesamples) in WebRtcIsacfix_GetNewFrameLength() argument
992 new_framesamples = current_framesamples; in WebRtcIsacfix_GetNewFrameLength()
995 switch(current_framesamples) { in WebRtcIsacfix_GetNewFrameLength()
Dcodec.h37 size_t* current_framesamples);
Dstructs.h313 int16_t current_framesamples; member
Ddecode_plc.c239 size_t *current_framesamples ) in WebRtcIsacfix_DecodePlcImpl() argument
804 *current_framesamples = 480; in WebRtcIsacfix_DecodePlcImpl()
Disacfix.c326 ISAC_inst->ISACenc_obj.current_framesamples = 0; in WebRtcIsacfix_EncoderInit()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc52 void get_arrival_time(int current_framesamples, /* samples */ in get_arrival_time() argument
60 HeaderRate = HeaderSize * 8 * FS / current_framesamples; /* bits/s */ in get_arrival_time()
63 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
67 BN_data->send_time += current_framesamples; in get_arrival_time()
75 void get_arrival_time2(int current_framesamples, 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()
Dtest_iSACfixfloat.c60 void get_arrival_time(int current_framesamples, /* samples */ in get_arrival_time() argument
67 HeaderRate = HeaderSize * 8 * FS / current_framesamples; /* bits/s */ in get_arrival_time()
70 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
74 BN_data->send_time += current_framesamples; in get_arrival_time()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Ddecode.c40 int16_t* current_framesamples, in WebRtcIsac_DecodeLb() argument
78 current_framesamples); in WebRtcIsac_DecodeLb()
86 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_DecodeLb()
Dcodec.h37 int16_t* current_framesamples,
41 int16_t* current_framesamples);
Dencode.c219 ISACencLB_obj->current_framesamples = ISACencLB_obj->new_framelength; in WebRtcIsac_EncodeLb()
222 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb()
259 ISACencLB_obj->bottleneck, ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
263 ISACencLB_obj->bottleneck, ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
267 ISACencLB_obj->current_framesamples, &ISACencLB_obj->bitstr_obj); in WebRtcIsac_EncodeLb()
274 ISACencLB_obj->current_framesamples; in WebRtcIsac_EncodeLb()
521 ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
Disac.c370 instLB->ISACencLB_obj.current_framesamples = 0; in EncoderInitLb()
653 instISAC->instLB.ISACencLB_obj.current_framesamples, bottleneck, in WebRtcIsac_Encode()
658 if (instLB->ISACencLB_obj.current_framesamples == FRAMESAMPLES) { in WebRtcIsac_Encode()
709 instISAC->instLB.ISACencLB_obj.current_framesamples, bottleneck); in WebRtcIsac_Encode()
809 rateLB, instISAC->instLB.ISACencLB_obj.current_framesamples); in WebRtcIsac_GetNewBitStream()
813 instISAC->instLB.ISACencLB_obj.current_framesamples); in WebRtcIsac_GetNewBitStream()
Dbandwidth_estimator.c954 int current_framesamples) in WebRtcIsac_GetNewFrameLength() argument
969 new_framesamples = current_framesamples; in WebRtcIsac_GetNewFrameLength()
972 switch(current_framesamples) { in WebRtcIsac_GetNewFrameLength()
Dstructs.h324 int16_t current_framesamples; member