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

12

/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_TransformDequantLumaDCFromPair.c73 int c1 = pData[i+1]; local
76 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
77 pData[i+1] = (OMX_S16)(c0+c1-c2-c3);
78 pData[i+2] = (OMX_S16)(c0-c1-c2+c3);
79 pData[i+3] = (OMX_S16)(c0-c1+c2-c3);
86 int c1 = pData[i+4]; local
89 pData[i+0] = (OMX_S16)(c0+c1+c2+c3);
90 pData[i+4] = (OMX_S16)(c0+c1-c2-c3);
91 pData[i+8] = (OMX_S16)(c0-c1-c2+c3);
92 pData[i+12] = (OMX_S16)(c0-c1
[all...]
/frameworks/base/include/media/stagefright/
H A DUtils.h25 #define FOURCC(c1, c2, c3, c4) \
26 (c1 << 24 | c2 << 16 | c3 << 8 | c4)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java192 * Returns the color between c1, and c2, based on the percent of the distance
193 * between c1 and c2.
195 private int computeColor(int c1, int c2, float percent) { argument
196 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent);
197 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent);
198 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent);
199 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent);
207 private int computeChannel(int c1, int c2, float percent) { argument
208 return c1 + (int)((percent * (c2-c1))
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWatermark.java67 int c1 = mTokens[0].charAt(i);
69 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10;
70 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10;
71 else c1
[all...]
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp523 uint8 *c1 = qpel_cand; local
544 *c1 = (c + a + 1) >> 1;
545 *(c1 += 384) = (b + a + 1) >> 1; /* c2 */
546 *(c1 += 384) = (b + c + 1) >> 1; /* c3 */
547 *(c1 += 384) = (b + d + 1) >> 1; /* c4 */
551 *(c1 += 384) = (c + d + 1) >> 1; /* c5 */
552 *(c1 += 384) = (b + d + 1) >> 1; /* c6 */
553 *(c1 += 384) = (b + c + 1) >> 1; /* c7 */
554 *(c1 += 384) = (b + a + 1) >> 1; /* c8 */
556 c1
[all...]
/frameworks/base/libs/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/base/include/binder/
H A DIBinder.h26 #define B_PACK_CHARS(c1, c2, c3, c4) \
27 ((((c1)<<24)) | (((c2)<<16)) | (((c3)<<8)) | (c4))
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java378 int c1 = (i+2) % 4;
384 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] -
385 mMat[c1 + 4*r2] * mMat[c2 + 4*r1]))
386 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] -
387 mMat[c1 + 4*r2] * mMat[c2 + 4*r0]))
388 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] -
389 mMat[c1 + 4*r1] * mMat[c2 + 4*r0]));
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp163 int c1 = data[i]; local
164 int c2 = u_charMirror(c1);
166 if (c1 != c2) {
/frameworks/base/opengl/tests/hwc/
H A DhwcTestLib.h60 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument
61 float c1(void) const { return _c1; } function in class:ColorFract
H A DhwcTestLib.cpp159 out << '[' << this->c1() << ", "
305 float c1, c2, c3; local
316 in >> c1; local
318 if ((c1 < 0.0) || (c1 > 1.0)) { return color; }
341 if ((c1 < 0.0) || (c1 > 1.0)
348 return ColorFract(c1, c2, c3);
577 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
708 ColorFract color(startColor.c1()
[all...]
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteDatabaseTest.java780 final Cursor c1 = mDatabase.rawQuery("select count(*) from " + TEST_TABLE, null);
782 assertEquals(1, c1.getCount());
793 c1.requery();
794 assertEquals(1, c1.getCount());
804 c1.close();
837 final Cursor c1 = mDatabase.rawQuery("select count(*) from " + TEST_TABLE, null);
839 assertEquals(1, c1.getCount());
850 c1.requery();
851 assertEquals(1, c1.getCount());
860 c1
[all...]
H A DSQLiteCursorTest.java137 Cursor c1 = mDatabase.rawQuery("select * from " + testTable, null);
138 assertEquals(N, c1.getCount());
139 c1.close();
/frameworks/base/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.java859 char c1 = string.charAt(i + 1);
861 if (isHexDigit(c1) && isHexDigit(c2)) {
862 c = (char) (decodeHexDigit(c1) * 16 + decodeHexDigit(c2));
/frameworks/base/opengl/libs/EGL/
H A Degl_display.cpp65 const egl_config_t& c1 = *(egl_config_t const *)b; local
66 return c0<c1 ? -1 : (c1<c0 ? 1 : 0);
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DModelInterpreter.java459 char c1 = 0;
465 c1 = command.charAt(7);
468 success = simulatedCallState.onChld(c0, c1);
H A DSimulatedGsmCallState.java391 onChld(char c0, char c1) { argument
395 if (c1 != 0) {
396 callIndex = c1 - '1';
408 if (c1 <= 0) {
420 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/base/media/libstagefright/httplive/
H A DLiveSession.cpp841 char c1 = tolower(iv.c_str()[2 + 2 * i]); local
843 if (!isxdigit(c1) || !isxdigit(c2)) {
847 uint8_t nibble1 = isdigit(c1) ? c1 - '0' : c1 - 'a' + 10;
/frameworks/base/include/private/opengles/
H A Dgl_context.h550 int32_t c0, int32_t c1, int32_t c2) const;
553 GGLfixed c0, GGLfixed c1, GGLfixed c2) const;
556 int32_t c0, int32_t c1, int32_t c2) const;
559 int32_t c0, int32_t c1, int32_t c2) const;
/frameworks/base/core/java/android/text/
H A DTextUtils.java895 char c1 = text.charAt(offset - 2);
897 if (c1 >= '\uD800' && c1 <= '\uDBFF')
932 char c1 = text.charAt(offset + 1);
934 if (c1 >= '\uDC00' && c1 <= '\uDFFF')
/frameworks/base/services/audioflinger/
H A DAudioResamplerSinc.cpp345 int32_t c1 = coefs[1]; local
346 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0);
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp318 void waitUntil(int c0, int c1, int c2);
368 void MSurface::waitUntil(int c0, int c1, int c2) { argument
369 INFO("waitUntil: %d %d %d", c0, c1, c2);
373 postBufferCount >= c1 &&

Completed in 1937 milliseconds

12