Searched defs:c1 (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/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/core/jni/
H A Dandroid_text_AndroidCharacter.cpp164 int c1 = data[i]; local
165 int c2 = u_charMirror(c1);
167 if (c1 != 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))
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h59 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; argument
60 float c1(void) const { return _c1; } function in class:ColorFract
H A DhwcTestLib.cpp161 out << '[' << this->c1() << ", "
307 float c1, c2, c3; local
318 in >> c1; local
320 if ((c1 < 0.0) || (c1 > 1.0)) { return color; }
343 if ((c1 < 0.0) || (c1 > 1.0)
350 return ColorFract(c1, c2, c3);
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
710 ColorFract color(startColor.c1()
[all...]
/frameworks/av/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/opt/telephony/src/java/com/android/internal/telephony/test/
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/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/support/renderscript/v8/rs_support/
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/av/services/audioflinger/
H A DAudioResamplerSinc.cpp437 int32_t c1 = coefs[1]; local
438 int32_t sinc = mulAdd(lerp, (c1-c0)<<1, c0);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp868 char c1 = tolower(iv.c_str()[2 + 2 * i]); local
870 if (!isxdigit(c1) || !isxdigit(c2)) {
874 uint8_t nibble1 = isdigit(c1) ? c1 - '0' : c1 - 'a' + 10;
/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);
372 postBufferCount >= c1 &&
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java598 * Returns true if <code>c1</code> could be the last character of
603 private static boolean isSmileyBreak(char c1, char c2) { argument
604 switch (c1) {
/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/services/input/
H A DInputReader.cpp4135 int32_t c1 = signExtendNybble((in.orientation & 0xf0) >> 4); local
4137 if (c1 != 0 || c2 != 0) {
4138 orientation = atan2f(c1, c2) * 0.5f;
4139 float confidence = hypotf(c1, c2);

Completed in 596 milliseconds