Home
last modified time | relevance | path

Searched refs:bitstr_obj (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dencode.c253 WebRtcIsac_ResetBitstream(&(ISACencLB_obj->bitstr_obj)); in WebRtcIsac_EncodeLb()
266 ISACencLB_obj->current_framesamples, &ISACencLB_obj->bitstr_obj); in WebRtcIsac_EncodeLb()
278 WebRtcIsac_EncodeReceiveBw(&intVar, &ISACencLB_obj->bitstr_obj); in WebRtcIsac_EncodeLb()
306 WebRtcIsac_EncodePitchGain(PitchGains_Q12, &ISACencLB_obj->bitstr_obj, in WebRtcIsac_EncodeLb()
309 &ISACencLB_obj->bitstr_obj, in WebRtcIsac_EncodeLb()
321 WebRtcIsac_EncodeLpcLb(lofilt_coef, hifilt_coef, &ISACencLB_obj->bitstr_obj, in WebRtcIsac_EncodeLb()
330 transcodingParam.W_upper = ISACencLB_obj->bitstr_obj.W_upper; in WebRtcIsac_EncodeLb()
331 transcodingParam.stream_index = ISACencLB_obj->bitstr_obj.stream_index; in WebRtcIsac_EncodeLb()
332 transcodingParam.streamval = ISACencLB_obj->bitstr_obj.streamval; in WebRtcIsac_EncodeLb()
334 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index - in WebRtcIsac_EncodeLb()
[all …]
Ddecode.c70 WebRtcIsac_ResetBitstream(&(ISACdecLB_obj->bitstr_obj)); in WebRtcIsac_DecodeLb()
76 err = WebRtcIsac_DecodeFrameLen(&ISACdecLB_obj->bitstr_obj, in WebRtcIsac_DecodeLb()
87 err = WebRtcIsac_DecodeSendBW(&ISACdecLB_obj->bitstr_obj, &bandwidthInd); in WebRtcIsac_DecodeLb()
96 err = WebRtcIsac_DecodePitchGain(&ISACdecLB_obj->bitstr_obj, in WebRtcIsac_DecodeLb()
102 err = WebRtcIsac_DecodePitchLag(&ISACdecLB_obj->bitstr_obj, PitchGains_Q12, in WebRtcIsac_DecodeLb()
112 err = WebRtcIsac_DecodeLpc(&ISACdecLB_obj->bitstr_obj, lo_filt_coef, in WebRtcIsac_DecodeLb()
118 len = WebRtcIsac_DecodeSpec(&ISACdecLB_obj->bitstr_obj, AvgPitchGain_Q12, in WebRtcIsac_DecodeLb()
201 err = WebRtcIsac_DecodeInterpolLpcUb(&ISACdecUB_obj->bitstr_obj, in WebRtcIsac_DecodeUb16()
208 len = WebRtcIsac_DecodeSpec(&ISACdecUB_obj->bitstr_obj, kAveragePitchGain, in WebRtcIsac_DecodeUb16()
266 err = WebRtcIsac_DecodeInterpolLpcUb(&ISACdecUB_obj->bitstr_obj, in WebRtcIsac_DecodeUb12()
[all …]
Dstructs.h313 Bitstr bitstr_obj; member
358 Bitstr bitstr_obj; member
383 Bitstr bitstr_obj; member
393 Bitstr bitstr_obj; member
Disac.c338 instLB->ISACencLB_obj.bitstr_obj.stream[k] = 0; in EncoderInitLb()
379 instUB->ISACencUB_obj.bitstr_obj.stream[k] = 0; in EncoderInitUb()
607 memcpy(ptrEncodedUW8, instLB->ISACencLB_obj.bitstr_obj.stream, streamLenLB); in WebRtcIsac_Encode()
613 instUB->ISACencUB_obj.bitstr_obj.stream, streamLenUB); in WebRtcIsac_Encode()
622 memcpy(ptrEncodedUW8, instLB->ISACencLB_obj.bitstr_obj.stream, in WebRtcIsac_Encode()
894 instISAC->ISACdecLB_obj.bitstr_obj.stream[i] = 0; in DecoderInitLb()
908 instISAC->ISACdecUB_obj.bitstr_obj.stream[i] = 0; in DecoderInitUb()
1057 memcpy(instISAC->instLB.ISACdecLB_obj.bitstr_obj.stream, ptrEncodedUW8, in Decode()
1171 memcpy(decInstUB->bitstr_obj.stream, in Decode()
1175 WebRtcIsac_ResetBitstream(&(decInstUB->bitstr_obj)); in Decode()
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dencode.c99 ISACenc_obj->bitstr_obj.W_upper = 0xFFFFFFFF; in WebRtcIsacfix_EncodeImpl()
100 ISACenc_obj->bitstr_obj.streamval = 0; in WebRtcIsacfix_EncodeImpl()
101 ISACenc_obj->bitstr_obj.stream_index = 0; in WebRtcIsacfix_EncodeImpl()
102 ISACenc_obj->bitstr_obj.full = 1; in WebRtcIsacfix_EncodeImpl()
119 …status = WebRtcIsacfix_EncodeFrameLen(ISACenc_obj->current_framesamples, &ISACenc_obj->bitstr_obj); in WebRtcIsacfix_EncodeImpl()
139 status = WebRtcIsacfix_EncodeReceiveBandwidth(&BWno, &ISACenc_obj->bitstr_obj); in WebRtcIsacfix_EncodeImpl()
172 …status = WebRtcIsacfix_EncodePitchGain(PitchGains_Q12, &ISACenc_obj->bitstr_obj, ISACenc_obj->Sav… in WebRtcIsacfix_EncodeImpl()
183 …status = WebRtcIsacfix_EncodePitchLag(PitchLags_Q7 , PitchGains_Q12, &ISACenc_obj->bitstr_obj, IS… in WebRtcIsacfix_EncodeImpl()
209 … &bmodel, &bits_gainsQ11, &ISACenc_obj->bitstr_obj, ISACenc_obj->SaveEnc_ptr, &transcodingParam); in WebRtcIsacfix_EncodeImpl()
220 …arithLenBeforeEncodingDFT = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_o… in WebRtcIsacfix_EncodeImpl()
[all …]
Ddecode.c68 (ISACdec_obj->bitstr_obj).W_upper = 0xFFFFFFFF; in WebRtcIsacfix_DecodeImpl()
69 (ISACdec_obj->bitstr_obj).streamval = 0; in WebRtcIsacfix_DecodeImpl()
70 (ISACdec_obj->bitstr_obj).stream_index = 0; in WebRtcIsacfix_DecodeImpl()
71 (ISACdec_obj->bitstr_obj).full = 1; in WebRtcIsacfix_DecodeImpl()
75 err = WebRtcIsacfix_DecodeFrameLen(&ISACdec_obj->bitstr_obj, current_framesamples); in WebRtcIsacfix_DecodeImpl()
82 err = WebRtcIsacfix_DecodeSendBandwidth(&ISACdec_obj->bitstr_obj, &BWno); in WebRtcIsacfix_DecodeImpl()
90 err = WebRtcIsacfix_DecodePitchGain(&(ISACdec_obj->bitstr_obj), PitchGains_Q12); in WebRtcIsacfix_DecodeImpl()
94 err = WebRtcIsacfix_DecodePitchLag(&ISACdec_obj->bitstr_obj, PitchGains_Q12, PitchLags_Q7); in WebRtcIsacfix_DecodeImpl()
102 &ISACdec_obj->bitstr_obj, &model); in WebRtcIsacfix_DecodeImpl()
108 …len = WebRtcIsacfix_DecodeSpec(&ISACdec_obj->bitstr_obj, Vector_Word16_1, Vector_Word16_2, AvgPitc… in WebRtcIsacfix_DecodeImpl()
Disacfix.c259 ISAC_inst->ISACenc_obj.bitstr_obj.stream[k] = 0; in WebRtcIsacfix_EncoderInit()
338 …encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8… in WebRtcIsacfix_Encode()
339 … | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] & 0x00FF) << 8)); in WebRtcIsacfix_Encode()
343 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1); in WebRtcIsacfix_Encode()
428 … encoded[k] = (WebRtc_Word16)(((WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8) in WebRtcIsacfix_EncodeNb()
429 | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] & 0x00FF) << 8)); in WebRtcIsacfix_EncodeNb()
433 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1); in WebRtcIsacfix_EncodeNb()
493 …encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8… in WebRtcIsacfix_GetNewBitStream()
494 … | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] & 0x00FF) << 8)); in WebRtcIsacfix_GetNewBitStream()
498 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1); in WebRtcIsacfix_GetNewBitStream()
[all …]
Dstructs.h305 Bitstr_enc bitstr_obj; member
341 Bitstr_dec bitstr_obj; member