Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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()
126 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
145 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
164 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0) in WebRtcIsacfix_EncodeImpl()
178 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
189 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
[all …]
Ddecode.c62 int16_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()
146 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
170 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
Dentropy_coding.c1888 int16_t frame_mode; in WebRtcIsacfix_DecodeFrameLen() local
1892 …err = WebRtcIsacfix_DecHistOneStepMulti(&frame_mode, streamdata, kFrameLenCdfPtr, kFrameLenInitInd… in WebRtcIsacfix_DecodeFrameLen()
1896 switch(frame_mode) { in WebRtcIsacfix_DecodeFrameLen()
1914 int16_t frame_mode; in WebRtcIsacfix_EncodeFrameLen() local
1917 frame_mode = 0; in WebRtcIsacfix_EncodeFrameLen()
1921 frame_mode = 1; in WebRtcIsacfix_EncodeFrameLen()
1924 frame_mode = 2; in WebRtcIsacfix_EncodeFrameLen()
1933 status = WebRtcIsacfix_EncHistMulti(streamdata, &frame_mode, kFrameLenCdfPtr, 1); in WebRtcIsacfix_EncodeFrameLen()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dencode.c53 WebRtc_Word16 frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsacfix_EncodeImpl() local
72 frame_mode = ISACenc_obj->current_framesamples/MAX_FRAMESAMPLES; /* 0 (30 ms) or 1 (60 ms) */ in WebRtcIsacfix_EncodeImpl()
73 processed_samples = ISACenc_obj->current_framesamples/(frame_mode+1); /* 480 (30, 60 ms) */ in WebRtcIsacfix_EncodeImpl()
96 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0 ) in WebRtcIsacfix_EncodeImpl()
108 if (CodingMode == 0 && frame_mode == 0 && (ISACenc_obj->enforceFrameSize == 0)) { in WebRtcIsacfix_EncodeImpl()
123 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
142 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
161 if (frame_mode == 0 || ISACenc_obj->frame_nb == 0) in WebRtcIsacfix_EncodeImpl()
175 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
186 if (frame_mode == 1 && ISACenc_obj->frame_nb == 1) in WebRtcIsacfix_EncodeImpl()
[all …]
Ddecode.c62 WebRtc_Word16 frame_mode; /* 0 for 20ms and 30ms, 1 for 60ms */ in WebRtcIsacfix_DecodeImpl() local
79 frame_mode = (WebRtc_Word16)WEBRTC_SPL_DIV(*current_framesamples, MAX_FRAMESAMPLES); /* 0, or 1 */ in WebRtcIsacfix_DecodeImpl()
80 …processed_samples = (WebRtc_Word16)WEBRTC_SPL_DIV(*current_framesamples, frame_mode+1); /* either … in WebRtcIsacfix_DecodeImpl()
87 for (frame_nb = 0; frame_nb <= frame_mode; frame_nb++) { in WebRtcIsacfix_DecodeImpl()
146 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
170 if( frame_nb == frame_mode ) in WebRtcIsacfix_DecodeImpl()
Dentropy_coding.c1891 WebRtc_Word16 frame_mode; in WebRtcIsacfix_DecodeFrameLen() local
1895 …err = WebRtcIsacfix_DecHistOneStepMulti(&frame_mode, streamdata, kFrameLenCdfPtr, kFrameLenInitInd… in WebRtcIsacfix_DecodeFrameLen()
1899 switch(frame_mode) { in WebRtcIsacfix_DecodeFrameLen()
1917 WebRtc_Word16 frame_mode; in WebRtcIsacfix_EncodeFrameLen() local
1920 frame_mode = 0; in WebRtcIsacfix_EncodeFrameLen()
1924 frame_mode = 1; in WebRtcIsacfix_EncodeFrameLen()
1927 frame_mode = 2; in WebRtcIsacfix_EncodeFrameLen()
1936 status = WebRtcIsacfix_EncHistMulti(streamdata, &frame_mode, kFrameLenCdfPtr, 1); in WebRtcIsacfix_EncodeFrameLen()
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
Dencode.c208 int frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsac_EncodeLb() local
221 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb()
248 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
255 if ((codingMode == 0) && (frame_mode == 0) && in WebRtcIsac_EncodeLb()
299 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
355 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
359 } else if (frame_mode == 0) { in WebRtcIsac_EncodeLb()
401 if (frame_mode == 1 && ISACencLB_obj->frame_nb == 1) { in WebRtcIsac_EncodeLb()
416 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
423 } else if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 1)) { in WebRtcIsac_EncodeLb()
[all …]
Ddecode.c67 int frame_mode; /* 0 30ms, 1 for 60ms */ in WebRtcIsac_DecodeLb() local
85 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_DecodeLb()
94 for (frame_nb = 0; frame_nb <= frame_mode; frame_nb++) { in WebRtcIsac_DecodeLb()
Dentropy_coding.c1797 int frame_mode, err; in WebRtcIsac_DecodeFrameLen() local
1800 err = WebRtcIsac_DecHistOneStepMulti(&frame_mode, streamdata, in WebRtcIsac_DecodeFrameLen()
1806 switch (frame_mode) { in WebRtcIsac_DecodeFrameLen()
1820 int frame_mode, status; in WebRtcIsac_EncodeFrameLen() local
1823 frame_mode = 0; in WebRtcIsac_EncodeFrameLen()
1827 frame_mode = 1; in WebRtcIsac_EncodeFrameLen()
1830 frame_mode = 2; in WebRtcIsac_EncodeFrameLen()
1839 WebRtcIsac_EncHistMulti(streamdata, &frame_mode, in WebRtcIsac_EncodeFrameLen()
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dencode.c208 int frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsac_EncodeLb() local
221 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb()
248 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
255 if ((codingMode == 0) && (frame_mode == 0) && in WebRtcIsac_EncodeLb()
299 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb()
355 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
359 } else if (frame_mode == 0) { in WebRtcIsac_EncodeLb()
401 if (frame_mode == 1 && ISACencLB_obj->frame_nb == 1) { in WebRtcIsac_EncodeLb()
416 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb()
423 } else if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 1)) { in WebRtcIsac_EncodeLb()
[all …]
Ddecode.c67 int frame_mode; /* 0 30ms, 1 for 60ms */ in WebRtcIsac_DecodeLb() local
85 frame_mode = *current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_DecodeLb()
94 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()