Searched refs:c1 (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_TransformDequantLumaDCFromPair.c88 int c1 = pData[i+1]; local
91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3);
93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3);
94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3);
101 int c1 = pData[i+4]; local
104 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
105 pData[i+4] = (OMX_S16)(c0+c1-c2-c3);
106 pData[i+8] = (OMX_S16)(c0-c1-c2+c3);
107 pData[i+12] = (OMX_S16)(c0-c1
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java193 * Returns the color between c1, and c2, based on the percent of the distance
194 * between c1 and c2.
196 private int computeColor(int c1, int c2, float percent) { argument
197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent);
198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent);
199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent);
200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent);
208 private int computeChannel(int c1, int c2, float percent) { argument
209 return c1 + (int)((percent * (c2-c1))
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java69 int c1 = mTokens[0].charAt(i);
71 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10;
72 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10;
73 else c1
[all...]
/frameworks/minikin/libs/minikin/
H A DGraphemeBreak.cpp40 uint32_t c1 = 0; local
43 U16_PREV(buf, start, offset_back, c1);
45 int32_t p1 = u_getIntPropertyValue(c1, UCHAR_GRAPHEME_CLUSTER_BREAK);
92 if (u_getIntPropertyValue(c1, UCHAR_CANONICAL_COMBINING_CLASS) == 9 // virama
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp521 uint8 *c1 = qpel_cand; local
542 *c1 = (c + a + 1) >> 1;
543 *(c1 += 384) = (b + a + 1) >> 1; /* c2 */
544 *(c1 += 384) = (b + c + 1) >> 1; /* c3 */
545 *(c1 += 384) = (b + d + 1) >> 1; /* c4 */
549 *(c1 += 384) = (c + d + 1) >> 1; /* c5 */
550 *(c1 += 384) = (b + d + 1) >> 1; /* c6 */
551 *(c1 += 384) = (b + c + 1) >> 1; /* c7 */
552 *(c1 += 384) = (b + a + 1) >> 1; /* c8 */
554 c1
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp45 int c1 = (i+2) % 4; local
52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1]))
53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0]))
54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0]));
87 int c1 = (i+2) % 4; local
93 float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1
[all...]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java198 int c1 = bm1.getPixel(i % 16, i / 16);
202 assertEquals("getPixel", c1, c2);
208 int a1 = Color.alpha(c1);
212 int r1 = Color.red(c1);
217 int g1 = Color.green(c1);
222 int b1 = Color.blue(c1);
229 " set+get " + Integer.toHexString(c1) +
/frameworks/av/include/media/stagefright/
H A DUtils.h30 #define FOURCC(c1, c2, c3, c4) \
31 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
/frameworks/minikin/include/minikin/
H A DMinikinFont.h112 static uint32_t MakeTag(char c1, char c2, char c3, char c4) { argument
113 return ((uint32_t)c1 << 24) | ((uint32_t)c2 << 16) |
/frameworks/native/include/binder/
H A DIBinder.h26 #define B_PACK_CHARS(c1, c2, c3, c4) \
27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_script_group2_pointwise.java60 ScriptGroup.Closure c1 =
65 ScriptGroup group = builder.create("AddDouble", c1.getReturn());
H A DUT_script_group2_nochain.java61 ScriptGroup.Closure c1 =
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp165 int c1 = data[i]; local
166 int c2 = u_charMirror(c1);
168 if (c1 != c2) {
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java91 Cursor c1 = mDatabase.rawQuery("select * from " + testTable, null);
92 assertEquals(N, c1.getCount());
93 c1.close();
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument
57 float c1(void) const { return _c1; } function in class:ColorFract
H A DhwcTestLib.cpp163 out << '[' << this->c1() << ", "
309 float c1, c2, c3; local
320 in >> c1; local
322 if ((c1 < 0.0) || (c1 > 1.0)) { return color; }
345 if ((c1 < 0.0) || (c1 > 1.0)
352 return ColorFract(c1, c2, c3);
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
707 ColorFract color(startColor.c1()
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix4f.java405 int c1 = (i+2) % 4;
411 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] -
412 mMat[c1 + 4*r2] * mMat[c2 + 4*r1]))
413 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] -
414 mMat[c1 + 4*r2] * mMat[c2 + 4*r0]))
415 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] -
416 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix4f.java406 int c1 = (i+2) % 4;
412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] -
413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1]))
414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] -
415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0]))
416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] -
417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp31 int32_t* it, int32_t c0, int32_t c1, int32_t c2);
304 int32_t c0, int32_t c1, int32_t c2) const
306 int32_t dc01 = c1 - c0;
332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const
334 const GGLfixed dc01 = c1 - c0;
348 int32_t c0, int32_t c1, int32_t c2) const
351 int32_t dc01 = (c1 - c0)>>s;
363 int32_t c0, int32_t c1, int32_t c2) const
365 ::iterators0032(this, it, c0, c1, c2);
369 int32_t c0, int32_t c1, int32_
303 iteratorsScale(GGLfixed* it, int32_t c0, int32_t c1, int32_t c2) const argument
331 iterators1616(GGLfixed* it, GGLfixed c0, GGLfixed c1, GGLfixed c2) const argument
347 iterators0032(int64_t* it, int32_t c0, int32_t c1, int32_t c2) const argument
362 iterators0032(int32_t* it, int32_t c0, int32_t c1, int32_t c2) const argument
368 iterators0032(int32_t* it, int32_t c0, int32_t c1, int32_t c2) const argument
652 const GGLcolor c1 = v1->color.v[i] * 255; local
[all...]
/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java860 char c1 = string.charAt(i + 1);
862 if (isHexDigit(c1) && isHexDigit(c2)) {
863 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java193 public static <T extends Comparable> int compare(Comparable<T> c1, T c2) { argument
194 if (c1 == null) {
201 return c1.compareTo(c2);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java473 char c1 = 0;
479 c1 = command.charAt(7);
482 success = mSimulatedCallState.onChld(c0, c1);
H A DSimulatedGsmCallState.java392 onChld(char c0, char c1) { argument
396 if (c1 != 0) {
397 callIndex = c1 - '1';
409 if (c1 <= 0) {
421 if (c1 <= 0) {
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java305 char[] c1 = new char[]{'b', 'c'};
307 char[] cr = mRemote.charArray(c0, c1, c2);
312 assertEquals('a', c1[0]);
313 assertEquals('\0', c1[1]);
/frameworks/rs/tests/typecheck/
H A Dkernels.rs22 char c1;

Completed in 1752 milliseconds

12