Home
last modified time | relevance | path

Searched refs:vecs (Results 1 – 25 of 30) sorted by relevance

12

/external/quake/quake/src/QW/client/
Dgl_warp.c130 s = DotProduct (verts, warpface->texinfo->vecs[0]); in SubdividePolygon()
131 t = DotProduct (verts, warpface->texinfo->vecs[1]); in SubdividePolygon()
720 void DrawSkyPolygon (int nump, vec3_t vecs) in DrawSkyPolygon() argument
731 for (i=0 ; i<nump ; i++, vecs+=3) in DrawSkyPolygon()
733 VectorAdd(vecs, r_origin, v); in DrawSkyPolygon()
741 for (i=0, vp=vecs ; i<nump ; i++, vp+=3) in DrawSkyPolygon()
771 for (i=0 ; i<nump ; i++, vecs+=3) in DrawSkyPolygon()
775 dv = vecs[j - 1]; in DrawSkyPolygon()
777 dv = -vecs[-j - 1]; in DrawSkyPolygon()
781 s = -vecs[-j -1] / dv; in DrawSkyPolygon()
[all …]
Dr_light.c193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; in RecursiveLightPoint()
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];; in RecursiveLightPoint()
Dd_edge.c135 TransformVector (pface->texinfo->vecs[0], p_saxis); in D_CalcGradients()
136 TransformVector (pface->texinfo->vecs[1], p_taxis); in D_CalcGradients()
156 + pface->texinfo->vecs[0][3]*t; in D_CalcGradients()
159 + pface->texinfo->vecs[1][3]*t; in D_CalcGradients()
Dgl_rlight.c321 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; in RecursiveLightPoint()
322 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];; in RecursiveLightPoint()
Dgl_rsurf.c103 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; in R_AddDynamicLights()
104 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3]; in R_AddDynamicLights()
1521 s = DotProduct (vec, fa->texinfo->vecs[0]) + fa->texinfo->vecs[0][3]; in BuildSurfaceDisplayList()
1524 t = DotProduct (vec, fa->texinfo->vecs[1]) + fa->texinfo->vecs[1][3]; in BuildSurfaceDisplayList()
1534 s = DotProduct (vec, fa->texinfo->vecs[0]) + fa->texinfo->vecs[0][3]; in BuildSurfaceDisplayList()
1540 t = DotProduct (vec, fa->texinfo->vecs[1]) + fa->texinfo->vecs[1][3]; in BuildSurfaceDisplayList()
Dr_surf.c98 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; in R_AddDynamicLights()
99 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3]; in R_AddDynamicLights()
Dbspfile.h161 float vecs[2][4]; // [s/t][xyz offset] member
Dgl_model.c657 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
658 len1 = Length (out->vecs[0]); in Mod_LoadTexinfo()
659 len2 = Length (out->vecs[1]); in Mod_LoadTexinfo()
728 val = v->position[0] * tex->vecs[j][0] + in CalcSurfaceExtents()
729 v->position[1] * tex->vecs[j][1] + in CalcSurfaceExtents()
730 v->position[2] * tex->vecs[j][2] + in CalcSurfaceExtents()
731 tex->vecs[j][3]; in CalcSurfaceExtents()
Dmodel.c648 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
649 len1 = Length (out->vecs[0]); in Mod_LoadTexinfo()
650 len2 = Length (out->vecs[1]); in Mod_LoadTexinfo()
719 val = v->position[0] * tex->vecs[j][0] + in CalcSurfaceExtents()
720 v->position[1] * tex->vecs[j][1] + in CalcSurfaceExtents()
721 v->position[2] * tex->vecs[j][2] + in CalcSurfaceExtents()
722 tex->vecs[j][3]; in CalcSurfaceExtents()
/external/quake/quake/src/WinQuake/
Dgl_warp.cpp130 s = DotProduct (verts, warpface->texinfo->vecs[0]); in SubdividePolygon()
131 t = DotProduct (verts, warpface->texinfo->vecs[1]); in SubdividePolygon()
769 void DrawSkyPolygon (int nump, vec3_t vecs) in DrawSkyPolygon() argument
780 for (i=0 ; i<nump ; i++, vecs+=3) in DrawSkyPolygon()
782 VectorAdd(vecs, r_origin, v); in DrawSkyPolygon()
790 for (i=0, vp=vecs ; i<nump ; i++, vp+=3) in DrawSkyPolygon()
820 for (i=0 ; i<nump ; i++, vecs+=3) in DrawSkyPolygon()
824 dv = vecs[j - 1]; in DrawSkyPolygon()
826 dv = -vecs[-j - 1]; in DrawSkyPolygon()
830 s = -vecs[-j -1] / dv; in DrawSkyPolygon()
[all …]
Dr_light.cpp193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; in RecursiveLightPoint()
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];; in RecursiveLightPoint()
Dd_edge.cpp135 TransformVector (pface->texinfo->vecs[0], p_saxis); in D_CalcGradients()
136 TransformVector (pface->texinfo->vecs[1], p_taxis); in D_CalcGradients()
156 + pface->texinfo->vecs[0][3]*t; in D_CalcGradients()
159 + pface->texinfo->vecs[1][3]*t; in D_CalcGradients()
Dgl_rlight.cpp324 s = (int) (DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]); in RecursiveLightPoint()
325 t = (int) (DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3]); in RecursiveLightPoint()
Dgl_rsurf.cpp103 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; in R_AddDynamicLights()
104 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3]; in R_AddDynamicLights()
1595 s = DotProduct (vec, fa->texinfo->vecs[0]) + fa->texinfo->vecs[0][3]; in BuildSurfaceDisplayList()
1598 t = DotProduct (vec, fa->texinfo->vecs[1]) + fa->texinfo->vecs[1][3]; in BuildSurfaceDisplayList()
1608 s = DotProduct (vec, fa->texinfo->vecs[0]) + fa->texinfo->vecs[0][3]; in BuildSurfaceDisplayList()
1614 t = DotProduct (vec, fa->texinfo->vecs[1]) + fa->texinfo->vecs[1][3]; in BuildSurfaceDisplayList()
Dr_surf.cpp98 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; in R_AddDynamicLights()
99 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3]; in R_AddDynamicLights()
Dgl_model.cpp657 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
658 len1 = Length (out->vecs[0]); in Mod_LoadTexinfo()
659 len2 = Length (out->vecs[1]); in Mod_LoadTexinfo()
728 val = v->position[0] * tex->vecs[j][0] + in CalcSurfaceExtents()
729 v->position[1] * tex->vecs[j][1] + in CalcSurfaceExtents()
730 v->position[2] * tex->vecs[j][2] + in CalcSurfaceExtents()
731 tex->vecs[j][3]; in CalcSurfaceExtents()
Dmodel.cpp666 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
667 len1 = Length (out->vecs[0]); in Mod_LoadTexinfo()
668 len2 = Length (out->vecs[1]); in Mod_LoadTexinfo()
737 val = v->position[0] * tex->vecs[j][0] + in CalcSurfaceExtents()
738 v->position[1] * tex->vecs[j][1] + in CalcSurfaceExtents()
739 v->position[2] * tex->vecs[j][2] + in CalcSurfaceExtents()
740 tex->vecs[j][3]; in CalcSurfaceExtents()
Dbspfile.h174 float vecs[2][4]; // [s/t][xyz offset] member
/external/quake/quake/src/QW/server/
Dmodel.c588 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
589 len1 = Length (in->vecs[0]); in Mod_LoadTexinfo()
590 len2 = Length (in->vecs[1]); in Mod_LoadTexinfo()
593 out->vecs[0][j] = LittleFloat (in->vecs[0][j]); in Mod_LoadTexinfo()
594 out->vecs[1][j] = LittleFloat (in->vecs[1][j]); in Mod_LoadTexinfo()
596 len1 = Length (out->vecs[0]); in Mod_LoadTexinfo()
597 len2 = Length (out->vecs[1]); in Mod_LoadTexinfo()
656 val = v->position[0] * tex->vecs[j][0] + in CalcSurfaceExtents()
657 v->position[1] * tex->vecs[j][1] + in CalcSurfaceExtents()
658 v->position[2] * tex->vecs[j][2] + in CalcSurfaceExtents()
[all …]
/external/kernel-headers/original/linux/mtd/
Dmtd.h184 …int (*writev) (struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size…
233 int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
236 int default_mtd_readv(struct mtd_info *mtd, struct kvec *vecs,
/external/yaffs2/yaffs2/mtdemul/
Dnandemul2k.c294 static int nand_writev (struct mtd_info *mtd, const struct kvec *vecs,
297 static int nand_writev (struct mtd_info *mtd, const struct iovec *vecs,
519 static int nand_writev (struct mtd_info *mtd, const struct kvec *vecs, in nand_writev() argument
522 static int nand_writev (struct mtd_info *mtd, const struct iovec *vecs, in nand_writev()
/external/opencv/ml/include/
Dml.h343 typedef void (CvSVMKernel::*Calc)( int vec_count, int vec_size, const float** vecs,
351 … virtual void calc( int vcount, int n, const float** vecs, const float* another, float* results );
356 virtual void calc_non_rbf_base( int vec_count, int vec_size, const float** vecs,
360 virtual void calc_linear( int vec_count, int vec_size, const float** vecs,
362 virtual void calc_rbf( int vec_count, int vec_size, const float** vecs,
364 virtual void calc_poly( int vec_count, int vec_size, const float** vecs,
366 virtual void calc_sigmoid( int vec_count, int vec_size, const float** vecs,
1226 virtual void calc_input_scale( const CvVectors* vecs, int flags );
1227 virtual void calc_output_scale( const CvVectors* vecs, int flags );
/external/skia/include/core/
DSkMatrix.h427 void mapVectors(SkVector vecs[], int count) const { in mapVectors() argument
428 this->mapVectors(vecs, vecs, count); in mapVectors()
/external/opencv/ml/src/
Dmlann_mlp.cpp566 void CvANN_MLP::calc_input_scale( const CvVectors* vecs, int flags ) in calc_input_scale() argument
571 int count = vecs->count; in calc_input_scale()
576 int type = vecs->type; in calc_input_scale()
587 const float* f = vecs->data.fl[i]; in calc_input_scale()
588 const double* d = vecs->data.db[i]; in calc_input_scale()
608 void CvANN_MLP::calc_output_scale( const CvVectors* vecs, int flags ) in calc_output_scale() argument
611 int type = vecs->type; in calc_output_scale()
618 int count = vecs->count; in calc_output_scale()
640 const float* f = vecs->data.fl[i]; in calc_output_scale()
641 const double* d = vecs->data.db[i]; in calc_output_scale()
Dmlsvm.cpp231 void CvSVMKernel::calc_non_rbf_base( int vcount, int var_count, const float** vecs, in calc_non_rbf_base() argument
238 const float* sample = vecs[j]; in calc_non_rbf_base()
250 void CvSVMKernel::calc_linear( int vcount, int var_count, const float** vecs, in calc_linear() argument
253 calc_non_rbf_base( vcount, var_count, vecs, another, results, 1, 0 ); in calc_linear()
257 void CvSVMKernel::calc_poly( int vcount, int var_count, const float** vecs, in calc_poly() argument
261 calc_non_rbf_base( vcount, var_count, vecs, another, results, params->gamma, params->coef0 ); in calc_poly()
266 void CvSVMKernel::calc_sigmoid( int vcount, int var_count, const float** vecs, in calc_sigmoid() argument
270 calc_non_rbf_base( vcount, var_count, vecs, another, results, in calc_sigmoid()
285 void CvSVMKernel::calc_rbf( int vcount, int var_count, const float** vecs, in calc_rbf() argument
294 const float* sample = vecs[j]; in calc_rbf()
[all …]

12