/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | bit_cnt.c | 500 Word16 sign, signLength; in codeValues() local 533 sign=0; in codeValues() 539 sign = sign << 1; in codeValues() 542 sign|=1; in codeValues() 550 sign = sign << 1; in codeValues() 553 sign|=1; in codeValues() 561 sign = sign << 1; in codeValues() 564 sign|=1; in codeValues() 571 sign = sign << 1; in codeValues() 574 sign|=1; in codeValues() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 31 public int sign; // 1 or -1 field in Duration 40 sign = 1; in Duration() 49 sign = 1; in parse() 66 sign = -1; in parse() 131 cal.add(Calendar.DAY_OF_MONTH, sign*weeks*7); in addTo() 132 cal.add(Calendar.DAY_OF_MONTH, sign*days); in addTo() 133 cal.add(Calendar.HOUR, sign*hours); in addTo() 134 cal.add(Calendar.MINUTE, sign*minutes); in addTo() 135 cal.add(Calendar.SECOND, sign*seconds); in addTo() 143 long factor = 1000 * sign; in getMillis()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | d1035pf.cpp | 213 Word16 sign, tmp; in dec_10i40_35bits() local 237 sign = 4096; /* +1.0 */ in dec_10i40_35bits() 241 sign = -4096; /* -1.0 */ in dec_10i40_35bits() 244 *(cod + pos1) = sign; in dec_10i40_35bits() 257 sign = negate(sign); in dec_10i40_35bits() 259 *(cod + pos2) += sign; in dec_10i40_35bits()
|
D | d8_31pf.cpp | 568 Word16 sign; in dec_8i40_31bits() local 594 sign = POS_CODE; /* +1.0 */ in dec_8i40_31bits() 598 sign = -NEG_CODE; /* -1.0 */ in dec_8i40_31bits() 603 cod[pos1] = sign; /* avoid buffer overflow */ in dec_8i40_31bits() 614 sign = negate(sign); in dec_8i40_31bits() 619 cod[pos2] += sign; /* avoid buffer overflow */ in dec_8i40_31bits()
|
D | d2_11pf.cpp | 151 Word16 sign, /* i : signs of 2 pulses. */ in decode_2i40_11bits() argument 203 i = sign & 1; in decode_2i40_11bits() 220 sign >>= 1; in decode_2i40_11bits()
|
D | d3_14pf.cpp | 157 Word16 sign, /* i : signs of 3 pulses. */ in decode_3i40_14bits() argument 211 i = sign & 1; in decode_3i40_14bits() 228 sign >>= 1; in decode_3i40_14bits()
|
D | d2_9pf.cpp | 177 Word16 sign, /* i : signs of 2 pulses. */ in decode_2i40_9bits() argument 227 i = sign & 0x1; in decode_2i40_9bits() 244 sign >>= 1; in decode_2i40_9bits()
|
D | d4_17pf.cpp | 177 Word16 sign, /* i : signs of 4 pulses. */ in decode_4i40_17bits() argument 250 i = sign & 0x1; in decode_4i40_17bits() 267 sign >>= 1; in decode_4i40_17bits()
|
D | d_plsf_5.cpp | 313 Word16 sign; in D_plsf_5() local 339 sign = in D_plsf_5() 347 sign, in D_plsf_5() 413 sign = *(indice + 2) & 1; in D_plsf_5() 432 if (sign == 0) in D_plsf_5()
|
/frameworks/base/core/java/android/text/method/ |
D | DigitsKeyListener.java | 80 public DigitsKeyListener(boolean sign, boolean decimal) { in DigitsKeyListener() argument 81 mSign = sign; in DigitsKeyListener() 84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in DigitsKeyListener() 100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) { in getInstance() argument 101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in getInstance() 106 sInstance[kind] = new DigitsKeyListener(sign, decimal); in getInstance() 152 int sign = -1; in filter() local 164 sign = i; in filter() 195 } else if (sign >= 0) { in filter() 198 sign = i; in filter()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | armVCM4P2_GetVLCBits.c | 103 OMX_U8 sign = 0; in armVCM4P2_GetVLCBits() local 128 sign = (storeLevel & 0x80); in armVCM4P2_GetVLCBits() 129 if(sign==0x80) in armVCM4P2_GetVLCBits() 132 sign=1; in armVCM4P2_GetVLCBits() 136 armRetDataErrIf( storeLevel == 0 || sign*storeLevel == 128 , OMX_Sts_Err); /* Invalid FLC */ in armVCM4P2_GetVLCBits() 142 sign, in armVCM4P2_GetVLCBits() 191 sign = (OMX_U8) armGetBits(ppBitStream, pBitOffset, 1); in armVCM4P2_GetVLCBits() 228 sign = (OMX_U8) armGetBits(ppBitStream, pBitOffset, 1); in armVCM4P2_GetVLCBits() 244 sign, in armVCM4P2_GetVLCBits()
|
D | armVCM4P2_FillVLCBuffer.c | 78 OMX_U32 tempRun = run, sign = 0; in armVCM4P2_FillVLCBuffer() local 115 sign = 1; in armVCM4P2_FillVLCBuffer() 133 armPackBits(ppBitStream, pBitOffset, (OMX_U32)sign, 1); in armVCM4P2_FillVLCBuffer() 137 if (sign) in armVCM4P2_FillVLCBuffer()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 872 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra() 886 if (!pTcoef->sign) in VlcDecTCOEFIntra() 919 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra() 971 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFIntra() 1008 pTcoef->sign = 1; in VlcDecTCOEFIntra() 1013 pTcoef->sign = 0; in VlcDecTCOEFIntra() 1054 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter() 1067 if (!pTcoef->sign) in VlcDecTCOEFInter() 1097 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter() 1144 pTcoef->sign = (code >> (12 - tab->len)) & 1; in VlcDecTCOEFInter() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | LVM_Polynomial.c | 49 LVM_INT32 Y,A,XTemp,Temp,sign; in LVM_Polynomial() local 57 sign=Temp; in LVM_Polynomial() 60 Y+=((*pCoefficients)*sign); in LVM_Polynomial() 62 sign*=Temp; in LVM_Polynomial()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c4t64fx.c | 76 Word16 sign[], /* (i) sign vector */ 86 Word16 sign[], /* (i) sign vector */ 96 Word16 sign[], /* (i) sign vector */ 141 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR]; in ACELP_4t64_fx() local 287 sign[i] = 32767; /* sign = +1 (Q12) */ in ACELP_4t64_fx() 291 sign[i] = -32768; /* sign = -1 (Q12) */ in ACELP_4t64_fx() 527 psign = sign; in ACELP_4t64_fx() 578 if (sign[ix] < 0) in ACELP_4t64_fx() 582 if (sign[iy] < 0) in ACELP_4t64_fx() 608 if (sign[ix] < 0) in ACELP_4t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | cor_h_vec_opt.s | 20 @ Word16 sign[], /* (i) sign vector */ 28 @r3 ---- sign[] 45 @r3 --- sign[], r4 --- i, r7 --- p0 71 ADD r9, r3, r2, LSL #1 @address of sign[pos] 73 LDRSH r10, [r9], #2 @sign[pos] 74 LDRSH r11, [r9] @sign[pos + 1] 118 ADD r9, r3, r2, LSL #1 @address of sign[pos] 120 LDRSH r10, [r9], #2 @sign[pos] 121 LDRSH r11, [r9] @sign[pos + 1]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | cor_h_vec_neon.s | 21 @ Word16 sign[], /* (i) sign vector */ 29 @r3 ---- sign[] 45 @r3 --- sign[], r4 --- i, r7 --- p0 72 ADD r9, r3, r2, LSL #1 @address of sign[pos] 74 LDRSH r10, [r9], #2 @sign[pos] 75 LDRSH r11, [r9] @sign[pos + 1] 119 ADD r9, r3, r2, LSL #1 @address of sign[pos] 121 LDRSH r10, [r9], #2 @sign[pos] 122 LDRSH r11, [r9] @sign[pos + 1]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c1035pf.cpp | 401 Word16 sign[], /* (i) : sign of d[n] */ in build_code() argument 438 if (sign[i] > 0) in build_code() 659 Word16 dn[L_CODE], sign[L_CODE]; in code_10i40_35bits() local 663 set_sign12k2(dn, cn, sign, pos_max, NB_TRACK, ipos, STEP, pOverflow); in code_10i40_35bits() 664 cor_h(h, sign, rr, pOverflow); in code_10i40_35bits() 669 build_code(codvec, sign, cod, h, y, indx, pOverflow); in code_10i40_35bits()
|
D | set_sign.cpp | 246 Word16 sign[], /* o : sign of dn[] */ in set_sign() argument 262 sign[i] = 32767; in set_sign() 266 sign[i] = -32767; in set_sign() 489 Word16 sign[], /* o : sign of d[n] */ in set_sign12k2() argument 537 p_sign = &sign[L_CODE-1]; in set_sign12k2()
|
D | c2_9pf.cpp | 135 Word16 sign[], /* o : sign of 2 pulses */ 311 Word16 * sign, /* o : Signs of 2 pulses */ in code_2i40_9bits() argument 395 sign, in code_2i40_9bits() 992 Word16 sign[], /* o : sign of 2 pulses */ in build_code() argument 1065 *sign = rsign; in build_code() 1186 Word16 sign[], /* o : sign of 2 pulses */ in Test_build_code() argument 1211 sign, in Test_build_code()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument 42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \ 59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) in poly_clip_to_halfspace() argument 72 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace() 76 tv = sign*COORD(v, index) - v->sw*k; in poly_clip_to_halfspace()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 42 int sign = 1; in convertValueToInt() local 48 sign = -1; in convertValueToInt() 72 return ((int)Long.parseLong(nm.substring(index), base)) * sign; in convertValueToInt()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | DurationTest.java | 27 int sign, int weeks, int days, int hours, in verifyDuration() argument 33 assertEquals("Duration sign is not equal for " + str, sign, duration.sign); in verifyDuration()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | residual.cpp | 158 … int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; in enc_residual_block() local 307 sign = 0; in enc_residual_block() 311 sign = 1; in enc_residual_block() 319 status = BitstreamWriteBits(stream, value * 2 + sign - 1, 1); in enc_residual_block() 323 … status = BitstreamWriteBits(stream, 14 + 1 + 4, (1 << 4) | ((value - 8) << 1) | sign); in enc_residual_block() 327 … status = BitstreamWriteBits(stream, 14 + 2 + 12, (1 << 12) | ((value - 16) << 1) | sign) ; in enc_residual_block() 339 …us = BitstreamWriteBits(stream, numPrefix + vlcnum + 1, (1 << (shift + 1)) | (suffix << 1) | sign); in enc_residual_block() 343 … status = BitstreamWriteBits(stream, 28, (1 << 12) | ((value - escape) << 1) | sign); in enc_residual_block()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 52 int sign = (sample >> 8) & 0x80; in encode() local 62 ulaws[i] = ~(sign | (exponent << 4) | mantissa); in encode() 103 int sign = (sample >> 8) & 0x80; in encode() local 112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5; in encode()
|