HomeSort by: relevance | last modified time | path
    Searched refs:vorder (Results 1 - 25 of 46) sorted by relevancy

1 2

  /xsrc/external/mit/glu/dist/src/libnurbs/interface/
bezierPatch.cc 49 * uorder*vorder*dimension
52 bezierPatch* bezierPatchMake(float umin, float vmin, float umax, float vmax, int uorder, int vorder, int dimension)
61 ret->vorder = vorder;
63 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder);
71 bezierPatch* bezierPatchMake2(float umin, float vmin, float umax, float vmax, int uorder, int vorder, int dimension, int ustride, int vstride, float* ctlpoints)
80 ret->vorder = vorder;
82 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder);
86 int the_ustride = vorder * dimension
    [all...]
bezierEval.h 41 void bezierSurfEvalDerGen(int uder, int vder, float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]);
43 void bezierSurfEval(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[]);
45 void bezierSurfEvalNormal(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float retNormal[]);
bezierPatch.h 39 int vorder; member in struct:bezierPatch
52 * P[0,0], P[0,1], ..., P[0,vorder-1],
53 * P[1,0], P[1,1], ..., P[1,vorder-1],
55 * P[uorder-1,0], P[uorder-1,1], ..., P[uorder-1,vorder-1].
71 bezierPatch* bezierPatchMake(float umin, float vmin, float umax, float vmax, int urder, int vorder, int dimension);
73 bezierPatch* bezierPatchMake2(float umin, float vmin, float umax, float vmax, int urder, int vorder, int dimension, int ustride, int vstride, float *ctlpoints);
bezierPatchMesh.cc 100 bezierPatchMesh *bezierPatchMeshMake(int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarray, int size_length_array)
120 ret->bpatch = bezierPatchMake(umin, vmin, umax, vmax, uorder, vorder, dimension);
123 the_ustride = vorder * dimension;
126 for(j=0; j<vorder; j++)
183 void bezierPatchMeshPutPatch(bezierPatchMesh *bpm, int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints)
187 bpm->bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints);
190 bpm->bpatch = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 4,ustride, vstride, ctlpoints );
193 bpm->bpatch_normal = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 3, ustride, vstride, ctlpoints);
196 bpm->bpatch_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 1, ustride, vstride, ctlpoints);
199 bpm->bpatch_color = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorder, 4, ustride, vstride, ctlpoints)
488 int vorder = bpm->bpatch->vorder; local
    [all...]
