Searched refs:trs (Results 1 - 20 of 20) 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 DAlignFeatures.h69 int getLastTRS(double trs[3][3]);
H A DBlend.h101 void FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy);
102 void MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy);
103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect);
109 void ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx);
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...]
H A DMosaic.cpp158 aligner->getLastTRS(frame->trs);
249 for (int i = 0; i < frames_size; i++) sineAngle += frames[i]->trs[0][1];
260 memcpy(tmp, frames[i]->trs, sizeof(tmp));
261 mult33d(frames[i]->trs, m, tmp);
H A DMosaicTypes.h71 double trs[3][3]; member in class:MosaicFrame
/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 DBlend.h101 void FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy);
102 void MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy);
103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect);
109 void ProcessPyramidForThisFrame(CSite *csite, BlendRect &vcrect, BlendRect &brect, MosaicRect &rect, YUVinfo &imgMos, double trs[3][3], int site_idx);
H A DAlignFeatures.h69 int getLastTRS(double trs[3][3]);
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...]
H A DMosaic.cpp145 aligner->getLastTRS(frame->trs);
236 for (int i = 0; i < frames_size; i++) sineAngle += frames[i]->trs[0][1];
247 memcpy(tmp, frames[i]->trs, sizeof(tmp));
248 mult33d(frames[i]->trs, m, tmp);
H A DMosaicTypes.h71 double trs[3][3]; member in class:MosaicFrame
/packages/apps/Camera/jni/
H A Dmosaic_renderer_jni.h29 extern "C" void UpdateWarpTransformation(float *trs);
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 Dmosaic_renderer_jni.h29 extern "C" void UpdateWarpTransformation(float *trs);
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 234 milliseconds