Searched defs:c2 (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_TransformDequantLumaDCFromPair.c74 int c2 = pData[i+2]; 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);
87 int c2 = pData[i+8]; 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+c2
[all...]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dparameters.cpp13 // CHECK: {c = 97 'a', c2 = "01"}
24 char c2[2]; member in struct:char_struct
41 s.c2[0] = '0';
42 s.c2[1] = '1';
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp165 int c2 = u_charMirror(c1); local
167 if (c1 != c2) {
168 data[i] = c2;
/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)) + .5);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h59 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument
61 float c2(void) const { return _c2; } function in class:ColorFract
H A DhwcTestLib.cpp162 << this->c2() << ", "
307 float c1, c2, c3; local
325 in >> c2; local
327 if ((c2 < 0.0) || (c2 > 1.0)) { return color; }
344 || (c2 < 0.0) || (c2 > 1.0)
350 return ColorFract(c1, c2, c3);
582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2()))
712 startColor.c2()
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp46 int c2 = (i+3) % 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]));
88 int c2 = (i+3) % 4; local
93 float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix4x4.cpp46 int c2 = (i+3) % 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]));
88 int c2 = (i+3) % 4; local
93 float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp869 char c2 = tolower(iv.c_str()[3 + 2 * i]); local
870 if (!isxdigit(c1) || !isxdigit(c2)) {
875 uint8_t nibble2 = isdigit(c2) ? c2 - '0' : c2 - 'a' + 10;
/frameworks/native/libs/utils/
H A DUnicode.cpp318 const char16_t c2 = ntohs(*s2N); local
319 const int d = (int)*s1H++ - (int)c2;
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp317 void waitUntil(int c0, int c1, int c2);
367 void MSurface::waitUntil(int c0, int c1, int c2) { argument
368 INFO("waitUntil: %d %d %d", c0, c1, c2);
373 unregisterBuffersCount >= c2) {
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java599 * a smiley and <code>c2</code> could be the first character of
603 private static boolean isSmileyBreak(char c1, char c2) { argument
612 switch (c2) {
/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
307 int32_t dc02 = c2 - c0;
332 GGLfixed c0, GGLfixed c1, GGLfixed c2) const
335 const GGLfixed dc02 = c2 - c0;
348 int32_t c0, int32_t c1, int32_t c2) const
352 int32_t dc02 = (c2 - 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_t c2) cons
653 const GGLcolor c2 = v2->color.v[i] * 255; local
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp4136 int32_t c2 = signExtendNybble(in.orientation & 0x0f); local
4137 if (c1 != 0 || c2 != 0) {
4138 orientation = atan2f(c1, c2) * 0.5f;
4139 float confidence = hypotf(c1, c2);

Completed in 441 milliseconds