/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.cpp | 40 float f,g,fgsum,f2sum,g2sum,fsum,gsum,fg_corr,den; in db_SignedSquareNormCorr7x7_u() local 48 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 49 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 50 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 51 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 52 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 53 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 54 f= *pf; g= *pg; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 57 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 58 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() [all …]
|
D | db_utilities_linalg.h | 257 inline int db_ScalarProduct512_s(const short *f,const short *g) in db_ScalarProduct512_s() argument 263 back+=(*f++)*(*g++); in db_ScalarProduct512_s() 270 inline int db_ScalarProduct32_s(const short *f,const short *g) in db_ScalarProduct32_s() argument 275 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 276 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 277 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 278 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 279 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 280 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 281 back+=(*f++)*(*g++); back+=(*f++)*(*g++); in db_ScalarProduct32_s() [all …]
|
D | db_feature_detection.cpp | 264 inline void db_gxx_gxy_gyy_row_s(int *g,int *d0,int *d1,int *d2,int *d3,int *d4,int nc) in db_gxx_gxy_gyy_row_s() argument 277 mov esi,g in db_gxx_gxy_gyy_row_s() 351 g[c]=d0[c]+(d1[c]<<2)+(dd<<2)+(dd<<1)+(d3[c]<<2)+d4[c]; in db_gxx_gxy_gyy_row_s() 354 g[c+128]=d0[c+128]+(d1[c+128]<<2)+(dd<<2)+(dd<<1)+(d3[c+128]<<2)+d4[c+128]; in db_gxx_gxy_gyy_row_s() 357 g[c+256]=d0[c+256]+(d1[c+256]<<2)+(dd<<2)+(dd<<1)+(d3[c+256]<<2)+d4[c+256]; in db_gxx_gxy_gyy_row_s() 384 inline void db_Filter14641_128_i(int *g,int nc) in db_Filter14641_128_i() argument 393 mov eax,g in db_Filter14641_128_i() 486 g[c]=g[c]+(g[c+1]<<2)+(g[c+2]<<2)+(g[c+2]<<1)+(g[c+3]<<2)+g[c+4]; in db_Filter14641_128_i()
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.cpp | 40 float f,g,fgsum,f2sum,g2sum,fsum,gsum,fg_corr,den; in db_SignedSquareNormCorr7x7_u() local 48 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 49 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 50 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 51 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 52 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 53 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 54 f= *pf; g= *pg; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 57 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() 58 f= *pf++; g= *pg++; fgsum+=f*g; f2sum+=f*f; g2sum+=g*g; fsum+=f; gsum+=g; in db_SignedSquareNormCorr7x7_u() [all …]
|
D | db_utilities_linalg.h | 257 inline int db_ScalarProduct512_s(const short *f,const short *g) in db_ScalarProduct512_s() argument 263 back+=(*f++)*(*g++); in db_ScalarProduct512_s() 270 inline int db_ScalarProduct32_s(const short *f,const short *g) in db_ScalarProduct32_s() argument 275 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 276 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 277 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 278 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 279 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 280 …back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(*g++); back+=(*f++)*(… in db_ScalarProduct32_s() 281 back+=(*f++)*(*g++); back+=(*f++)*(*g++); in db_ScalarProduct32_s() [all …]
|
D | db_feature_detection.cpp | 264 inline void db_gxx_gxy_gyy_row_s(int *g,int *d0,int *d1,int *d2,int *d3,int *d4,int nc) in db_gxx_gxy_gyy_row_s() argument 277 mov esi,g in db_gxx_gxy_gyy_row_s() 351 g[c]=d0[c]+(d1[c]<<2)+(dd<<2)+(dd<<1)+(d3[c]<<2)+d4[c]; in db_gxx_gxy_gyy_row_s() 354 g[c+128]=d0[c+128]+(d1[c+128]<<2)+(dd<<2)+(dd<<1)+(d3[c+128]<<2)+d4[c+128]; in db_gxx_gxy_gyy_row_s() 357 g[c+256]=d0[c+256]+(d1[c+256]<<2)+(dd<<2)+(dd<<1)+(d3[c+256]<<2)+d4[c+256]; in db_gxx_gxy_gyy_row_s() 384 inline void db_Filter14641_128_i(int *g,int nc) in db_Filter14641_128_i() argument 393 mov eax,g in db_Filter14641_128_i() 486 g[c]=g[c]+(g[c+1]<<2)+(g[c+2]<<2)+(g[c+2]<<1)+(g[c+3]<<2)+g[c+4]; in db_Filter14641_128_i()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 30 int r,g,b, a; in rgba2yvu() local 39 g = (*image++); in rgba2yvu() 45 if (g < 0) g = 0; in rgba2yvu() 46 if (g > 255) g = 255; in rgba2yvu() 50 int val = (int) (REDY * r + GREENY * g + BLUEY * b) / 1000 + 16; in rgba2yvu() 55 val = (int) (REDV * r - GREENV * g - BLUEV * b) / 1000 + 128; in rgba2yvu() 60 val = (int) (-REDU * r - GREENU * g + BLUEU * b) / 1000 + 128; in rgba2yvu() 75 int r,g,b; in rgb2yvu() local 84 g = (*image++); in rgb2yvu() 89 if (g < 0) g = 0; in rgb2yvu() [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 30 int r,g,b, a; in rgba2yvu() local 39 g = (*image++); in rgba2yvu() 45 if (g < 0) g = 0; in rgba2yvu() 46 if (g > 255) g = 255; in rgba2yvu() 50 int val = (int) (REDY * r + GREENY * g + BLUEY * b) / 1000 + 16; in rgba2yvu() 55 val = (int) (REDV * r - GREENV * g - BLUEV * b) / 1000 + 128; in rgba2yvu() 60 val = (int) (-REDU * r - GREENU * g + BLUEU * b) / 1000 + 128; in rgba2yvu() 75 int r,g,b; in rgb2yvu() local 84 g = (*image++); in rgb2yvu() 89 if (g < 0) g = 0; in rgb2yvu() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PositionController.java | 361 Gap g = mGaps.get(i); in startOpeningAnimationIfNeeded() local 362 g.mCurrentGap = mViewW; in startOpeningAnimationIfNeeded() 363 g.doAnimation(g.mDefaultSize, ANIM_KIND_OPENING); in startOpeningAnimationIfNeeded() 398 Gap g = mGaps.get(i); in updateScaleAndGapLimit() local 399 g.mDefaultSize = getDefaultGapSize(i); in updateScaleAndGapLimit() 453 Gap g = mGaps.get(i); in skipAnimation() local 454 if (g.mAnimationStartTime == NO_ANIMATION) continue; in skipAnimation() 455 g.mCurrentGap = g.mToGap; in skipAnimation() 456 g.mAnimationStartTime = NO_ANIMATION; in skipAnimation() 553 Gap g = mGaps.get(offset); // the gap between the two boxes in startCaptureAnimationSlide() local [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | redEyeMath.c | 20 int value(int r, int g, int b) { in value() argument 21 return MAX(r, MAX(g, b)); in value() 26 int g = src[p + 1]; in isRed() local 28 int max = MAX(g, b); in isRed() 44 int g = src[p + 1]; in findPossible() local 47 mask[x + y * recW] > 0 && (value(r, g, b) > 240) ? 1 : 0); in findPossible() 104 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff() argument 106 img[off + 1] = g; in stuff() 143 int g = src[p + 1]; in filterRedEye() local 147 int m = MAX(g,b); in filterRedEye() [all …]
|
D | wbalance.c | 42 int g = histG[i]; in estmateWhite() local 45 sum_g += g; in estmateWhite() 52 if (g>0){ in estmateWhite() 68 int g = histG[i]; in estmateWhite() local 71 tmp_g += g; in estmateWhite() 79 sum15g += g*i; in estmateWhite() 80 count15g += g; in estmateWhite() 103 int g; in estmateWhiteBox() local 121 g += src[GREEN]; in estmateWhiteBox() 127 *wg = g/sum; in estmateWhiteBox() [all …]
|
D | hue.c | 31 int g = rgb[GREEN]; in JNIFUNCF() local 34 float rf = r*mat[0] + g*mat[4] + b*mat[8] + mat[12]; in JNIFUNCF() 35 float gf = r*mat[1] + g*mat[5] + b*mat[9] + mat[13]; in JNIFUNCF() 36 float bf = r*mat[2] + g*mat[6] + b*mat[10] + mat[14]; in JNIFUNCF()
|
D | gradient.c | 46 int g = destination[GREEN]; in JNIFUNCF() local 47 g = greenGradientArray[g]; in JNIFUNCF() 48 destination[GREEN] = g; in JNIFUNCF()
|
D | vibrance.c | 39 int g = destination[GREEN]; in JNIFUNCF() local 41 float red = (r-MAX(g, b))/256.f; in JNIFUNCF() 48 int t = (r + g) / 2; in JNIFUNCF() 50 G = g; in JNIFUNCF()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 185 public float getRed(int r, int g, int b) { in getRed() argument 186 return r * mMatrix[0] + g * mMatrix[4] + b * mMatrix[8] + mMatrix[12]; in getRed() 197 public float getGreen(int r, int g, int b) { in getGreen() argument 198 return r * mMatrix[1] + g * mMatrix[5] + b * mMatrix[9] + mMatrix[13]; in getGreen() 209 public float getBlue(int r, int g, int b) { in getBlue() argument 210 return r * mMatrix[2] + g * mMatrix[6] + b * mMatrix[10] + mMatrix[14]; in getBlue() 213 private float getRedf(float r, float g, float b) { in getRedf() argument 214 return r * mMatrix[0] + g * mMatrix[4] + b * mMatrix[8] + mMatrix[12]; in getRedf() 217 private float getGreenf(float r, float g, float b) { in getGreenf() argument 218 return r * mMatrix[1] + g * mMatrix[5] + b * mMatrix[9] + mMatrix[13]; in getGreenf() [all …]
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_reader.cpp | 186 int r, g, b, c, m, y, k; in formatPixels() local 195 g = (k * m) / 255; in formatPixels() 199 g = (255 - k) * (255 - m) / 255; in formatPixels() 203 *iter++ = g; in formatPixels() 228 int r, g, b; in formatPixels() local 231 g = *--iter; in formatPixels() 234 buf[i - 1] = g; in formatPixels()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PanoUtil.java | 62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() local 70 if (g < 0) { in decodeYUV420SPQuarterRes() 71 g = 0; in decodeYUV420SPQuarterRes() 72 } else if (g > 262143) { in decodeYUV420SPQuarterRes() 73 g = 262143; in decodeYUV420SPQuarterRes() 81 rgb[ypd] = 0xff000000 | ((r << 6) & 0xff0000) | ((g >> 2) & 0xff00) | in decodeYUV420SPQuarterRes()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PanoUtil.java | 62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() local 70 if (g < 0) { in decodeYUV420SPQuarterRes() 71 g = 0; in decodeYUV420SPQuarterRes() 72 } else if (g > 262143) { in decodeYUV420SPQuarterRes() 73 g = 262143; in decodeYUV420SPQuarterRes() 81 rgb[ypd] = 0xff000000 | ((r << 6) & 0xff0000) | ((g >> 2) & 0xff00) | in decodeYUV420SPQuarterRes()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoUtil.java | 62 int g = (y1192 - 833 * v - 400 * u); in decodeYUV420SPQuarterRes() local 70 if (g < 0) { in decodeYUV420SPQuarterRes() 71 g = 0; in decodeYUV420SPQuarterRes() 72 } else if (g > 262143) { in decodeYUV420SPQuarterRes() 73 g = 262143; in decodeYUV420SPQuarterRes() 81 rgb[ypd] = 0xff000000 | ((r << 6) & 0xff0000) | ((g >> 2) & 0xff00) | in decodeYUV420SPQuarterRes()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcTag.cpp | 138 SyncEventGuard g (sReadEvent); in nativeNfcTag_abortWaits() local 144 SyncEventGuard g (sTransceiveEvent); in nativeNfcTag_abortWaits() local 148 SyncEventGuard g (sReconnectEvent); in nativeNfcTag_abortWaits() local 188 SyncEventGuard g (sReadEvent); in nativeNfcTag_doReadCompleted() local 276 SyncEventGuard g (sReadEvent); in nativeNfcTag_doRead() local 518 SyncEventGuard g (sReconnectEvent); in nativeNfcTag_doConnectStatus() local 544 SyncEventGuard g (sReconnectEvent); in nativeNfcTag_doDeactivateStatus() local 648 SyncEventGuard g (sReconnectEvent); in reSelect() local 863 SyncEventGuard g (sTransceiveEvent); in nativeNfcTag_doTransceiveStatus() local 891 SyncEventGuard g (sTransceiveEvent); in nativeNfcTag_notifyRfTimeout() local [all …]
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | tr_wordlist.combined.gz |
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 148 int g = (color >> 8) & 0xFF; in hue() local 151 int V = Math.max(b, Math.max(r, g)); in hue() 152 int temp = Math.min(b, Math.min(r, g)); in hue() 161 final float cg = (V - g) / vtemp; in hue() 166 } else if (g == V) { in hue()
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 329 int g = (y1192 - 833 * v - 400 * u); in decodeYUV444SP() local 333 if (g < 0) g = 0; else if (g > 262143) g = 262143; in decodeYUV444SP() 339 rgb[p+1] = (g>>2 & 0xFF00)>>8; in decodeYUV444SP()
|
/packages/apps/Camera/jni/ |
D | feature_mos_jni.cpp | 329 int g = (y1192 - 833 * v - 400 * u); in decodeYUV444SP() local 333 if (g < 0) g = 0; else if (g > 262143) g = 262143; in decodeYUV444SP() 339 rgb[p+1] = (g>>2 & 0xFF00)>>8; in decodeYUV444SP()
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | clouds.rs | 234 int g = ((rgb >> 8) & 0xff) * a + 1; 235 g = (g + (g >> 8)) >> 8; 238 return r << 16 | g << 8 | b;
|