Home
last modified time | relevance | path

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

/frameworks/av/media/codecs/amrwb/enc/src/
Dq_pulse.c54 Word16 pos2, /* (i) position of the pulse 2 */ 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()
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()
87 if ((pos2 & NB_POS) != 0) in quant_2p_2N1()
95 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
109 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
169 pos2 = MSIZE - 2; in ACELP_2t64_fx()
175 p0 = &rrixiy[pos2]; in ACELP_2t64_fx()
200 pos2--; in ACELP_2t64_fx()
/frameworks/av/media/codecs/amrnb/dec/src/
Dd1035pf.cpp212 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/codecs/amrwb/enc/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/codecs/amrwb/dec/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.cpp53 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
54 mergeTree->join<TreeIteratorBase::Rightward>(pos2, 1); in TEST_F()
55 --pos2; in TEST_F()
56 mergeTree->join<TreeIteratorBase::Rightward>(pos2, 1); in TEST_F()
57 mergeTree->join<TreeIteratorBase::Leftward>(pos2, 1); in TEST_F()
94 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
95 mergeTree->merge<TreeIteratorBase::Rightward>(pos2, *m_pTestee); in TEST_F()
106 BinaryTree<int>::iterator pos2 = mergeTree->root(); in TEST_F() local
108 mergeTree->merge<TreeIteratorBase::Rightward>(pos2, *m_pTestee); in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp466 size_t pos2 = fingerprint.find('/', pos1+1); in buildMediaCodecList() local
467 if (pos2 != std::string::npos) { in buildMediaCodecList()
468 product = fingerprint.substr(pos1+1, pos2 - pos1 - 1); in buildMediaCodecList()
469 size_t pos3 = fingerprint.find('/', pos2+1); in buildMediaCodecList()
471 device = fingerprint.substr(pos2+1, pos3 - pos2 - 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()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java3569 int pos2 = descriptor.indexOf('/', pos + 1); in parse() local
3570 if (pos2 < pos + 2 || pos2 + 1 == descriptor.length()) { in parse()
3576 result.receiverName = descriptor.substring(pos + 1, pos2); in parse()
3577 result.keyboardLayoutName = descriptor.substring(pos2 + 1); in parse()