/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_camera.h | 156 inline void db_ImageHomographyInhomogenous(double xp[2],const double H[9],const double x[2]) in db_ImageHomographyInhomogenous() 160 x3=H[6]*x[0]+H[7]*x[1]+H[8]; in db_ImageHomographyInhomogenous() 164 xp[0]=m*(H[0]*x[0]+H[1]*x[1]+H[2]); in db_ImageHomographyInhomogenous() 165 xp[1]=m*(H[3]*x[0]+H[4]*x[1]+H[5]); in db_ImageHomographyInhomogenous() 172 inline double db_FocalFromCamRotFocalHomography(const double H[9]) in db_FocalFromCamRotFocalHomography() 176 k1=db_sqr(H[2])+db_sqr(H[5]); in db_FocalFromCamRotFocalHomography() 177 k2=db_sqr(H[6])+db_sqr(H[7]); in db_FocalFromCamRotFocalHomography() 180 return(db_SafeSqrt(db_SafeDivision(k1,1.0-db_sqr(H[8])))); in db_FocalFromCamRotFocalHomography() 184 return(db_SafeSqrt(db_SafeDivision(1.0-db_sqr(H[8]),k2))); in db_FocalFromCamRotFocalHomography() 188 inline double db_FocalAndRotFromCamRotFocalHomography(double R[9],const double H[9]) in db_FocalAndRotFromCamRotFocalHomography() [all …]
|
D | db_rob_image_homography.cpp | 36 inline double db_RobImageHomography_Cost(double H[9],int point_count,double *x_i,double *xp_i,doubl… in db_RobImageHomography_Cost() 50 acc=db_ExpCauchyInhomogenousHomographyError(xp_i_temp,H,x_i_temp,one_over_scale2); in db_RobImageHomography_Cost() 51 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+2,H,x_i_temp+2,one_over_scale2); in db_RobImageHomography_Cost() 52 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+4,H,x_i_temp+4,one_over_scale2); in db_RobImageHomography_Cost() 53 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+6,H,x_i_temp+6,one_over_scale2); in db_RobImageHomography_Cost() 54 acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+8,H,x_i_temp+8,one_over_scale2); in db_RobImageHomography_Cost() 55 … acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+10,H,x_i_temp+10,one_over_scale2); in db_RobImageHomography_Cost() 56 … acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+12,H,x_i_temp+12,one_over_scale2); in db_RobImageHomography_Cost() 57 … acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+14,H,x_i_temp+14,one_over_scale2); in db_RobImageHomography_Cost() 58 … acc*=db_ExpCauchyInhomogenousHomographyError(xp_i_temp+16,H,x_i_temp+16,one_over_scale2); in db_RobImageHomography_Cost() [all …]
|
D | db_metrics.h | 119 inline double db_SquaredReprojectionErrorHomography(const double y[2],const double H[9],const doubl… in db_SquaredReprojectionErrorHomography() 124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*x[2]; in db_SquaredReprojectionErrorHomography() 125 x1=H[3]*x[0]+H[4]*x[1]+H[5]*x[2]; in db_SquaredReprojectionErrorHomography() 126 x2=H[6]*x[0]+H[7]*x[1]+H[8]*x[2]; in db_SquaredReprojectionErrorHomography() 133 inline double db_SquaredInhomogenousHomographyError(const double y[2],const double H[9],const doubl… in db_SquaredInhomogenousHomographyError() 138 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in db_SquaredInhomogenousHomographyError() 139 x1=H[3]*x[0]+H[4]*x[1]+H[5]; in db_SquaredInhomogenousHomographyError() 140 x2=H[6]*x[0]+H[7]*x[1]+H[8]; in db_SquaredInhomogenousHomographyError() 153 inline double db_ExpCauchyInhomogenousHomographyError(const double y[2],const double H[9],const dou… in db_ExpCauchyInhomogenousHomographyError() 157 sd=db_SquaredInhomogenousHomographyError(y,H,x); in db_ExpCauchyInhomogenousHomographyError() [all …]
|
D | db_image_homography.h | 46 DB_API void db_StitchProjective2D_4Points(double H[9], 61 DB_API void db_StitchAffine2D_3Points(double H[9], 100 DB_API int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double … 169 inline void db_StitchSimilarity2D(double H[9],double **Xp,double **X,int nr_points,int orientation_… 177 H[0]=s*R[0]; H[1]=s*R[1]; H[2]=t[0]; 178 H[3]=s*R[2]; H[4]=s*R[3]; H[5]=t[1]; 179 db_Zero2(H+6); 180 H[8]=1.0;
|
D | db_image_homography.cpp | 79 void db_StitchProjective2D_4Points(double H[9], in db_StitchProjective2D_4Points() 91 db_NullVector8x9Destructive(H,c); in db_StitchProjective2D_4Points() 94 void db_StitchAffine2D_3Points(double H[9], in db_StitchAffine2D_3Points() 105 db_NullVector6x7Destructive(H,c); in db_StitchAffine2D_3Points() 106 db_MultiplyScalar6(H,db_SafeReciprocal(H[6])); in db_StitchAffine2D_3Points() 107 H[6]=H[7]=0; H[8]=1.0; in db_StitchAffine2D_3Points() 177 int db_StitchRotationCommonFocalLength_3Points(double H[9],double x1[3],double x2[3],double x3[3],d… in db_StitchRotationCommonFocalLength_3Points() 225 db_Copy9(H,hyp+9*best_sol); in db_StitchRotationCommonFocalLength_3Points() 230 db_Identity3x3(H); in db_StitchRotationCommonFocalLength_3Points()
|
D | db_rob_image_homography.h | 89 double H[9], 132 DB_API double db_RobImageHomography_Cost(double H[9],int point_count,double *x_i, 136 DB_API void db_RobCamRotation_Polish(double H[9],int point_count,double *x_i, 142 DB_API void db_RobCamRotation_Polish_Generic(double H[9],int point_count,int homography_type,
|
D | db_feature_matching.h | 142 int *id_l,int *id_r,int *nr_matches,const double H[9]=0); 234 int *id_l,int *id_r,int *nr_matches,const double H[9]=0,int affine=0);
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbreg.cpp | 310 void db_FrameToReferenceRegistration::Get_H_dref_to_ref(double H[9]) in Get_H_dref_to_ref() 312 db_Copy9(H,m_H_dref_to_ref); in Get_H_dref_to_ref() 315 void db_FrameToReferenceRegistration::Get_H_dref_to_ins(double H[9]) in Get_H_dref_to_ins() 317 db_Multiply3x3_3x3(H,m_H_dref_to_ref,m_H_ref_to_ins); in Get_H_dref_to_ins() 320 void db_FrameToReferenceRegistration::Set_H_dref_to_ins(double H[9]) in Set_H_dref_to_ins() 326 …db_Multiply3x3_3x3(m_H_dref_to_ref,H,H_ins_to_ref); // Update dref to ref using the input H from d… in Set_H_dref_to_ins() 344 int db_FrameToReferenceRegistration::AddFrame(const unsigned char * const * im, double H[9],bool fo… in AddFrame() 350 db_Copy9(H,m_H_ref_to_ins); in AddFrame() 405 m_match_index_ref,m_match_index_ins,&m_nr_matches,H,0); in AddFrame() 490 db_Copy9(H, m_H_ref_to_ins); in AddFrame() [all …]
|
D | dbreg.h | 189 …int AddFrame(const unsigned char * const * im, double H[9], bool force_reference=false, bool prewa… 264 void Get_H_dref_to_ref(double H[9]); 268 void Get_H_dref_to_ins(double H[9]); 273 void Set_H_dref_to_ins(double H[9]); 284 void EstimateSecondaryModel(double H[9]); 371 void ComputeInliers(double H[9]); 432 inline void db_GenerateHomographyLut(float ** lut_x,float ** lut_y,int w,int h,const double H[9]) in db_GenerateHomographyLut() 454 db_Multiply3x3_3x1(xb, H, x); in db_GenerateHomographyLut() 553 inline double SquaredInhomogenousHomographyError(double y[3],double H[9],double x[3]){ in SquaredInhomogenousHomographyError() 557 x0=H[0]*x[0]+H[1]*x[1]+H[2]; in SquaredInhomogenousHomographyError() [all …]
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 3 …H���IGooglePixelHDR+ 1.0.161899179z2017:07:27 18:50:38HH… 5 �YH � �����aH��H�… 6 �H�����H� 7 �H�����H����� 8 �H�0220�0100HDRP�d5m^p,��MWT�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ…
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | MaterialColorMapUtils.java | 51 float H; in hue() local 54 H = 0; in hue() 62 H = cb - cg; in hue() 64 H = 2 + cr - cb; in hue() 66 H = 4 + cg - cr; in hue() 69 H /= 6.f; in hue() 70 if (H < 0) { in hue() 71 H++; in hue() 75 return H; in hue()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 157 float H; in hue() local 160 H = 0; in hue() 168 H = cb - cg; in hue() 170 H = 2 + cr - cb; in hue() 172 H = 4 + cg - cr; in hue() 175 H /= 6.f; in hue() 176 if (H < 0) { in hue() 177 H++; in hue() 181 return H; in hue()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeDialogImpl.java | 91 private final H mHandler = new H(); 148 mHandler.obtainMessage(H.SHOW, 245 mHandler.obtainMessage(H.SHOW, reason).sendToTarget(); in show() 252 mHandler.obtainMessage(H.DISMISS, reason).sendToTarget(); in dismiss() 318 mHandler.removeMessages(H.SHOW); in showH() 319 mHandler.removeMessages(H.DISMISS); in showH() 350 mHandler.removeMessages(H.DISMISS); in rescheduleTimeoutH() 353 .obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT), timeout); in rescheduleTimeoutH() 373 mHandler.removeMessages(H.DISMISS); in dismissH() 374 mHandler.removeMessages(H.SHOW); in dismissH() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RingVolumePreferenceController.java | 49 private final H mHandler = new H(); 150 private final class H extends Handler { class in RingVolumePreferenceController 154 private H() { in H() method in RingVolumePreferenceController.H 191 mHandler.sendEmptyMessage(H.UPDATE_EFFECTS_SUPPRESSOR); in onReceive() 193 mHandler.sendEmptyMessage(H.UPDATE_RINGER_MODE); in onReceive()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ItemDragListener.java | 39 public class ItemDragListener<H extends DragHost> implements OnDragListener { 46 protected final H mDragHost; 50 public ItemDragListener(H dragHost) { in ItemDragListener() 54 public ItemDragListener(H dragHost, int springTimeout) { in ItemDragListener() 59 protected ItemDragListener(H dragHost, Timer timer, int springTimeout) { in ItemDragListener()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 285 double H[9], Hp[9], Htemp1[9], Htemp2[9], T[9]; in UpdateWarpTransformation() local 305 db_Identity3x3(H); in UpdateWarpTransformation() 308 db_Multiply3x3_3x3(H, Htemp2, T); in UpdateWarpTransformation() 317 H[2] += gCenterOffsetX; in UpdateWarpTransformation() 318 H[5] += gCenterOffsetY; in UpdateWarpTransformation() 326 db_Multiply3x3_3x3(Htemp1, H, gKm); in UpdateWarpTransformation() 345 db_Identity3x3(H); in UpdateWarpTransformation() 346 H[2] = gPanOffset; in UpdateWarpTransformation() 350 db_Multiply3x3_3x3(Htemp1, H, gKm); in UpdateWarpTransformation()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 192 double H[9],Hinv[9]; in main() local 194 db_Identity3x3(H); in main() 202 reg.AddFrame(ref.GetRowPointers(),H,false,false); in main() 224 reg.Get_H_dref_to_ins(H); in main() 226 db_GenerateHomographyLut(lut_x,lut_y,w,h,H); in main()
|
/packages/apps/Gallery2/jni/filters/ |
D | hsv.c | 87 int H,X,ih,is,iv; in hsv2rgb() local 111 H = (6*ih)/k2; in hsv2rgb() 112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; in hsv2rgb() 120 switch (H) { in hsv2rgb()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
D | SurfaceTextureRenderer.cpp | 49 void SurfaceTextureRenderer::SetViewportMatrix(int w, int h, int W, int H) in SetViewportMatrix() argument 57 mViewportMatrix[5] = float(h)/float(H); in SetViewportMatrix() 60 mViewportMatrix[13] = -1.0f + float(h)/float(H); in SetViewportMatrix()
|
D | WarpRenderer.cpp | 47 void WarpRenderer::SetViewportMatrix(int w, int h, int W, int H) in SetViewportMatrix() argument 55 mViewportMatrix[5] = float(h)/float(H); in SetViewportMatrix() 58 mViewportMatrix[13] = -1.0f + float(h)/float(H); in SetViewportMatrix()
|
/packages/modules/GeoTZ/validation/geonames/known_diffs/ |
D | known_diffs15000.prototxt | 409 cityName: "Thanh H\303\263a" 576 cityName: "H\306\260ng Y\303\252n" 606 cityName: "H\341\272\241 Long" 621 cityName: "H\303\262a B\303\254nh" 636 cityName: "H\303\240 T\304\251nh" 681 cityName: "H\341\272\243i D\306\260\306\241ng" 696 cityName: "H\303\240 Giang" 711 cityName: "H\303\240 \304\220\303\264ng" 726 cityName: "\304\220\341\273\223ng H\341\273\233i" 741 cityName: "\303\220\303\264ng H\303\240"
|
D | known_diffs1000.prototxt | 1364 cityName: "H\303\262a B\303\254nh" 1559 cityName: "Th\341\272\241ch H\303\240" 1574 cityName: "T\303\242y H\341\273\223" 1681 cityName: "Th\341\273\213 Tr\341\272\245n S\303\254n H\341\273\223" 1741 cityName: "Qu\341\273\263 H\341\273\243p" 1801 cityName: "Quan H\303\263a" 1861 cityName: "Qu\303\241n H\303\240u" 2191 cityName: "Ti\341\273\201n H\341\272\243i" 2221 cityName: "Qu\303\241n H\303\240nh" 2461 cityName: "L\305\251ng H\341\273\223" [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | insituparsing.dot | 14 …oldjson [label="\{|\"|m|s|g|\"|:|\"|H|e|l|l|o|\\|n|W|o|r|l|d|!|\"|,|\"|\\|u|0|0|7|3|t|a|r|s|\"|:|1… 15 …//newjson [label="\{|\"|<a>m|s|g|\\0|:|\"|<b>H|e|l|l|o|\\n|W|o|r|l|d|!|\\0|\"|,|\"|<c>s|t|a|r|s|\\… 21 <td>"</td><td port="b">H</td><td>e</td><td>l</td><td>l</td><td>o</td><td bgcolor="yellow">\\n</td><…
|
D | normalparsing.dot | 14 …normaljson [label="\{|\"|m|s|g|\"|:|\"|H|e|l|l|o|\\|n|W|o|r|l|d|!|\"|,|\"|\\|u|0|0|7|3|t|a|r|s\"|:… 19 helloworldstring [label="H|e|l|l|o|\\n|W|o|r|l|d|!|\\0"]
|
/packages/apps/TV/tuner/proto/ |
D | channel.proto | 82 // ISO/IEC 14496-2 (MPEG-4 H.263 based) 84 // ISO/IE 14496-10 (H.264 video) 86 // ISO/IE 23008-2 (H.265 video)
|