/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_TransformQuant_LumaDC.c | 57 OMX_S32 m1[4][4], m2[4][4]; local 72 m1[i][0] = pSrcDst[j + 0] + pSrcDst[j + 2]; /* a+c */ 73 m1[i][1] = pSrcDst[j + 1] + pSrcDst[j + 3]; /* b+d */ 74 m1[i][2] = pSrcDst[j + 0] - pSrcDst[j + 2]; /* a-c */ 75 m1[i][3] = pSrcDst[j + 1] - pSrcDst[j + 3]; /* b-d */ 77 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ 78 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ 79 m2[i][2] = m1[ [all...] |
H A D | omxVCM4P10_InvTransformDequant_LumaDC.c | 58 OMX_S32 m1[4][4], m2[4][4], Value; local 74 m1[i][0] = pSrc[j + 0] + pSrc[j + 2]; /* a+c */ 75 m1[i][1] = pSrc[j + 1] + pSrc[j + 3]; /* b+d */ 76 m1[i][2] = pSrc[j + 0] - pSrc[j + 2]; /* a-c */ 77 m1[i][3] = pSrc[j + 1] - pSrc[j + 3]; /* b-d */ 79 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ 80 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ 81 m2[i][2] = m1[ [all...] |
H A D | omxVCM4P10_SATD_4x4.c | 64 OMX_S32 d [4][4], m1[4][4], m2[4][4]; local 89 m1[i][0] = d[i][0] + d[i][2]; /* a+c */ 90 m1[i][1] = d[i][1] + d[i][3]; /* b+d */ 91 m1[i][2] = d[i][0] - d[i][2]; /* a-c */ 92 m1[i][3] = d[i][1] - d[i][3]; /* b-d */ 94 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ 95 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ 96 m2[i][2] = m1[ [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/android/graphics/ |
H A D | Matrix_DelegateTest.java | 27 Matrix m1 = new Matrix(); 29 assertTrue(m1.isIdentity()); 31 m1.setValues(new float[] { 1,0,0, 0,1,0, 0,0,1 }); 32 assertTrue(m1.isIdentity()); 36 Matrix m1 = new Matrix(); 37 Matrix m2 = new Matrix(m1); 41 m1.getValues(v1);
|
/frameworks/native/libs/ui/tests/ |
H A D | mat_test.cpp | 39 mat4 m1(2); 42 EXPECT_TRUE(m0 != m1); 44 EXPECT_FALSE(m0 == m1); 66 mat4 m1(2); 70 EXPECT_EQ(m1, m2); 72 EXPECT_EQ(m3, m1); 79 mat4 m1(2); 82 m1 += m2; 83 EXPECT_EQ(mat4(4), m1); 85 m2 -= m1; [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 328 Matrix4f m1 = new Matrix4f(); 333 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 336 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); 340 m1.loadMultiply(m1, m2); 343 m1.loadMultiply(m1, m2); 346 m1.loadMultiply(m1, m2); 348 load(m1); [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | UiTest.java | 177 Matrix4f m1 = new Matrix4f(); 182 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 185 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); 189 m1.loadMultiply(m1, m2); 192 m1.loadMultiply(m1, m2); 195 m1.loadMultiply(m1, m2); 196 return m1; [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix4f.java | 329 Matrix4f m1 = new Matrix4f(); 334 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); 337 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); 341 m1.loadMultiply(m1, m2); 344 m1.loadMultiply(m1, m2); 347 m1.loadMultiply(m1, m2); 349 load(m1); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | intra_est.cpp | 498 int m0, m1, m2, m3; local 513 m1 = org[1] - pred[1]; 515 m1 += m2; 516 m2 = m1 - (m2 << 1); 517 pres[0] = m0 + m1; 518 pres[2] = m0 - m1; 541 m1 = pres[1<<4]; 543 m1 += m2; 544 m2 = m1 - (m2 << 1); 545 pres[0] = m0 = m0 + m1; 1293 int m0, m1, m2, m3, tmp1; local 1730 int m0, m1, m2, m3, tmp1; local [all...] |
H A D | block.cpp | 369 int r0, r1, r2, r3, m0, m1, m2 , m3; local 507 m1 = coef[0] - coef[4]; 514 coef[8] = m1 - m3; 515 coef[12] = m1 + m3; 527 m1 = coef[0] - coef[64]; 533 coef[128] = ((m1 - m3) * quant) << Qq; 534 coef[192] = ((m1 + m3) * quant) << Qq; 547 m1 = coef[0] - coef[64]; 553 coef[128] = (((m1 - m3) * quant + offset) >> Qq); 554 coef[192] = (((m1 [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
H A D | SearchablesTest.java | 171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); 175 assertTrue(m1 || m2 || m3);
|
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 50 const GLfixed* m0, const GLfixed* m1, const GLfixed* a); 52 const GLfixed* m0, const GLfixed* m1); 163 const GLfixed* m0, const GLfixed* m1, const GLfixed* a) 165 d[0] = gglMulAddx(m0[0], m1[0], a[0]); 166 d[1] = gglMulAddx(m0[1], m1[1], a[1]); 167 d[2] = gglMulAddx(m0[2], m1[2], a[2]); 171 void vmul3(GLfixed* d, const GLfixed* m0, const GLfixed* m1) { argument 172 d[0] = gglMulx(m0[0], m1[0]); 173 d[1] = gglMulx(m0[1], m1[1]); 174 d[2] = gglMulx(m0[2], m1[ 162 vmla3(GLfixed* d, const GLfixed* m0, const GLfixed* m1, const GLfixed* a) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 742 Matrix m1 = new Matrix(); 743 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f); 752 c1.setConcat(m2, m1);
|