Searched defs:trs (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DtrsMatrix.h37 inline double ProjZ(double trs[3][3], double x, double y, double f) argument
39 return ((trs)[2][0]*(x) + (trs)[2][1]*(y) + (trs)[2][2]*(f));
42 inline double ProjX(double trs[3][3], double x, double y, double z, double f) argument
44 return (((trs)[0][0]*(x) + (trs)[0][1]*(y) + (trs)[0][2]*(f)) / (z));
47 inline double ProjY(double trs[3][3], double x, double y, double z, double f) argument
49 return (((trs)[
[all...]
H A DAlignFeatures.cpp193 int Align::getLastTRS(double trs[3][3]) argument
197 trs[0][0] = 1.0;
198 trs[0][1] = 0.0;
199 trs[0][2] = 0.0;
200 trs[1][0] = 0.0;
201 trs[1][1] = 1.0;
202 trs[1][2] = 0.0;
203 trs[2][0] = 0.0;
204 trs[2][1] = 0.0;
205 trs[
[all...]
H A DMosaicTypes.h71 double trs[3][3]; member in class:MosaicFrame
H A DBlend.cpp87 inv33d(ref->trs, invtrs);
93 mult33d(temp, invtrs, mb->trs);
94 memcpy(mb->trs, temp, sizeof(temp));
95 normProjMat33d(mb->trs);
164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect);
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0);
170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1);
171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2);
172 FrameToMosaic(mb->trs, mb->width-1.0, 0.0, x3, y3);
571 ProcessPyramidForThisFrame(csite, mb->vcrect, mb->brect, rect, imgMos, mb->trs, site_id
890 ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx) argument
1072 MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy) argument
1105 FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy) argument
1185 FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect) argument
[all...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
H A DtrsMatrix.h37 inline double ProjZ(double trs[3][3], double x, double y, double f) argument
39 return ((trs)[2][0]*(x) + (trs)[2][1]*(y) + (trs)[2][2]*(f));
42 inline double ProjX(double trs[3][3], double x, double y, double z, double f) argument
44 return (((trs)[0][0]*(x) + (trs)[0][1]*(y) + (trs)[0][2]*(f)) / (z));
47 inline double ProjY(double trs[3][3], double x, double y, double z, double f) argument
49 return (((trs)[
[all...]
H A DAlignFeatures.cpp193 int Align::getLastTRS(double trs[3][3]) argument
197 trs[0][0] = 1.0;
198 trs[0][1] = 0.0;
199 trs[0][2] = 0.0;
200 trs[1][0] = 0.0;
201 trs[1][1] = 1.0;
202 trs[1][2] = 0.0;
203 trs[2][0] = 0.0;
204 trs[2][1] = 0.0;
205 trs[
[all...]
H A DMosaicTypes.h71 double trs[3][3]; member in class:MosaicFrame
H A DBlend.cpp87 inv33d(ref->trs, invtrs);
93 mult33d(temp, invtrs, mb->trs);
94 memcpy(mb->trs, temp, sizeof(temp));
95 normProjMat33d(mb->trs);
164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect);
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0);
170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1);
171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2);
172 FrameToMosaic(mb->trs, mb->width-1.0, 0.0, x3, y3);
571 ProcessPyramidForThisFrame(csite, mb->vcrect, mb->brect, rect, imgMos, mb->trs, site_id
890 ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx) argument
1072 MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy) argument
1105 FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy) argument
1185 FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DtrsMatrix.h37 inline double ProjZ(double trs[3][3], double x, double y, double f) argument
39 return ((trs)[2][0]*(x) + (trs)[2][1]*(y) + (trs)[2][2]*(f));
42 inline double ProjX(double trs[3][3], double x, double y, double z, double f) argument
44 return (((trs)[0][0]*(x) + (trs)[0][1]*(y) + (trs)[0][2]*(f)) / (z));
47 inline double ProjY(double trs[3][3], double x, double y, double z, double f) argument
49 return (((trs)[
[all...]
H A DAlignFeatures.cpp193 int Align::getLastTRS(double trs[3][3]) argument
197 trs[0][0] = 1.0;
198 trs[0][1] = 0.0;
199 trs[0][2] = 0.0;
200 trs[1][0] = 0.0;
201 trs[1][1] = 1.0;
202 trs[1][2] = 0.0;
203 trs[2][0] = 0.0;
204 trs[2][1] = 0.0;
205 trs[
[all...]
H A DMosaicTypes.h71 double trs[3][3]; member in class:MosaicFrame
H A DBlend.cpp87 inv33d(ref->trs, invtrs);
93 mult33d(temp, invtrs, mb->trs);
94 memcpy(mb->trs, temp, sizeof(temp));
95 normProjMat33d(mb->trs);
164 FrameToMosaicRect(mb->width, mb->height, mb->trs, mb->brect);
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0);
170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1);
171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2);
172 FrameToMosaic(mb->trs, mb->width-1.0, 0.0, x3, y3);
571 ProcessPyramidForThisFrame(csite, mb->vcrect, mb->brect, rect, imgMos, mb->trs, site_id
870 ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx) argument
1052 MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy) argument
1085 FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy) argument
1165 FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect) argument
[all...]
/packages/apps/Camera/jni/
H A Dfeature_mos_jni.cpp169 double trs[3][3]; local
173 mosaic[mID]->getAligner()->getLastTRS(trs);
178 trs1d[0] = trs[0][0];
179 trs1d[1] = trs[0][1];
180 trs1d[2] = trs[0][2];
181 trs1d[3] = trs[1][0];
182 trs1d[4] = trs[1][1];
183 trs1d[5] = trs[1][2];
184 trs1d[6] = trs[2][0];
185 trs1d[7] = trs[
[all...]
H A Dmosaic_renderer_jni.cpp60 // applying the given affine transformation trs. gKm is the corresponding
306 void UpdateWarpTransformation(float *trs) argument
312 gThisH1t[i] = trs[i];
358 gThisTx = trs[2];
423 // affine transformation trs.
/packages/apps/Gallery2/jni_mosaic/
H A Dfeature_mos_jni.cpp169 double trs[3][3]; local
173 mosaic[mID]->getAligner()->getLastTRS(trs);
178 trs1d[0] = trs[0][0];
179 trs1d[1] = trs[0][1];
180 trs1d[2] = trs[0][2];
181 trs1d[3] = trs[1][0];
182 trs1d[4] = trs[1][1];
183 trs1d[5] = trs[1][2];
184 trs1d[6] = trs[2][0];
185 trs1d[7] = trs[
[all...]
H A Dmosaic_renderer_jni.cpp60 // applying the given affine transformation trs. gKm is the corresponding
306 void UpdateWarpTransformation(float *trs) argument
312 gThisH1t[i] = trs[i];
358 gThisTx = trs[2];
423 // affine transformation trs.
/packages/apps/LegacyCamera/jni/
H A Dfeature_mos_jni.cpp169 double trs[3][3]; local
173 mosaic[mID]->getAligner()->getLastTRS(trs);
178 trs1d[0] = trs[0][0];
179 trs1d[1] = trs[0][1];
180 trs1d[2] = trs[0][2];
181 trs1d[3] = trs[1][0];
182 trs1d[4] = trs[1][1];
183 trs1d[5] = trs[1][2];
184 trs1d[6] = trs[2][0];
185 trs1d[7] = trs[
[all...]
H A Dmosaic_renderer_jni.cpp60 // applying the given affine transformation trs. gKm is the corresponding
283 void UpdateWarpTransformation(float *trs) argument
289 gThisH1t[i] = trs[i];
335 gThisTx = trs[2];
404 // affine transformation trs.

Completed in 460 milliseconds