Home
last modified time | relevance | path

Searched refs:frame_mode (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dencode.c56 int16_t frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsacfix_EncodeImpl() local
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()
99 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0 ) in WebRtcIsacfix_EncodeImpl()
111 if (CodingMode == 0 && frame_mode == 0 && (ISACenc_obj->enforceFrameSize == 0)) { in WebRtcIsacfix_EncodeImpl()
127 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
146 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
165 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0) in WebRtcIsacfix_EncodeImpl()
179 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
190 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
[all …]
Ddecode.c62 size_t frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsacfix_DecodeImpl() local
79 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; /* 0, or 1 */ in WebRtcIsacfix_DecodeImpl()
87 for (frame_nb = 0; frame_nb <= frame_mode; frame_nb++) { in WebRtcIsacfix_DecodeImpl()
148 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
172 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
Dentropy_coding.c1877 int16_t frame_mode; in WebRtcIsacfix_DecodeFrameLen() local
1881 …err = WebRtcIsacfix_DecHistOneStepMulti(&frame_mode, streamdata, kFrameLenCdfPtr, kFrameLenInitInd… in WebRtcIsacfix_DecodeFrameLen()
1885 switch(frame_mode) { in WebRtcIsacfix_DecodeFrameLen()
1903 int16_t frame_mode; in WebRtcIsacfix_EncodeFrameLen() local
1906 frame_mode = 0; in WebRtcIsacfix_EncodeFrameLen()
1910 frame_mode = 1; in WebRtcIsacfix_EncodeFrameLen()
1913 frame_mode = 2; in WebRtcIsacfix_EncodeFrameLen()
1922 status = WebRtcIsacfix_EncHistMulti(streamdata, &frame_mode, kFrameLenCdfPtr, 1); in WebRtcIsacfix_EncodeFrameLen()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dencode.c209 int frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsac_EncodeLb() local
222 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb()
249 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
256 if ((codingMode == 0) && (frame_mode == 0) && in WebRtcIsac_EncodeLb()
300 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
356 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
360 } else if (frame_mode == 0) { in WebRtcIsac_EncodeLb()
403 if (frame_mode == 1 && ISACencLB_obj->frame_nb == 1) { in WebRtcIsac_EncodeLb()
418 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
425 } else if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 1)) { in WebRtcIsac_EncodeLb()
[all …]
Ddecode.c68 int frame_mode; /* 0 30ms, 1 for 60ms */ in WebRtcIsac_DecodeLb() local
86 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_DecodeLb()
95 for (frame_nb = 0; frame_nb <= frame_mode; frame_nb++) { in WebRtcIsac_DecodeLb()
Dentropy_coding.c1792 int frame_mode, err; in WebRtcIsac_DecodeFrameLen() local
1795 err = WebRtcIsac_DecHistOneStepMulti(&frame_mode, streamdata, in WebRtcIsac_DecodeFrameLen()
1801 switch (frame_mode) { in WebRtcIsac_DecodeFrameLen()
1815 int frame_mode, status; in WebRtcIsac_EncodeFrameLen() local
1818 frame_mode = 0; in WebRtcIsac_EncodeFrameLen()
1822 frame_mode = 1; in WebRtcIsac_EncodeFrameLen()
1825 frame_mode = 2; in WebRtcIsac_EncodeFrameLen()
1834 WebRtcIsac_EncHistMulti(streamdata, &frame_mode, in WebRtcIsac_EncodeFrameLen()