Home
last modified time | relevance | path

Searched refs:float3 (Results 1 – 25 of 71) sorted by relevance

123

/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
Dd3d11spikysphere.hlsl43 float3 position : POSITION;
48 float3 position : POSITION;
66 float3 position : POSITION;
93 float3 objpos : OBJPOS;
94 // float3 worldpos : WORLDPOS;
95 float3 objnormal : OBJNORMAL;
96 float3 worldnormal : WORLDNORMAL;
99 float3 dnormf_dt(float3 f, float3 dfdt)
105 float3 map(float3 p, float3 q, float3 r, float3 k)
110 float3 dmap_du(float3 p, float3 q, float3 r, float3 k)
[all …]
/external/opencv3/modules/cudalegacy/src/cuda/
Dcalib3d.cu56 __constant__ float3 crot0;
57 __constant__ float3 crot1;
58 __constant__ float3 crot2;
59 __constant__ float3 ctransl;
61 struct TransformOp : unary_function<float3, float3>
63 __device__ __forceinline__ float3 operator()(const float3& p) const in operator ()()
74 void call(const PtrStepSz<float3> src, const float* rot, in call()
75 const float* transl, PtrStepSz<float3> dst, in call()
88 __constant__ float3 crot0;
89 __constant__ float3 crot1;
[all …]
DNCVPixelOperations.hpp81 template<> struct TConvVec2Base<float3> {typedef Ncv32f TBase;};
100 template<> struct TConvBase2Vec<Ncv32f, 3> {typedef float3 TVec;};
129 template<> inline __host__ __device__ float3 _pixMakeZero<float3>() {return make_float3(0.f,0.f,0.f… in _pixMakeZero()
145 static inline __host__ __device__ float3 _pixMake(Ncv32f x, Ncv32f y, Ncv32f z) {return make_float3… in _pixMake()
337 template<> struct TAccPixWeighted<float3> {typedef double3 type;};
348 template<> struct TAccPixDist<float3> {typedef Ncv32f type;};
DNCVPyramid.cu90 template<> struct __average4_CN<float3, 3> {
91 static __host__ __device__ float3 _average4_CN(const float3 &p00, const float3 &p01, const float3 &… in _average4_CN()
93 float3 out; in _average4_CN()
237 …1> , 0 /*kernelDownsampleX2_gpu<float2>*/ , kernelDownsampleX2_gpu<float3> , kernelDown… in downsampleX2()
320 … , 0 /*kernelInterpolateFrom1_gpu<float2>*/ , kernelInterpolateFrom1_gpu<float3> , kernelInte… in interpolateFrom1()
618 template class NCVImagePyramid<float3>;
/external/clang/test/CodeGen/
Dppc64le-aggregates.c243 typedef float float3 __attribute__((vector_size (12))); typedef
245 struct v3f1 { float3 v[1]; };
246 struct v3f2 { float3 v[2]; };
247 struct v3f3 { float3 v[3]; };
248 struct v3f4 { float3 v[4]; };
249 struct v3f5 { float3 v[5]; };
250 struct v3f6 { float3 v[6]; };
251 struct v3f7 { float3 v[7]; };
252 struct v3f8 { float3 v[8]; };
253 struct v3f9 { float3 v[9]; };
[all …]
/external/llvm/test/CodeGen/NVPTX/
Dbug22322.ll6 %class.float3 = type { float, float, float }
10 define void @some_kernel(%class.float3* nocapture %dst) #0 {
30 %12 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 0
32 %13 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 1
34 %14 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 2
61 !0 = !{void (%class.float3*)* @some_kernel, !"kernel", i32 1}
/external/clang/test/Sema/
Dext_vector_components.c4 typedef __attribute__(( ext_vector_type(3) )) float float3; typedef
12 float3 vec3; in test()
44 float2 lo(float3 x) { return x.lo; } in lo()
45 float2 hi(float3 x) { return x.hi; } in hi()
46 float2 ev(float3 x) { return x.even; } in ev()
47 float2 od(float3 x) { return x.odd; } in od()
Dvector-init.c33 typedef float __attribute__((ext_vector_type (3))) float3; typedef
34 int test2[sizeof(float3) == sizeof(float4) ? 1 : -1];
/external/clang/test/Parser/
Dopencl-astype.cl9 typedef __attribute__(( ext_vector_type(3) )) float float3;
16 // Verify int4->float3, float3->int4 works.
18 float3 f3 = __builtin_astype(i4, float3);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.hlsl40 float3 normal : NORMAL;
46 float3 normal : NORMAL;
47 float3 eye : EYE;
48 float3 light : LIGHT;
55 float3 view = mul((float3x4)modelview, input.position);
66 float3 nlight = normalize(input.light);
67 float3 nnormal = normalize(input.normal);
/external/opencv3/modules/cudaarithm/src/cuda/
Dmul_scalar.cu104 …oat>, mulScalarImpl<uchar2, float, float2>, mulScalarImpl<uchar3, float, float3>, mulScalarImpl<uc… in mulScalar()
113 …float>, mulScalarImpl<char2, float, float2>, mulScalarImpl<char3, float, float3>, mulScalarImpl<ch… in mulScalar()
122 …t>, mulScalarImpl<ushort2, float, float2>, mulScalarImpl<ushort3, float, float3>, mulScalarImpl<us… in mulScalar()
131 …oat>, mulScalarImpl<short2, float, float2>, mulScalarImpl<short3, float, float3>, mulScalarImpl<sh… in mulScalar()
140 …, float>, mulScalarImpl<int2, float, float2>, mulScalarImpl<int3, float, float3>, mulScalarImpl<in… in mulScalar()
149 …loat, float>, mulScalarImpl<float2, float, float2>, mulScalarImpl<float3, float, float3>, mulScala… in mulScalar()
150 …, double, double>, mulScalarImpl<float2, double, double2>, mulScalarImpl<float3, double, double3>,… in mulScalar()
Dadd_scalar.cu107 …oat>, addScalarImpl<uchar2, float, float2>, addScalarImpl<uchar3, float, float3>, addScalarImpl<uc… in addScalar()
116 …float>, addScalarImpl<char2, float, float2>, addScalarImpl<char3, float, float3>, addScalarImpl<ch… in addScalar()
125 …t>, addScalarImpl<ushort2, float, float2>, addScalarImpl<ushort3, float, float3>, addScalarImpl<us… in addScalar()
134 …oat>, addScalarImpl<short2, float, float2>, addScalarImpl<short3, float, float3>, addScalarImpl<sh… in addScalar()
143 …, float>, addScalarImpl<int2, float, float2>, addScalarImpl<int3, float, float3>, addScalarImpl<in… in addScalar()
152 …loat, float>, addScalarImpl<float2, float, float2>, addScalarImpl<float3, float, float3>, addScala… in addScalar()
153 …, double, double>, addScalarImpl<float2, double, double2>, addScalarImpl<float3, double, double3>,… in addScalar()
Dsub_scalar.cu130 …oat>, subScalarImpl<uchar2, float, float2>, subScalarImpl<uchar3, float, float3>, subScalarImpl<uc… in subScalar()
139 …float>, subScalarImpl<char2, float, float2>, subScalarImpl<char3, float, float3>, subScalarImpl<ch… in subScalar()
148 …t>, subScalarImpl<ushort2, float, float2>, subScalarImpl<ushort3, float, float3>, subScalarImpl<us… in subScalar()
157 …oat>, subScalarImpl<short2, float, float2>, subScalarImpl<short3, float, float3>, subScalarImpl<sh… in subScalar()
166 …, float>, subScalarImpl<int2, float, float2>, subScalarImpl<int3, float, float3>, subScalarImpl<in… in subScalar()
175 …loat, float>, subScalarImpl<float2, float, float2>, subScalarImpl<float3, float, float3>, subScala… in subScalar()
176 …, double, double>, subScalarImpl<float2, double, double2>, subScalarImpl<float3, double, double3>,… in subScalar()
Ddiv_scalar.cu172 …oat>, divScalarImpl<uchar2, float, float2>, divScalarImpl<uchar3, float, float3>, divScalarImpl<uc… in divScalar()
181 …float>, divScalarImpl<char2, float, float2>, divScalarImpl<char3, float, float3>, divScalarImpl<ch… in divScalar()
190 …t>, divScalarImpl<ushort2, float, float2>, divScalarImpl<ushort3, float, float3>, divScalarImpl<us… in divScalar()
199 …oat>, divScalarImpl<short2, float, float2>, divScalarImpl<short3, float, float3>, divScalarImpl<sh… in divScalar()
208 …, float>, divScalarImpl<int2, float, float2>, divScalarImpl<int3, float, float3>, divScalarImpl<in… in divScalar()
217 …loat, float>, divScalarImpl<float2, float, float2>, divScalarImpl<float3, float, float3>, divScala… in divScalar()
218 …, double, double>, divScalarImpl<float2, double, double2>, divScalarImpl<float3, double, double3>,… in divScalar()
/external/opencv3/modules/superres/src/opencl/
Dsuperres_btvl1.cl108 inline float3 diffSign3(float3 a, float3 b)
110 float3 pos;
155 float3 srcVal = (float3)(src0ptr[0], src0ptr[1], src0ptr[2]), dstVal = 0.f;
164 float3 src1 = (float3)(src1ptr[0], src1ptr[1], src1ptr[2]);
165 float3 src2 = (float3)(src2ptr[0], src2ptr[1], src2ptr[2]);
/external/clang/test/SemaOpenCL/
Dvector_literals_const.cl17 typedef float float3 __attribute((ext_vector_type(3)));
25 __constant float4 f_3_1 = (float4)((float3)(1,2,3),4);
26 __constant float4 f_1_3 = (float4)(1,(float3)(2,3,4));
/external/opencv3/modules/cudalegacy/src/
Dcalib3d.cpp62 …void call(const PtrStepSz<float3> src, const float* rot, const float* transl, PtrStepSz<float3> ds…
67 …void call(const PtrStepSz<float3> src, const float* rot, const float* transl, const float* proj, P…
76 const float3* transl_vectors, const float3* object, const float2* image,
248 num_iters, num_points, rot_matrices.ptr<float>(), transl_vectors.ptr<float3>(), in solvePnPRansac()
249 d_object.ptr<float3>(), d_image_normalized.ptr<float2>(), max_dist * max_dist, in solvePnPRansac()
/external/opencv3/modules/cudafilters/src/cuda/
Drow_filter.32fc3.cu49 …template void linearRow<float3, float3>(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int k…
Dcolumn_filter.32fc3.cu49 …template void linearColumn<float3, float3>(PtrStepSzb src, PtrStepSzb dst, const float* kernel, in…
/external/opencv3/modules/cudabgsegm/src/cuda/
Dmog.cu61 __device__ __forceinline__ float3 cvt(const uchar3& val) in cvt()
74 __device__ __forceinline__ float sqr(const float3& val) in sqr()
87 __device__ __forceinline__ float sum(const float3& val) in sum()
100 …__device__ __forceinline__ float3 clamp(const float3& var, float learningRate, const float3& diff,… in clamp()
350 …houtLearning_caller<uchar, float>, 0, mog_withoutLearning_caller<uchar3, float3>, mog_withoutLearn… in mog_gpu()
354 …0, mog_withLearning_caller<uchar, float>, 0, mog_withLearning_caller<uchar3, float3>, mog_withLear… in mog_gpu()
416 …0, getBackgroundImage_caller<float, uchar>, 0, getBackgroundImage_caller<float3, uchar3>, getBackg… in getBackgroundImage_gpu()
Dmog2.cu61 __device__ __forceinline__ float3 cvt(const uchar3& val) in cvt()
74 __device__ __forceinline__ float sqr(const float3& val) in sqr()
87 __device__ __forceinline__ float sum(const float3& val) in sum()
371 … 0, mog2_caller<uchar, float>, 0, mog2_caller<uchar3, float3>, mog2_caller<uchar4, float4> in mog2_gpu()
430 …0, getBackgroundImage2_caller<float, uchar>, 0, getBackgroundImage2_caller<float3, uchar3>, getBac… in getBackgroundImage2_gpu()
/external/opencv3/modules/cudev/test/
Dtranspose.cu73 GpuMat_<float3> d_src(src); in TEST()
75 GpuMat_<float3> dst = transpose_(d_src); in TEST()
/external/opencv3/modules/cudafilters/src/
Dfiltering.cpp345 …{filter::linearRow<uchar, float>, 0, filter::linearRow<uchar3, float3>, filter::linearRow<uchar4, … in SeparableLinearFilter()
347 …{filter::linearRow<ushort, float>, 0, filter::linearRow<ushort3, float3>, filter::linearRow<ushort… in SeparableLinearFilter()
348 …{filter::linearRow<short, float>, 0, filter::linearRow<short3, float3>, filter::linearRow<short4, … in SeparableLinearFilter()
349 …{filter::linearRow<int, float>, 0, filter::linearRow<int3, float3>, filter::linearRow<int4, float4… in SeparableLinearFilter()
350 …{filter::linearRow<float, float>, 0, filter::linearRow<float3, float3>, filter::linearRow<float4, … in SeparableLinearFilter()
356 …{filter::linearColumn<float, uchar>, 0, filter::linearColumn<float3, uchar3>, filter::linearColumn… in SeparableLinearFilter()
358 …{filter::linearColumn<float, ushort>, 0, filter::linearColumn<float3, ushort3>, filter::linearColu… in SeparableLinearFilter()
359 …{filter::linearColumn<float, short>, 0, filter::linearColumn<float3, short3>, filter::linearColumn… in SeparableLinearFilter()
360 …{filter::linearColumn<float, int>, 0, filter::linearColumn<float3, int3>, filter::linearColumn<flo… in SeparableLinearFilter()
361 …{filter::linearColumn<float, float>, 0, filter::linearColumn<float3, float3>, filter::linearColumn… in SeparableLinearFilter()
/external/opencv3/modules/cudastereo/src/
Dutil.cpp71 {reprojectImageTo3D_gpu<uchar, float3>, 0, 0, reprojectImageTo3D_gpu<short, float3>}, in reprojectImageTo3D()
/external/opencv3/modules/cudawarping/src/
Dpyramids.cpp78 …{pyrDown_gpu<float> , 0 /*pyrDown_gpu<float2>*/ , pyrDown_gpu<float3> , pyrDown_gpu<floa… in pyrDown()
118 …{pyrUp_gpu<float> , 0 /*pyrUp_gpu<float2>*/ , pyrUp_gpu<float3> , pyrUp_gpu<float4> … in pyrUp()

123