Searched refs:frame_mode (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | encode.c | 56 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 …]
|
D | decode.c | 62 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()
|
D | entropy_coding.c | 1899 int16_t frame_mode; in WebRtcIsacfix_DecodeFrameLen() local 1903 …err = WebRtcIsacfix_DecHistOneStepMulti(&frame_mode, streamdata, kFrameLenCdfPtr, kFrameLenInitInd… in WebRtcIsacfix_DecodeFrameLen() 1907 switch(frame_mode) { in WebRtcIsacfix_DecodeFrameLen() 1925 int16_t frame_mode; in WebRtcIsacfix_EncodeFrameLen() local 1928 frame_mode = 0; in WebRtcIsacfix_EncodeFrameLen() 1932 frame_mode = 1; in WebRtcIsacfix_EncodeFrameLen() 1935 frame_mode = 2; in WebRtcIsacfix_EncodeFrameLen() 1944 status = WebRtcIsacfix_EncHistMulti(streamdata, &frame_mode, kFrameLenCdfPtr, 1); in WebRtcIsacfix_EncodeFrameLen()
|
/external/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | encode.c | 211 int frame_mode; /* 0 for 30ms, 1 for 60ms */ in WebRtcIsac_EncodeLb() local 224 frame_mode = ISACencLB_obj->current_framesamples / MAX_FRAMESAMPLES; in WebRtcIsac_EncodeLb() 251 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb() 258 if ((codingMode == 0) && (frame_mode == 0) && in WebRtcIsac_EncodeLb() 302 if (frame_mode == 0 || ISACencLB_obj->frame_nb == 0) { in WebRtcIsac_EncodeLb() 358 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb() 362 } else if (frame_mode == 0) { in WebRtcIsac_EncodeLb() 405 if (frame_mode == 1 && ISACencLB_obj->frame_nb == 1) { in WebRtcIsac_EncodeLb() 420 if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 0)) { in WebRtcIsac_EncodeLb() 427 } else if ((frame_mode == 1) && (ISACencLB_obj->frame_nb == 1)) { in WebRtcIsac_EncodeLb() [all …]
|
D | decode.c | 67 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()
|
D | entropy_coding.c | 1792 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()
|