bezierEval.cc 173 * sum[i:0,uorder-1][j:0,vorder-1] { ctlpoints[i*ustride+j*vstride] * B(i)*B(j)
176 void bezierSurfEvalDerGen(int uder, int vder, float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[])
183 bezierCurveEvalDerGen(vder, v0, v1, vorder, ctlpoints+ustride*i, vstride, dimension, v, newPoints[i]);
192 void bezierSurfEval(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float ret[])
194 bezierSurfEvalDerGen(0, 0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, ret);
202 void bezierSurfEvalNormal(float u0, float u1, int uorder, float v0, float v1, int vorder, int dimension, float *ctlpoints, int ustride, int vstride, float u, float v, float retNormal[])
207 bezierSurfEvalDerGen(1,0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, partialU);
208 bezierSurfEvalDerGen(0,1, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, partialV);
222 bezierSurfEvalDerGen(0,0, u0, u1, uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u, v, val);
bezierPatchMesh.h 74 bezierPatchMesh *bezierPatchMeshMake(int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarray, int size_length_array);
79 void bezierPatchMeshPutPatch(bezierPatchMesh *bpm, int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints);
insurfeval.cc 252 int ustride = bpm->bpatch->dimension * bpm->bpatch->vorder;
263 bpm->bpatch->vorder,
452 int vorder,
475 global_ev_vorder = vorder;
479 for (j=0; j<vorder; j++) {
486 ctlPoints += ustride - vstride * vorder;
809 void OpenGLSurfaceEvaluator::inPreEvaluateBV(int k, int uorder, int vorder, REAL vprime, REAL *baseData)
815 if(global_vprime != vprime || global_vorder != vorder) {
816 inPreEvaluateWithDeriv(vorder, vprime, global_vcoeff, global_vcoeffDeriv);
818 global_vorder = vorder;
    [all...]
glsurfeval.h 74 int vorder; member in struct:surfEvalMachine
232 int global_vorder; /*store the vorder in the previous evaluation*/
238 int global_vorder_BV; /*store the vorder in the previous evaluation*/
240 int global_vorder_BU; /*store the vorder in the previous evaluation*/
274 REAL v1, REAL v2, int vorder,
293 int vorder,
314 void inPreEvaluateBV(int k, int uorder, int vorder, REAL vprime, REAL *baseData);
315 void inPreEvaluateBU(int k, int uorder, int vorder, REAL uprime, REAL *baseData);
328 REAL v1, REAL v2, int vorder,
334 REAL v1, REAL v2, int vorder,
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/math/
m_eval.h 74 * for max(uorder,vorder) points is needed in the
80 GLuint dim, GLuint uorder, GLuint vorder);
90 * must be multiplied with the (u2-u1)/uorder-1 and (v2-v1)/vorder-1.
93 * De Casteljau needs additional storage for uorder*vorder
100 GLuint uorder, GLuint vorder);
m_eval.c 113 * for max(uorder,vorder) points is needed in the
119 GLuint dim, GLuint uorder, GLuint vorder)
121 GLfloat *cp = cn + uorder * vorder * dim;
122 GLuint i, uinc = vorder * dim;
124 if (vorder > uorder) {
130 for (j = 0; j < vorder; j++) {
153 _math_horner_bezier_curve(cp, out, v, dim, vorder);
156 _math_horner_bezier_curve(cn, out, v, dim, vorder);
158 else { /* vorder <= uorder */
160 if (vorder > 1)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
m_eval.h 74 * for max(uorder,vorder) points is needed in the
80 GLuint dim, GLuint uorder, GLuint vorder);
90 * must be multiplied with the (u2-u1)/uorder-1 and (v2-v1)/vorder-1.
93 * De Casteljau needs additional storage for uorder*vorder
100 GLuint uorder, GLuint vorder);
m_eval.c 113 * for max(uorder,vorder) points is needed in the
119 GLuint dim, GLuint uorder, GLuint vorder)
121 GLfloat *cp = cn + uorder * vorder * dim;
122 GLuint i, uinc = vorder * dim;
124 if (vorder > uorder) {
130 for (j = 0; j < vorder; j++) {
153 _math_horner_bezier_curve(cp, out, v, dim, vorder);
156 _math_horner_bezier_curve(cn, out, v, dim, vorder);
158 else { /* vorder <= uorder */
160 if (vorder > 1)
    [all...]
  /xsrc/external/mit/xorg-server/dist/glx/
render2.c 60 GLint uorder, vorder, ustride, vstride, k; local
66 vorder = *(GLint *) (pc + 24);
74 ustride = vorder * k;
77 glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
130 GLint uorder, vorder, ustride, vstride, k; local
139 vorder = *(GLint *) (pc + 40);
143 if (vorder < 0 || uorder < 0 || k < 0) {
147 compsize = uorder * vorder * k;
157 ustride = vorder * k;
175 glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points)
    [all...]
render2swap.c 78 GLint uorder, vorder, ustride, vstride, k; local
96 vorder = *(GLint *) (pc + 24);
104 ustride = vorder * k;
107 if (vorder <= 0 || uorder <= 0 || k < 0) {
112 compsize = uorder * vorder * k;
116 glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
171 GLint uorder, vorder, ustride, vstride, k, compsize; local
187 vorder = *(GLint *) (pc + 40);
189 if (vorder <= 0 || uorder <= 0 || k < 0) {
194 compsize = uorder * vorder * k
    [all...]
rensize.c 92 GLint uorder, vorder; local
96 vorder = *(GLint *) (pc + 40);
100 vorder = SWAPL(vorder);
102 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder));
109 GLint uorder, vorder; local
113 vorder = *(GLint *) (pc + 24);
117 vorder = SWAPL(vorder);
119 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder));
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/glx/
render2.c 63 GLint uorder, vorder, ustride, vstride, k; local
69 vorder = *(GLint *)(pc + 24);
77 ustride = vorder * k;
80 CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); local
128 GLint uorder, vorder, ustride, vstride, k; local
136 vorder = *(GLint *)(pc + 40);
140 if (vorder < 0 || uorder < 0 || k < 0) {
143 compsize = uorder * vorder * k;
153 ustride = vorder * k;
170 CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ) local
    [all...]
