| /xsrc/external/mit/glu/dist/src/libnurbs/interface/ |
| H A D | 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[]);
|
| H A D | bezierPatch.cc | 49 * uorder*vorder*dimension 52 bezierPatch* bezierPatchMake(float umin, float vmin, float umax, float vmax, int uorder, int vorder, int dimension) argument 60 ret->uorder = uorder; 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) argument 79 ret->uorder = uorder; 82 ret->ctlpoints = (float*) malloc(sizeof(float) * dimension * uorder * vorder); 88 for(int i=0; i<uorder; [all...] |
| H A D | incurveeval.cc | 95 int uorder, 125 temp_em->uorder = uorder; 127 for(i=0; i<uorder; i++){ 147 inPreEvaluate(em->uorder, the_uprime, em->ucoeff); 154 for(row=0; row<em->uorder; row++) 90 inMap1f(int which,int k,REAL ulower,REAL uupper,int ustride,int uorder,REAL * ctlpoints) argument
|
| H A D | 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[]) argument 181 for(i=0; i<uorder; i++){ 187 bezierCurveEvalDerGen(uder, u0, u1, uorder, (float *) newPoints, MAX_DIMENSION, dimension, u, ret); 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[]) argument 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[]) argument 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, v [all...] |
| H A D | 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) argument 120 ret->bpatch = bezierPatchMake(umin, vmin, umax, vmax, uorder, vorder, dimension); 125 for(i=0; i<uorder; i++) 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) argument 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); 202 bpm->bpatch_texcoord = bezierPatchMake2(umin, vmin, umax, vmax, uorder, vorde 485 int uorder = bpm->bpatch->uorder; local in function:bezierPatchMeshEval [all...] |
| H A D | 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);
|
| H A D | insurfeval.cc | 259 bpm->bpatch->uorder, 448 int uorder, 471 global_ev_uorder = uorder; 478 for (i=0; i<uorder; i++) { 809 void OpenGLSurfaceEvaluator::inPreEvaluateBV(int k, int uorder, int vorder, REAL vprime, REAL *baseData) argument 823 for(row=0; row<uorder; row++){ 838 void OpenGLSurfaceEvaluator::inPreEvaluateBU(int k, int uorder, int vorder, REAL uprime, REAL *baseData) argument 844 if(global_uprime != uprime || global_uorder != uorder) { 845 inPreEvaluateWithDeriv(uorder, uprime, global_ucoeff, global_ucoeffDeriv); 847 global_uorder = uorder; 444 inMap2f(int k,REAL ulower,REAL uupper,int ustride,int uorder,REAL vlower,REAL vupper,int vstride,int vorder,REAL * ctlPoints) argument 868 inDoDomain2WithDerivsBU(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 903 inDoDomain2WithDerivsBV(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 949 inDoDomain2WithDerivs(int k,REAL u,REAL v,REAL u1,REAL u2,int uorder,REAL v1,REAL v2,int vorder,REAL * baseData,REAL * retPoint,REAL * retdu,REAL * retdv) argument 1540 inMap2fEM(int which,int k,REAL ulower,REAL uupper,int ustride,int uorder,REAL vlower,REAL vupper,int vstride,int vorder,REAL * ctlPoints) argument [all...] |
| H A D | glcurveval.h | 61 int uorder; member in struct:curveEvalMachine 120 int uorder,
|
| H A D | glsurfeval.h | 70 int uorder; member in struct:surfEvalMachine 231 int global_uorder; /*store the uorder in the previous evaluation*/ 237 int global_uorder_BV; /*store the uorder in the previous evaluation*/ 239 int global_uorder_BU; /*store the uorder in the previous evaluation*/ 273 REAL u1, REAL u2, int uorder, 289 int uorder, 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); 327 REAL u1, REAL u2, int uorder, 333 REAL u1, REAL u2, int uorder, [all...] |
| H A D | bezierPatch.h | 38 int uorder; /*order= degree + 1*/ member in struct:bezierPatch 55 * P[uorder-1,0], P[uorder-1,1], ..., P[uorder-1,vorder-1].
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/ |
| H A D | 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);
|
| H A D | 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; 124 if (vorder > uorder) { 125 if (uorder >= 2) { 135 bincoeff = (GLfloat) (uorder - 1); 141 for (i = 2, ucp += 2 * uinc, poweru = u * u; i < uorder; 143 bincoeff *= (GLfloat) (uorder - i); 155 else /* uorder=1 -> cn defines a curve in v */ 158 else { /* vorder <= uorder */ 118 _math_horner_bezier_surf(GLfloat * cn,GLfloat * out,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument 195 _math_de_casteljau_surf(GLfloat * cn,GLfloat * out,GLfloat * du,GLfloat * dv,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/math/ |
| H A D | 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);
|
| H A D | 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; 124 if (vorder > uorder) { 125 if (uorder >= 2) { 135 bincoeff = (GLfloat) (uorder - 1); 141 for (i = 2, ucp += 2 * uinc, poweru = u * u; i < uorder; 143 bincoeff *= (GLfloat) (uorder - i); 155 else /* uorder=1 -> cn defines a curve in v */ 158 else { /* vorder <= uorder */ 118 _math_horner_bezier_surf(GLfloat * cn,GLfloat * out,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument 195 _math_de_casteljau_surf(GLfloat * cn,GLfloat * out,GLfloat * du,GLfloat * dv,GLfloat u,GLfloat v,GLuint dim,GLuint uorder,GLuint vorder) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | eval.c | 156 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder, argument 165 buffer = malloc(uorder * size * sizeof(GLfloat)); 168 for (i = 0, p = buffer; i < uorder; i++, points += ustride) 180 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder, argument 189 buffer = malloc(uorder * size * sizeof(GLfloat)); 192 for (i = 0, p = buffer; i < uorder; i++, points += ustride) 212 GLint ustride, GLint uorder, 226 /* max(uorder, vorder) additional points are used in */ 227 /* horner evaluation and uorder*vorder additional */ 229 dsize = (uorder 211 _mesa_copy_map_points2f(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLfloat * points) argument 254 _mesa_copy_map_points2d(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLdouble * points) argument 304 map1(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,const GLvoid * points,GLenum type) argument 385 map2(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLvoid * points,GLenum type) argument 467 _mesa_Map2f(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLfloat * points) argument 478 _mesa_Map2d(GLenum target,GLdouble u1,GLdouble u2,GLint ustride,GLint uorder,GLdouble v1,GLdouble v2,GLint vstride,GLint vorder,const GLdouble * points) argument [all...] |
| H A D | eval.h | 48 GLint ustride, GLint uorder, 52 GLint ustride, GLint uorder, 56 GLint ustride, GLint uorder, 61 GLint ustride, GLint uorder, 80 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, 85 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | eval.c | 155 GLfloat *_mesa_copy_map_points1f( GLenum target, GLint ustride, GLint uorder, argument 164 buffer = malloc(uorder * size * sizeof(GLfloat)); 167 for (i = 0, p = buffer; i < uorder; i++, points += ustride) 179 GLfloat *_mesa_copy_map_points1d( GLenum target, GLint ustride, GLint uorder, argument 188 buffer = malloc(uorder * size * sizeof(GLfloat)); 191 for (i = 0, p = buffer; i < uorder; i++, points += ustride) 211 GLint ustride, GLint uorder, 225 /* max(uorder, vorder) additional points are used in */ 226 /* horner evaluation and uorder*vorder additional */ 228 dsize = (uorder 210 _mesa_copy_map_points2f(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLfloat * points) argument 253 _mesa_copy_map_points2d(GLenum target,GLint ustride,GLint uorder,GLint vstride,GLint vorder,const GLdouble * points) argument 303 map1(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,const GLvoid * points,GLenum type) argument 385 map2(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLvoid * points,GLenum type) argument 468 _mesa_Map2f(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLfloat * points) argument 479 _mesa_Map2d(GLenum target,GLdouble u1,GLdouble u2,GLint ustride,GLint uorder,GLdouble v1,GLdouble v2,GLint vstride,GLint vorder,const GLdouble * points) argument [all...] |
| H A D | eval.h | 48 GLint ustride, GLint uorder, 52 GLint ustride, GLint uorder, 56 GLint ustride, GLint uorder, 61 GLint ustride, GLint uorder, 80 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, 85 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
|
| /xsrc/external/mit/xorg-server.old/dist/glx/ |
| H A D | render2.c | 63 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2f 68 uorder = *(GLint *)(pc + 12); 80 CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) ); 128 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2d 135 uorder = *(GLint *)(pc + 36); 140 if (vorder < 0 || uorder < 0 || k < 0) { 143 compsize = uorder * vorder * k; 170 CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) );
|
| H A D | render2swap.c | 79 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 95 uorder = *(GLint *)(pc + 12); 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) ); 165 GLint uorder, vorder, ustride, vstride, k, compsize; local in function:__glXDispSwap_Map2d 179 uorder = *(GLint *)(pc + 36); 182 if (vorder <= 0 || uorder <= 0 || k < 0) { 186 compsize = uorder * vorder * k; 211 CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v [all...] |
| H A D | rensize.c | 88 GLint uorder, vorder; local in function:__glXMap2dReqSize 91 uorder = *(GLint *)(pc + 36); 95 uorder = SWAPL( uorder ); 98 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder)); 104 GLint uorder, vorder; local in function:__glXMap2fReqSize 107 uorder = *(GLint *)(pc + 12); 111 uorder = SWAPL( uorder ); 114 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorde [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/ |
| H A D | render2swap.c | 98 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 114 uorder = *(GLint *)(pc + 12); 126 if (vorder <= 0 || uorder <= 0 || k < 0) { 130 compsize = uorder * vorder * k; 182 GLint uorder, vorder, ustride, vstride, k, compsize; local in function:__glXDispSwap_Map2d 196 uorder = *(GLint *)(pc + 36); 199 if (vorder <= 0 || uorder <= 0 || k < 0) { 203 compsize = uorder * vorder * k;
|
| /xsrc/external/mit/xorg-server/dist/glx/ |
| H A D | render2.c | 60 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2f 65 uorder = *(GLint *) (pc + 12); 77 glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); 130 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDisp_Map2d 138 uorder = *(GLint *) (pc + 36); 143 if (vorder < 0 || uorder < 0 || k < 0) { 147 compsize = uorder * vorder * k; 175 glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
|
| H A D | render2swap.c | 78 GLint uorder, vorder, ustride, vstride, k; local in function:__glXDispSwap_Map2f 95 uorder = *(GLint *) (pc + 12); 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 in function:__glXDispSwap_Map2d 186 uorder = *(GLint *) (pc + 36); 189 if (vorder <= 0 || uorder <= 0 || k < 0) { 194 compsize = uorder * vorder * k; 220 glMap2d(target, u1, u2, ustride, uorder, v [all...] |
| H A D | rensize.c | 92 GLint uorder, vorder; local in function:__glXMap2dReqSize 95 uorder = *(GLint *) (pc + 36); 99 uorder = SWAPL(uorder); 102 return safe_mul(8, Map2Size(__glMap2d_size(target), uorder, vorder)); 109 GLint uorder, vorder; local in function:__glXMap2fReqSize 112 uorder = *(GLint *) (pc + 12); 116 uorder = SWAPL(uorder); 119 return safe_mul(4, Map2Size(__glMap2f_size(target), uorder, vorde [all...] |