HomeSort by relevance Sort by last modified time
    Searched refs:trs (Results 1 - 25 of 35) sorted by null

1 2

  /packages/apps/Camera/jni/feature_mos/src/mosaic/
trsMatrix.h 37 inline double ProjZ(double trs[3][3], double x, double y, double f)
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)
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)
49 return (((trs)[1][0]*(x) + (trs)[1][1]*(y) + (trs)[1][2]*(f)) / (z))
    [all...]
AlignFeatures.cpp 193 int Align::getLastTRS(double trs[3][3])
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[2][2] = 1.0
    [all...]
Blend.h 101 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);
AlignFeatures.h 68 // Obtain the TRS matrix from the last two frames
69 int getLastTRS(double trs[3][3]);
Blend.cpp 87 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_idx)
    [all...]
Mosaic.cpp 158 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);
  /packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
trsMatrix.h 37 inline double ProjZ(double trs[3][3], double x, double y, double f)
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)
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)
49 return (((trs)[1][0]*(x) + (trs)[1][1]*(y) + (trs)[1][2]*(f)) / (z))
    [all...]
AlignFeatures.cpp 193 int Align::getLastTRS(double trs[3][3])
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[2][2] = 1.0
    [all...]
Blend.h 101 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);
AlignFeatures.h 68 // Obtain the TRS matrix from the last two frames
69 int getLastTRS(double trs[3][3]);
Blend.cpp 87 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_idx)
    [all...]
Mosaic.cpp 158 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);
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
trsMatrix.h 37 inline double ProjZ(double trs[3][3], double x, double y, double f)
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)
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)
49 return (((trs)[1][0]*(x) + (trs)[1][1]*(y) + (trs)[1][2]*(f)) / (z))
    [all...]
AlignFeatures.cpp 193 int Align::getLastTRS(double trs[3][3])
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[2][2] = 1.0
    [all...]
Blend.h 101 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);
AlignFeatures.h 68 // Obtain the TRS matrix from the last two frames
69 int getLastTRS(double trs[3][3]);
Blend.cpp 87 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_idx)
    [all...]
Mosaic.cpp 145 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);
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
TokenRewriteStream.js 75 var trs = org.antlr.runtime.TokenRewriteStream;
77 org.antlr.lang.augmentObject(trs, {
87 trs.RewriteOperation = function(index, text) {
95 trs.RewriteOperation.prototype = {
108 trs.InsertBeforeOp = function(index, text) {
109 trs.InsertBeforeOp.superclass.constructor.call(this, index, text);
111 org.antlr.lang.extend(trs.InsertBeforeOp, trs.RewriteOperation, {
121 trs.ReplaceOp = function(from, to, text) {
122 trs.ReplaceOp.superclass.constructor.call(this, from, text);
    [all...]
  /packages/apps/Camera/jni/
mosaic_renderer_jni.h 29 extern "C" void UpdateWarpTransformation(float *trs);
feature_mos_jni.cpp 169 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[2][1]
    [all...]
  /packages/apps/Gallery2/jni_mosaic/
mosaic_renderer_jni.h 29 extern "C" void UpdateWarpTransformation(float *trs);
feature_mos_jni.cpp 169 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[2][1]
    [all...]
  /packages/apps/LegacyCamera/jni/
mosaic_renderer_jni.h 29 extern "C" void UpdateWarpTransformation(float *trs);
feature_mos_jni.cpp 169 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[2][1]
    [all...]

Completed in 3682 milliseconds

1 2