Home
last modified time | relevance | path

Searched refs:pos2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_pulse.c53 Word16 pos2, /* (i) position of the pulse 2 */ in quant_2p_2N1() argument
62 if (((pos2 ^ pos1) & NB_POS) == 0) in quant_2p_2N1()
65 if(pos1 <= pos2) /* ((pos1 - pos2) <= 0) */ in quant_2p_2N1()
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
82 if (vo_sub((Word16) (pos1 & mask), (Word16) (pos2 & mask)) <= 0) in quant_2p_2N1()
85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
86 if ((pos2 & NB_POS) != 0) in quant_2p_2N1()
94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
108 Word16 pos2, /* (i) position of the pulse 2 */ in quant_3p_3N1() argument
[all …]
Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local
166 pos2 = MSIZE - 2; in ACELP_2t64_fx()
172 p0 = &rrixiy[pos2]; in ACELP_2t64_fx()
197 pos2--; in ACELP_2t64_fx()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd1035pf.cpp212 register Word16 i, j, pos1, pos2; in dec_10i40_35bits() local
252 pos2 = i + j; /* position of pulse "j+5" */ in dec_10i40_35bits()
255 if (pos2 < pos1) in dec_10i40_35bits()
259 *(cod + pos2) += sign; in dec_10i40_35bits()
Dd8_31pf.cpp567 Word16 pos2; in dec_8i40_31bits() local
609 pos2 = (linear_codewords[j + 4] << 2) + j; in dec_8i40_31bits()
612 if (pos2 < pos1) in dec_8i40_31bits()
617 if (pos2 < L_SUBFR) in dec_8i40_31bits()
619 cod[pos2] += sign; /* avoid buffer overflow */ in dec_8i40_31bits()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dq_pulse.h36 Word16 pos2, /* (i) position of the pulse 2 */
41 Word16 pos2, /* (i) position of the pulse 2 */
47 Word16 pos2, /* (i) position of the pulse 2 */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_alg_codebook.cpp147 int16 pos1, pos2, tmp; in dec_2p_2N1() local
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1()
160 if (pos2 < pos1) /* ((pos2 - pos1) < 0) */ in dec_2p_2N1()
168 pos2 += NB_POS; /* pos2 += NB_POS; */ in dec_2p_2N1()
176 pos2 += NB_POS; /* pos2 += NB_POS; */ in dec_2p_2N1()
181 pos[1] = pos2; in dec_2p_2N1()
/frameworks/compile/mclinker/unittests/
DBinTreeTest.cpp60 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
61 mergeTree->join<TreeIteratorBase::Rightward>(pos2,1); in TEST_F()
62 --pos2; in TEST_F()
63 mergeTree->join<TreeIteratorBase::Rightward>(pos2,1); in TEST_F()
64 mergeTree->join<TreeIteratorBase::Leftward>(pos2,1); in TEST_F()
103 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
104 mergeTree->merge<TreeIteratorBase::Rightward>(pos2,*m_pTestee); in TEST_F()
116 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
118 mergeTree->merge<TreeIteratorBase::Rightward>(pos2,*m_pTestee); in TEST_F()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1712 int pos2 = descriptor.indexOf('/', pos + 1); in parse() local
1713 if (pos2 < pos + 2 || pos2 + 1 == descriptor.length()) { in parse()
1719 result.receiverName = descriptor.substring(pos + 1, pos2); in parse()
1720 result.keyboardLayoutName = descriptor.substring(pos2 + 1); in parse()