render2swap.c 79 GLint uorder, vorder, ustride, vstride, k; local
96 vorder = *(GLint *)(pc + 24);
104 ustride = vorder * k;
107 if (vorder <= 0 || uorder <= 0 || k < 0) {
111 compsize = uorder * vorder * k;
115 CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); local
165 GLint uorder, vorder, ustride, vstride, k, compsize; local
180 vorder = *(GLint *)(pc + 40);
182 if (vorder <= 0 || uorder <= 0 || k < 0) {
186 compsize = uorder * vorder * k
211 CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); local
    [all...]
rensize.c 88 GLint uorder, vorder; local
92 vorder = *(GLint *)(pc + 40);
96 vorder = SWAPL( vorder );
98 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder));
104 GLint uorder, vorder; local
108 vorder = *(GLint *)(pc + 24);
112 vorder = SWAPL( vorder );
114 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorder));
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
render2swap.c 98 GLint uorder, vorder, ustride, vstride, k; local
115 vorder = *(GLint *)(pc + 24);
123 ustride = vorder * k;
126 if (vorder <= 0 || uorder <= 0 || k < 0) {
130 compsize = uorder * vorder * k;
182 GLint uorder, vorder, ustride, vstride, k, compsize; local
197 vorder = *(GLint *)(pc + 40);
199 if (vorder <= 0 || uorder <= 0 || k < 0) {
203 compsize = uorder * vorder * k;
211 ustride = vorder * k
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
eval.c 212 GLint vstride, GLint vorder,
225 /* max(uorder, vorder) additional points are used in */
226 /* horner evaluation and uorder*vorder additional */
228 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
229 hsize = (uorder > vorder ? uorder : vorder)*size;
232 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
234 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat));
237 uinc = ustride - vorder*vstride
485 (GLfloat) v1, (GLfloat) v2, vstride, vorder, points, GL_DOUBLE); local
    [all...]
eval.h 57 GLint vstride, GLint vorder,
62 GLint vstride, GLint vorder,
81 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
86 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
eval.c 213 GLint vstride, GLint vorder,
226 /* max(uorder, vorder) additional points are used in */
227 /* horner evaluation and uorder*vorder additional */
229 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder;
230 hsize = (uorder > vorder ? uorder : vorder)*size;
233 buffer = malloc((uorder*vorder*size+hsize)*sizeof(GLfloat));
235 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat));
238 uinc = ustride - vorder*vstride
484 (GLfloat) v1, (GLfloat) v2, vstride, vorder, points, GL_DOUBLE); local
    [all...]
eval.h 57 GLint vstride, GLint vorder,
62 GLint vstride, GLint vorder,
81 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
86 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
  /xsrc/external/mit/glu/dist/src/libnurbs/internals/
mapdesc.cc 356 REAL *pts, int uorder, int ustride, int vorder, int vstride )
359 assert( vorder > 0 );
367 for( REAL *qend = q + vorder * vstride; q != qend; q += vstride ) {
393 Mapdesc::cullCheck( REAL *pts, int uorder, int ustride, int vorder, int vstride )
401 for( REAL *qend = q + vorder * vstride; q != qend; q += vstride ) {
486 int vorder, int vstride,
489 xformMat( cmat, pts, uorder, ustride, vorder, vstride, cp, outustride, outvstride );
501 int vorder, int vstride,
504 xformMat( smat, pts, uorder, ustride, vorder, vstride, sp, outustride, outvstride );
510 int vorder, int vstride,
    [all...]
backend.cc 111 int vorder, /* v parametric order */
117 surfaceEvaluator.map2f( type,ulo,uhi,ustride,uorder,vlo,vhi,vstride,vorder,pts );

Completed in 38 milliseconds

1 2