Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.c138 int current_framesamples, /* samples */ in get_arrival_time() argument
150 BN_data->whenPackGeneratedMs += (current_framesamples / (senderSampFreqHz / 1000)); in get_arrival_time()
152 headerRate = headerSizeByte * 8 * senderSampFreqHz / current_framesamples; /* bits/s */ in get_arrival_time()
155 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
Dutility.h82 void get_arrival_time(int current_framesamples, /* samples */
/external/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.c971 int16_t WebRtcIsacfix_GetNewFrameLength(int16_t bottle_neck, int16_t current_framesamples) in WebRtcIsacfix_GetNewFrameLength() argument
975 new_framesamples = current_framesamples; in WebRtcIsacfix_GetNewFrameLength()
978 switch(current_framesamples) { in WebRtcIsacfix_GetNewFrameLength()
Dcodec.h37 size_t* current_framesamples);
Dstructs.h287 int16_t current_framesamples; member
Ddecode_plc.c239 size_t *current_framesamples ) in WebRtcIsacfix_DecodePlcImpl() argument
804 *current_framesamples = 480; in WebRtcIsacfix_DecodePlcImpl()
Disacfix.c278 ISAC_inst->ISACenc_obj.current_framesamples = 0; in WebRtcIsacfix_EncoderInit()
/external/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc60 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()
82 void get_arrival_time2(int current_framesamples, in get_arrival_time2() argument
88 BN_data->arrival_time += current_framesamples; in get_arrival_time2()
92 (current_framesamples + ((FS / 1000) * current_delay)); in get_arrival_time2()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dcodec.h41 int16_t* current_framesamples,
46 int16_t* current_framesamples);
Ddecode.c39 int16_t* current_framesamples, in WebRtcIsac_DecodeLb() argument
77 current_framesamples); in WebRtcIsac_DecodeLb()
85 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_DecodeLb()
Dencode.c221 ISACencLB_obj->current_framesamples = ISACencLB_obj->new_framelength; in WebRtcIsac_EncodeLb()
224 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb()
261 ISACencLB_obj->bottleneck, ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
265 ISACencLB_obj->bottleneck, ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
269 ISACencLB_obj->current_framesamples, &ISACencLB_obj->bitstr_obj); in WebRtcIsac_EncodeLb()
276 ISACencLB_obj->current_framesamples; in WebRtcIsac_EncodeLb()
523 ISACencLB_obj->current_framesamples); in WebRtcIsac_EncodeLb()
Dbandwidth_estimator.c936 int current_framesamples) in WebRtcIsac_GetNewFrameLength() argument
951 new_framesamples = current_framesamples; in WebRtcIsac_GetNewFrameLength()
954 switch(current_framesamples) { in WebRtcIsac_GetNewFrameLength()
Disac.c316 instLB->ISACencLB_obj.current_framesamples = 0; in EncoderInitLb()
599 instISAC->instLB.ISACencLB_obj.current_framesamples, bottleneck, in WebRtcIsac_Encode()
604 if (instLB->ISACencLB_obj.current_framesamples == FRAMESAMPLES) { in WebRtcIsac_Encode()
655 instISAC->instLB.ISACencLB_obj.current_framesamples, bottleneck); in WebRtcIsac_Encode()
755 rateLB, instISAC->instLB.ISACencLB_obj.current_framesamples); in WebRtcIsac_GetNewBitStream()
759 instISAC->instLB.ISACencLB_obj.current_framesamples); in WebRtcIsac_GetNewBitStream()
Dstructs.h288 int16_t current_framesamples; member