Searched refs:frame_mode (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | encode.c | 53 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 …]
|
D | decode.c | 62 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()
|
D | entropy_coding.c | 1891 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/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | encode.c | 208 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 …]
|
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()
|