Home
last modified time | relevance | path

Searched refs:frame_type (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dbits.c41 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/
Damrdecode.cpp390 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()
Ddtx_dec.cpp1806 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 …]
Dsp_dec.cpp637 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()
Ddec_amr.cpp1338 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()
Damrdecode.h154 enum Frame_Type_3GPP frame_type,
Dsp_dec.h104 enum RXFrameType frame_type, /* i : Frame type */
Ddec_amr.h190 enum RXFrameType frame_type, /* i : received frame type */
Ddtx_dec.h181 enum RXFrameType frame_type,/* i : Frame type */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dmime_io.cpp531 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()
Ddtx_decoder_amr_wb.cpp536 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 …]
Dpvamrwbdecoder.h127 int16 frame_type, /* input : received frame type */
141 int16 *frame_type,
Dpvamrwbdecoder.cpp287 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()
Ddtx.h208 int16 frame_type /* i : Frame type */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp121 Frame_Type_3GPP frame_type = (Frame_Type_3GPP) mode; in encode() local
124 (Word16*)inputBuf, outputBuf, &frame_type, in encode()