Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DomxVCM4P10_TransformDequantLumaDCFromPair.c88 int c1 = pData[i+1]; in InvTransformDC4x4() local
91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4()
92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4()
93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4()
94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4()
101 int c1 = pData[i+4]; in InvTransformDC4x4() local
104 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4()
105 pData[i+4] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4()
106 pData[i+8] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4()
107 pData[i+12] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java71 int c1 = mTokens[0].charAt(i); in Watermark() local
73 if (c1 >= 'a' && c1 <= 'f') c1 = c1 - 'a' + 10; in Watermark()
74 else if (c1 >= 'A' && c1 <= 'F') c1 = c1 - 'A' + 10; in Watermark()
75 else c1 -= '0'; in Watermark()
79 builder.append((char)(255-((c1*16)+c2))); in Watermark()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java196 private int computeColor(int c1, int c2, float percent) { in computeColor() argument
197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor()
198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor()
199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor()
200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor()
208 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument
209 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
/frameworks/rs/
DrsMatrix4x4.cpp45 int c1 = (i+2) % 4; in inverse() local
52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverse()
53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverse()
54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverse()
87 int c1 = (i+2) % 4; in inverseTranspose() local
93 … float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverseTranspose()
94 … - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverseTranspose()
95 … + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverseTranspose()
/frameworks/minikin/libs/minikin/
DGraphemeBreak.cpp74 uint32_t c1 = 0; in isGraphemeBreak() local
78 U16_PREV(buf, start, offset_back, c1); in isGraphemeBreak()
80 int32_t p1 = tailoredGraphemeClusterBreak(c1); in isGraphemeBreak()
133 uint32_t c0 = c1; in isGraphemeBreak()
196 if (u_getIntPropertyValue(c1, UCHAR_CANONICAL_COMBINING_CLASS) == 9 // virama in isGraphemeBreak()
197 && !isPureKiller(c1) in isGraphemeBreak()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java199 int c1 = bm1.getPixel(i % 16, i / 16); in testSetPixelsWithNonOpaqueAlpha() local
203 assertEquals("getPixel", c1, c2); in testSetPixelsWithNonOpaqueAlpha()
209 int a1 = Color.alpha(c1); in testSetPixelsWithNonOpaqueAlpha()
213 int r1 = Color.red(c1); in testSetPixelsWithNonOpaqueAlpha()
218 int g1 = Color.green(c1); in testSetPixelsWithNonOpaqueAlpha()
223 int b1 = Color.blue(c1); in testSetPixelsWithNonOpaqueAlpha()
230 " set+get " + Integer.toHexString(c1) + in testSetPixelsWithNonOpaqueAlpha()
/frameworks/rs/rsov/compiler/tests/globals/
Dmul.rs19 float c1;
22 return c1 * in;
Dmul2.rs19 float c1;
25 return c1 * in * c2;
Dmul.ll14 @c1 = common global float 0.000000e+00, align 4
19 %0 = load float, float* @c1, align 4, !tbaa !11
42 !6 = !{!"c1", !"1"}
Dmul2.ll17 @c1 = common global float 0.000000e+00, align 4
25 %0 = load float, float* @c1, align 4, !tbaa !14
50 !6 = !{!"c1", !"1"}
/frameworks/rs/rsov/compiler/tests/rs_allocation/
Dwrite.rs19 uchar c1;
23 rsSetElementAt_uchar4(alloc, in + c1, x, y);
Dread.rs19 uchar c1;
24 res.b += c1;
Daccess_same.rs19 uchar c1;
25 res.b += c1;
Dmulti_read.rs19 uchar c1;
26 res.b += c1;
Dread_write.rs19 uchar c1;
25 rsSetElementAt_uchar4(w, in + c1 + read, x, y);
Dwrite.ll15 @c1 = common global i8 0, align 1
20 %0 = load i8, i8* @c1, align 1, !tbaa !13
59 !6 = !{!"c1", !"7"}
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp163 out << '[' << this->c1() << ", " in operator string()
309 float c1, c2, c3; in hwcTestParseColor() local
320 in >> c1; in hwcTestParseColor()
322 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } in hwcTestParseColor()
345 if ((c1 < 0.0) || (c1 > 1.0) in hwcTestParseColor()
352 return ColorFract(c1, c2, c3); in hwcTestParseColor()
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()
707 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) in hwcTestFillColorHBlend()
842 + ((float) (fromAttrib->c1Max - fromAttrib->c1Min) * color.c1()); in hwcTestColorConvert()
871 float r = color.c1(), g = color.c2(), b = color.c3(); in hwcTestColorConvert()
[all …]
DhwcTestLib.h56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() argument
57 float c1(void) const { return _c1; } in c1() function
/frameworks/base/rs/java/android/renderscript/
DMatrix4f.java405 int c1 = (i+2) % 4; in computeCofactor() local
411 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor()
412 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor()
413 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor()
414 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor()
415 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor()
416 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DMatrix4f.java406 int c1 = (i+2) % 4; in computeCofactor() local
412 float minor = (mMat[c0 + 4*r0] * (mMat[c1 + 4*r1] * mMat[c2 + 4*r2] - in computeCofactor()
413 mMat[c1 + 4*r2] * mMat[c2 + 4*r1])) in computeCofactor()
414 - (mMat[c0 + 4*r1] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r2] - in computeCofactor()
415 mMat[c1 + 4*r2] * mMat[c2 + 4*r0])) in computeCofactor()
416 + (mMat[c0 + 4*r2] * (mMat[c1 + 4*r0] * mMat[c2 + 4*r1] - in computeCofactor()
417 mMat[c1 + 4*r1] * mMat[c2 + 4*r0])); in computeCofactor()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp89 auto c1 = c1_status.take(); in TEST_F() local
90 ASSERT_NE(nullptr, c1); in TEST_F()
92 c1->Release(LocalHandle()); in TEST_F()
246 auto c1 = c1_status.take(); in TEST_F() local
250 c1->Release(LocalHandle(-1)); in TEST_F()
330 auto c1 = c1_status.take(); in TEST_F() local
331 ASSERT_NE(nullptr, c1); in TEST_F()
/frameworks/native/include/gui/
DDisplayEventReceiver.h42 static inline constexpr uint32_t fourcc(char c1, char c2, char c3, char c4) { in fourcc() argument
43 return static_cast<uint32_t>(c1) << 24 | in fourcc()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java91 Cursor c1 = mDatabase.rawQuery("select * from " + testTable, null); in testFillWindow() local
92 assertEquals(N, c1.getCount()); in testFillWindow()
93 c1.close(); in testFillWindow()
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java54 ScriptGroup.Closure c1 = builder.addKernel(script.getKernelID_goo(), in onCreate() local
57 ScriptGroup group = builder.create("scriptgroup_test", c1.getReturn()); in onCreate()
/frameworks/base/core/jni/
Dandroid_text_AndroidCharacter.cpp165 int c1 = data[i]; in mirror() local
166 int c2 = u_charMirror(c1); in mirror()
168 if (c1 != c2) { in mirror()

123