Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/codecs/amrwb/enc/src/
Dq_pulse.c53 Word16 pos1, /* (i) position of the pulse 1 */ in quant_2p_2N1() argument
63 if (((pos2 ^ pos1) & NB_POS) == 0) in quant_2p_2N1()
66 if(pos1 <= pos2) /* ((pos1 - pos2) <= 0) */ in quant_2p_2N1()
69 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
73 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
75 if ((pos1 & NB_POS) != 0) in quant_2p_2N1()
83 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1()
86 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
95 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
96 if ((pos1 & NB_POS) != 0) in quant_2p_2N1()
[all …]
/frameworks/av/media/codecs/amrwb/dec/src/
Ddec_alg_codebook.cpp120 int16 pos1; in dec_1p_N1() local
127 pos1 = ((index & mask) + offset); in dec_1p_N1()
133 pos1 += NB_POS; in dec_1p_N1()
135 pos[0] = pos1; in dec_1p_N1()
147 int16 pos1, pos2, tmp; in dec_2p_2N1() local
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1()
160 if (pos2 < pos1) /* ((pos2 - pos1) < 0) */ in dec_2p_2N1()
164 pos1 += NB_POS; /* pos1 += NB_POS; */ in dec_2p_2N1()
175 pos1 += NB_POS; /* pos1 += NB_POS; */ in dec_2p_2N1()
180 pos[0] = pos1; in dec_2p_2N1()
/frameworks/av/media/codecs/amrnb/dec/src/
Dd1035pf.cpp212 Word16 i, j, pos1, pos2; in dec_10i40_35bits() local
231 pos1 = i + j; /* position of pulse "j" */ in dec_10i40_35bits()
244 *(cod + pos1) = sign; in dec_10i40_35bits()
255 if (pos2 < pos1) in dec_10i40_35bits()
Dd8_31pf.cpp566 Word16 pos1; in dec_8i40_31bits() local
589 pos1 = (linear_codewords[j] << 2) + j; in dec_8i40_31bits()
601 if (pos1 < L_SUBFR) in dec_8i40_31bits()
603 cod[pos1] = sign; /* avoid buffer overflow */ in dec_8i40_31bits()
612 if (pos2 < pos1) in dec_8i40_31bits()
/frameworks/av/media/codecs/amrwb/enc/inc/
Dq_pulse.h35 Word16 pos1, /* (i) position of the pulse 1 */
40 Word16 pos1, /* (i) position of the pulse 1 */
46 Word16 pos1, /* (i) position of the pulse 1 */
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp364 size_t pos1; in buildMediaCodecList() local
365 pos1 = fingerprint.find('/'); in buildMediaCodecList()
366 if (pos1 != std::string::npos) { in buildMediaCodecList()
367 brand = fingerprint.substr(0, pos1); in buildMediaCodecList()
368 size_t pos2 = fingerprint.find('/', pos1+1); in buildMediaCodecList()
370 product = fingerprint.substr(pos1+1, pos2 - pos1 - 1); in buildMediaCodecList()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DScriptGroupTestActivity.java116 void changeTest(int pos1, int pos2, int mode) { in changeTest() argument
121 final int[] index = new int[] { pos1, pos2 }; in changeTest()