Home
last modified time | relevance | path

Searched refs:H (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_camera.h156 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 …]
Ddb_rob_image_homography.cpp36 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 …]
Ddb_metrics.h119 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 …]
Ddb_image_homography.h46 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;
Ddb_image_homography.cpp79 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()
Ddb_rob_image_homography.h89 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,
Ddb_feature_matching.h142 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/
Ddbreg.cpp310 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 …]
Ddbreg.h189 …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/
Dimages_tar3H�������������������I��Google�Pixel�HDR+ 1.0.161899179z�2017:07:27 18:50:38�H������H����…
5 �����YH�� ��������� ���������������������������������������aH��������H����…
6 �����H�������������������������H���
7 �����H����������������� ��������H���������������������������������
8 �����H��������0220������0100����HDRP�d5m^p,��MWT�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ…
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts3 …���.���H���N*WI��@�'�+���H�$�|��(����G�Q%n���0����d��v��K-�E� ���ǟ�CxR�L�q�TP�cE��…
22 …ۼ��QEm��<�Ϝ�c1�2�"Fy�Δ�Gq������cE@dJ��$�~�:�&Fiʎ�W��.��Lo;lʄ�W��Nc3�H��&V�UN��'�h�Y��f;…
26 t���e-�H����G�i=��}�����ue6��s�����~Ì�߮Nq<bܨPE����q�7f+N���O��>I��}�����$Biʆ�W��n#�L���…
27 1�/��p�2�ٺ~߼b!�t�*�V��ZC{���UO_���·کg���W�+j}*L���G�f!N̯��3�WЩ�i�H�O͗Z)�/���;t<hȘ0�ߴ�…
51 …>.��9�j;v�Ę�g)�X�����j�$�1��vw�vQx>=�L�Mt�<���s@�d��ˆ�7l?nΌ՜�/�H��t�.c����M+�^5qz�/�…
60 6|����S��H�B@4�r����q�?5�x����j��ZNl�����0j1bƄ��'9��F�Ld�xE�����i@\�U�D�h���L��|{a�����…
61 � ��ۭ'�^�M�n��1b;fƔ8��CE�!e������S[��$�5 � �<E�5��0��bxE��c)H�0�*f�)"�x`��k�l ���Rq�ߩ� �3…
73 …gr� �X����9��퀽�kz��iRm}G�qCaG��-�W�*4�,�[J��/Y#6�>���G�f��� ���C�C� ���H���mReeg�S�6 ��Xk��…
106 �����j�_4G��<^�k��H7ID�d��ڽG�O�F�yU�����i��m��2�B�u u�5�z:�B�S•��H�b���rk_Z$nki�0+Q��Ի�� sRT��…
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java51 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/
DMaterialColorMapUtils.java157 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/Settings/src/com/android/settings/notification/
DRingVolumePreferenceController.java49 private final H mHandler = new H();
145 private final class H extends Handler { class in RingVolumePreferenceController
149 private H() { in H() method in RingVolumePreferenceController.H
186 mHandler.sendEmptyMessage(H.UPDATE_EFFECTS_SUPPRESSOR); in onReceive()
188 mHandler.sendEmptyMessage(H.UPDATE_RINGER_MODE); in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRingVolumePreferenceController.java49 private final H mHandler = new H();
145 private final class H extends Handler { class in RingVolumePreferenceController
149 private H() { in H() method in RingVolumePreferenceController.H
186 mHandler.sendEmptyMessage(H.UPDATE_EFFECTS_SUPPRESSOR); in onReceive()
188 mHandler.sendEmptyMessage(H.UPDATE_RINGER_MODE); in onReceive()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DItemDragListener.java38 public class ItemDragListener<H extends DragHost> implements OnDragListener {
45 protected final H mDragHost;
49 public ItemDragListener(H dragHost) { in ItemDragListener()
53 public ItemDragListener(H dragHost, int springTimeout) { in ItemDragListener()
58 protected ItemDragListener(H dragHost, Timer timer, int springTimeout) { in ItemDragListener()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp285 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/
Ddbregtest.cpp192 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/
Dhsv.c87 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/
DWarpRenderer.cpp47 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()
DSurfaceTextureRenderer.cpp49 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()
DSurfaceTextureRenderer.h23 void SetViewportMatrix(int w, int h, int W, int H);
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dinsituparsing.dot14 …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><…
Dnormalparsing.dot14 …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/
Dchannel.proto82 // 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)

123