Home
last modified time | relevance | path

Searched refs:coding_mode (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codecs/amrwb/enc/src/
Dbits.c36 Word16 coding_mode, /* i: coding bit-stream ratio mode */ in PackBits() argument
48 if (coding_mode == MRDTX) in PackBits()
87 for (i = 0; i < nb_of_bits[coding_mode]; i++) in PackBits()
91 return (3 + nb_of_bits[coding_mode])<<1; in PackBits()
99 *(dataOut + 1) = nb_of_bits[coding_mode]; in PackBits()
100 for (i = 0; i < nb_of_bits[coding_mode]; i++) in PackBits()
109 return (2 + nb_of_bits[coding_mode])<<1; in PackBits()
119 if (coding_mode == MRDTX) in PackBits()
121 coding_mode = MRSID; in PackBits()
128 if (coding_mode < 0 || coding_mode > 15 || (coding_mode > MRSID && coding_mode < 14)) in PackBits()
[all …]
DvoAMRWBEnc.c1570 Word16 coding_mode = 0, nb_bits, allow_dtx, mode, reset_flag; in AMR_Enc_Encode() local
1572 coding_mode = gData->mode; in AMR_Enc_Encode()
1585 coder(&coding_mode, signal, prms, &nb_bits, gData, allow_dtx); in AMR_Enc_Encode()
1586 packed_size = PackBits(prms, coding_mode, mode, gData); in AMR_Enc_Encode()
/frameworks/av/media/codecs/amrwb/enc/inc/
Dbits.h81 int PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st);