/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | q_pulse.c | 52 Word16 pos1, /* (i) position of the pulse 1 */ 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() 74 if ((pos1 & NB_POS) != 0) 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() 94 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1() 95 if ((pos1 & NB_POS) != 0) in quant_2p_2N1() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dec_alg_codebook.cpp | 120 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/libstagefright/codecs/amrnb/dec/src/ |
D | d1035pf.cpp | 212 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()
|
D | d8_31pf.cpp | 566 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/libstagefright/codecs/amrwbenc/inc/ |
D | q_pulse.h | 35 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/base/cmds/statsd/tests/ |
D | metadata_util_test.cpp | 30 int pos1[] = {1, 1, 1}; in TEST() local 34 Field field1(10, pos1, 2); in TEST()
|
D | FieldValue_test.cpp | 160 int pos1[] = {1, 1, 1}; in TEST() local 164 Field field1(10, pos1, 2); in TEST() 322 int pos1[] = {1, 1, 1}; in TEST() local 328 Field field1(atomId, pos1, /*depth=*/2); in TEST() 373 int pos1[] = {1, 1, 1}; in TEST() local 377 Field field1(10, pos1, 2); in TEST() 435 int pos1[] = {1, 1, 1}; in TEST() local 439 Field field1(10, pos1, 2); in TEST()
|
D | statsd_test_util.cpp | 448 int pos1[] = {1, 0, 0}; in getUidProcessKey() local 449 Field field1(27 /* atom id */, pos1, 0 /* depth */); in getUidProcessKey() 456 int pos1[] = {1, 0, 0}; in getOverlayKey() local 459 Field field1(59 /* atom id */, pos1, 0 /* depth */); in getOverlayKey() 470 int pos1[] = {1, 1, 1}; in getPartialWakelockKey() local 474 Field field1(10 /* atom id */, pos1, 2 /* depth */); in getPartialWakelockKey() 489 int pos1[] = {1, 1, 1}; in getPartialWakelockKey() local 492 Field field1(10 /* atom id */, pos1, 2 /* depth */); in getPartialWakelockKey()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | ScriptGroupTestActivity.java | 116 void changeTest(int pos1, int pos2, int mode) { in changeTest() argument 121 final int[] index = new int[] { pos1, pos2 }; in changeTest()
|