/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | bits.c | 41 Word16 i, frame_type; in PackBits() local 54 frame_type = TX_SID_FIRST; in PackBits() 61 frame_type = TX_SID_UPDATE; in PackBits() 67 frame_type = TX_SID_UPDATE; in PackBits() 71 frame_type = TX_NO_DATA; in PackBits() 78 frame_type = TX_SPEECH; in PackBits() 80 st->prev_ft = frame_type; in PackBits() 85 *(dataOut + 1) = frame_type; in PackBits() 97 if(frame_type != TX_NO_DATA && frame_type != TX_SID_FIRST) in PackBits() 122 if (frame_type == TX_SID_FIRST) in PackBits() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | amrdecode.cpp | 390 enum Frame_Type_3GPP frame_type, in AMRDecode() argument 419 wmf_to_ets(frame_type, speech_bits_ptr, dec_ets_input_bfr); in AMRDecode() 422 byte_offset = WmfDecBytesPerFrame[frame_type]; in AMRDecode() 427 if2_to_ets(frame_type, speech_bits_ptr, dec_ets_input_bfr); in AMRDecode() 430 byte_offset = If2DecBytesPerFrame[frame_type]; in AMRDecode() 435 if (frame_type <= AMR_122) in AMRDecode() 437 mode = (enum Mode) frame_type; in AMRDecode() 440 else if (frame_type == AMR_SID) in AMRDecode() 462 else if (frame_type < AMR_NO_DATA) in AMRDecode()
|
D | dtx_dec.cpp | 1806 enum RXFrameType frame_type,/* i : Frame type */ in rx_dtx_handler() argument 1815 if ((frame_type == RX_SID_FIRST) || in rx_dtx_handler() 1816 (frame_type == RX_SID_UPDATE) || in rx_dtx_handler() 1817 (frame_type == RX_SID_BAD) || in rx_dtx_handler() 1819 ((frame_type == RX_NO_DATA) || (frame_type == RX_SPEECH_BAD) || in rx_dtx_handler() 1820 (frame_type == RX_ONSET)))) in rx_dtx_handler() 1827 ((frame_type == RX_SID_BAD) || in rx_dtx_handler() 1828 (frame_type == RX_SID_FIRST) || in rx_dtx_handler() 1829 (frame_type == RX_ONSET) || in rx_dtx_handler() 1830 (frame_type == RX_NO_DATA))) in rx_dtx_handler() [all …]
|
D | sp_dec.cpp | 637 enum RXFrameType frame_type, /* i : Frame type */ in GSMFrameDecode() argument 652 if ((frame_type == RX_SID_BAD) || in GSMFrameDecode() 653 (frame_type == RX_SID_UPDATE)) in GSMFrameDecode() 668 frame_type, in GSMFrameDecode()
|
D | dec_amr.cpp | 1338 enum RXFrameType frame_type, /* i : received frame type */ in Decoder_amr() argument 1402 newDTXState = rx_dtx_handler(&(st->dtxDecoderState), frame_type, pOverflow); in Decoder_amr() 1435 if ((frame_type == RX_SPEECH_BAD) || (frame_type == RX_NO_DATA) || in Decoder_amr() 1436 (frame_type == RX_ONSET)) in Decoder_amr() 1440 if ((frame_type == RX_NO_DATA) || (frame_type == RX_ONSET)) in Decoder_amr() 1449 else if (frame_type == RX_SPEECH_DEGRADED) in Decoder_amr()
|
D | amrdecode.h | 154 enum Frame_Type_3GPP frame_type,
|
D | sp_dec.h | 104 enum RXFrameType frame_type, /* i : Frame type */
|
D | dec_amr.h | 190 enum RXFrameType frame_type, /* i : received frame type */
|
D | dtx_dec.h | 181 enum RXFrameType frame_type,/* i : Frame type */
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | mime_io.cpp | 531 int16 * frame_type, in mime_unsorting() argument 682 *frame_type = RX_SPEECH_GOOD; in mime_unsorting() 686 *frame_type = RX_SPEECH_BAD; in mime_unsorting() 695 *frame_type = RX_SID_UPDATE; in mime_unsorting() 699 *frame_type = RX_SID_FIRST; in mime_unsorting() 704 *frame_type = RX_SID_BAD; in mime_unsorting() 711 *frame_type = RX_SPEECH_LOST; in mime_unsorting() 715 *frame_type = RX_NO_DATA; in mime_unsorting() 719 *frame_type = RX_NO_DATA; in mime_unsorting()
|
D | dtx_decoder_amr_wb.cpp | 536 int16 frame_type /* i : Frame type */ in rx_amr_wb_dtx_handler() argument 546 if ((frame_type == RX_SID_FIRST) || in rx_amr_wb_dtx_handler() 547 (frame_type == RX_SID_UPDATE) || in rx_amr_wb_dtx_handler() 548 (frame_type == RX_SID_BAD) || in rx_amr_wb_dtx_handler() 551 ((frame_type == RX_NO_DATA) || in rx_amr_wb_dtx_handler() 552 (frame_type == RX_SPEECH_BAD) || in rx_amr_wb_dtx_handler() 553 (frame_type == RX_SPEECH_LOST)))) in rx_amr_wb_dtx_handler() 560 ((frame_type == RX_SID_BAD) || in rx_amr_wb_dtx_handler() 561 (frame_type == RX_SID_FIRST) || in rx_amr_wb_dtx_handler() 562 (frame_type == RX_SPEECH_LOST) || in rx_amr_wb_dtx_handler() [all …]
|
D | pvamrwbdecoder.h | 127 int16 frame_type, /* input : received frame type */ 141 int16 *frame_type,
|
D | pvamrwbdecoder.cpp | 287 int16 frame_type, /* input : received frame type */ in pvDecoder_AmrWb() argument 346 newDTXState = rx_amr_wb_dtx_handler(&(st->dtx_decSt), frame_type); in pvDecoder_AmrWb() 355 if ((frame_type == RX_SPEECH_BAD) || in pvDecoder_AmrWb() 356 (frame_type == RX_SPEECH_PROBABLY_DEGRADED)) in pvDecoder_AmrWb() 362 else if ((frame_type == RX_NO_DATA) || in pvDecoder_AmrWb() 363 (frame_type == RX_SPEECH_LOST)) in pvDecoder_AmrWb()
|
D | dtx.h | 208 int16 frame_type /* i : Frame type */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 121 Frame_Type_3GPP frame_type = (Frame_Type_3GPP) mode; in encode() local 124 (Word16*)inputBuf, outputBuf, &frame_type, in encode()
|