/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 …]
|
/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/DocumentsUI/tests/res/raw/ |
D | images_tar | 17 g!d���+ߏ�������h�̌�f��Q����z+�ȪkO�q���:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/�gY�MN… 19 …g�{�O������[[��h�8�r�!m�\���j~��)�8�P����W]�wI|��iR6��x�O%���yo_$>��ȼ��ɪ��T��U���3�E��f��… 20 {�t̞�H�$]1�g���$���x9ؘ��g��]�46i�C�zT�R��o��u 24 WM��dn`� �~'�j6o~�շr��H5Nے�VWe'�Ȗ6��9����`e�Z�C�Kz�JP�7g�zE�*|�N 27 A�4�P]X߸͒x�6w#<[���Kט&gn|o��� ��ºϺ�4����Y����J@��B0-n�M�b˄�vu���>E�㖳a�p�}���oE���c… 30 …�0�C���T ��U��kC�>#�Z�@]�AN��A��;Q�b1*G�DGAT& -��y�c#�F��Bӿ�����6�P�g��#���K�{У��,��x�ԫ… 35 Z�}�Z�l��5�,Ab5�4HШ.sk���ΛRC3�P���݇"T?r;��*��0��J`3S������}�� �7��jz�ս�'��ߋ�p�g�j�������… 36 ,�e �Ċ���%^�~�Gg���_�+��(����y����@ 44 �-�֠}���g�˅���l�@��q-N�'`z�0�,�vw�)FCY�?�g�i��@2uR�H0�t],�d����ߡӆ�#%��3�W��W�&d�Z\+����
|
/packages/apps/Gallery2/jni/filters/ |
D | redEyeMath.c | 22 int value(int r, int g, int b) { in value() argument 23 return MAX(r, MAX(g, b)); in value() 28 int g = src[p + 1]; in isRed() local 30 int max = MAX(g, b); in isRed() 46 int g = src[p + 1]; in findPossible() local 49 mask[x + y * recW] > 0 && (value(r, g, b) > 240) ? 1 : 0); in findPossible() 106 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff() argument 108 img[off + 1] = g; in stuff() 144 int g = src[p + 1]; in filterRedEye() local 148 int m = MAX(g,b); in filterRedEye() [all …]
|
D | wbalance.c | 44 int g = histG[i]; in estmateWhite() local 47 sum_g += g; in estmateWhite() 54 if (g>0){ in estmateWhite() 70 int g = histG[i]; in estmateWhite() local 73 tmp_g += g; in estmateWhite() 81 sum15g += g*i; in estmateWhite() 82 count15g += g; in estmateWhite() 105 int g = 0; in estmateWhiteBox() local 123 g += src[GREEN]; in estmateWhiteBox() 129 *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 | bwfilter.c | 43 float g = sg *rgb[GREEN]; in JNIFUNCF() local 45 min = MIN(g,b); in JNIFUNCF() 47 max = MAX(g,b); in JNIFUNCF()
|
D | vibrance.c | 39 int g = destination[GREEN]; in JNIFUNCF() local 41 float red = (r-MAX(g, b))/256.f; in JNIFUNCF() 49 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 …]
|
D | ImageFilterBwFilter.java | 45 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, int r, int g, int b); in nativeApplyFilter() argument 59 int g = 0xFF & (rgb >> 8); in apply() local 61 nativeApplyFilter(bitmap, w, h, r, g, b); in apply()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | itoatest.cpp | 58 static void VerifyValue(T value, void(*f)(T, char*), char* (*g)(T, char*)) { in VerifyValue() 63 *g(value, buffer2) = '\0'; in VerifyValue() 70 static void Verify(void(*f)(T, char*), char* (*g)(T, char*)) { in Verify() 72 VerifyValue<T>(0, f, g); in Verify() 73 VerifyValue<T>(std::numeric_limits<T>::min(), f, g); in Verify() 74 VerifyValue<T>(std::numeric_limits<T>::max(), f, g); in Verify() 80 VerifyValue<T>(i - 1, f, g); in Verify() 81 VerifyValue<T>(i, f, g); in Verify() 83 VerifyValue<T>(Traits<T>::Negate(i), f, g); in Verify() 84 VerifyValue<T>(Traits<T>::Negate(i + 1), f, g); in Verify()
|
/packages/apps/TV/tuner/tests/assets/ |
D | capture_kqed.ts | 26 …�����6E>�n��d��f�y�#V[�N�ժ���m=�(JaҶd-�L�����=��>�I�� �pE@V�\?)��p����i�g�[���K����q�6�>�O… 51 …�1�qa�uUz*���]�����8�6f!Z�T�iA~t�3�Zbpb�0�S�xWt6%�R=��>.��9�j;v�Ę�g)�X�����j�$�1��… 80 o")|M%gc,4 95 …�ҥ%�ni��`Q-$�ʺ>.���x��VlqL갆kzA���^ҧ�y�]J��`���J�0s�&�%kpF����=:,gW\�,�~�BǙV9�"�K) ��… 100 F��W���o�Ǻ<"��5�c�aPi}W������������6G�G#���ukK���A�LT�&�tʼ!��%?��K^��@��4���Vx�g�k��Xsn '… 122 …�,�=�\|�^��˟[�����uz5�QB�3 6�%g��E��,el��G����G�**G����N��ㄽ�sZ�$(�D�aw&�u��b… 129 ���M����4q��@�{�g����������9�vw���zH�p���})��}�Z��k�`0�v�^�3G0�N�]T�E4�~����j�/���������,� 132 ����/G��h�� �5�,�3�X��b��۫�#ݻ�p�g���W�+z��O�wE�� 134 G��MR�g&��o��"�^5��N����x�a��X�a�Ynzj���0(�!C��)�d�->�T��L�<�G��������F��nO���B̧��… 149 z�d���\���[1�����9�|���xןm�'&�@�Y�"V��v��g��L,G�3 .�E�}�G�A��0H�F����]`��
|
/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/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/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/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() 226 int r, g, b; in formatPixels() local 229 g = *--iter; in formatPixels() 232 buf[i - 1] = g; in formatPixels()
|
/packages/apps/Test/connectivity/PMC/ |
D | build_pmc.sh | 19 g='\e[0;32m' 26 echo -e "Welcome to ${r}U${brn}N${y}I${g}C${lb}O${cy}R${p}N${NC} build system for ${g}PMC${NC}" 112 echo -e " ${r}U${brn}N${y}I${g}C${cy}O${lb}R${p}N ${r}P${brn}O${y}W${g}E${cy}R${lb}!${p}!${NC}"
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 45 int g = (color >> 8) & 0xFF; in hue() local 48 int V = Math.max(b, Math.max(r, g)); in hue() 49 int temp = Math.min(b, Math.min(r, g)); in hue() 58 final float cg = (V - g) / vtemp; in hue() 63 } else if (g == V) { in hue()
|
/packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/ |
D | SwiperThemeGenerator.java | 41 for (int g = 0; g <= 0xff; g++) { in main() 43 int color = Color.argb(0xff, r, g, b); in main()
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 38 // (e.g. icons). A non "tintable" images contains information in all its 39 // channels (e.g. photos). 69 // (e.g. using android.graphics.PorterDuff.Mode#SRC_ATOP image composition). 115 // Starting point of the navigation (e.g. "Start driving on Main St.") 118 // No turn, but the street name changes (e.g. "Continue on Main St.") 166 // Road diverges (e.g. "Keep left/right at the fork"). 170 // Current road joins another (e.g. "Merge left/right onto Main St."). 175 // Roundabout entrance on which the current road ends (e.g. "Enter the 179 // Used when leaving a roundabout when the step starts in it (e.g. "Exit 183 // The following are entrance and exit (e.g. "At the roundabout, take Nth [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 151 int g = (color >> 8) & 0xFF; in hue() local 154 int V = Math.max(b, Math.max(r, g)); in hue() 155 int temp = Math.min(b, Math.min(r, g)); in hue() 164 final float cg = (V - g) / vtemp; in hue() 169 } else if (g == V) { in hue()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcTag.cpp | 141 SyncEventGuard g(sReadEvent); in nativeNfcTag_abortWaits() local 147 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_abortWaits() local 151 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_abortWaits() local 191 SyncEventGuard g(sReadEvent); in nativeNfcTag_doReadCompleted() local 285 SyncEventGuard g(sReadEvent); in nativeNfcTag_doRead() local 511 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_doConnectStatus() local 534 SyncEventGuard g(sReconnectEvent); in nativeNfcTag_doDeactivateStatus() local 659 SyncEventGuard g(sReconnectEvent); in reSelect() local 894 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_doTransceiveStatus() local 917 SyncEventGuard g(sTransceiveEvent); in nativeNfcTag_notifyRfTimeout() local [all …]
|
/packages/services/Car/evs/app/ |
D | EvsVehicleListener.h | 35 std::lock_guard<std::mutex> g(mLock); in onPropertyEvent() 54 std::unique_lock<std::mutex> g(mLock); in waitForEvents() 55 std::cv_status result = mEventCond.wait_for(g, std::chrono::milliseconds(timeout_ms)); in waitForEvents()
|