/external/opencv3/modules/core/include/opencv2/core/cuda/ |
D | filters.hpp | 61 typedef typename Ptr2D::elem_type elem_type; typedef 71 __device__ __forceinline__ elem_type operator ()(float y, float x) const in operator ()() 81 typedef typename Ptr2D::elem_type elem_type; typedef 90 __device__ __forceinline__ elem_type operator ()(float y, float x) const in operator ()() 92 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; in operator ()() 101 elem_type src_reg = src(y1, x1); in operator ()() 113 return saturate_cast<elem_type>(out); in operator ()() 121 typedef typename Ptr2D::elem_type elem_type; typedef 123 typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type; 149 __device__ elem_type operator ()(float y, float x) const in operator ()() [all …]
|
D | vec_traits.hpp | 171 typedef type elem_type; \ 179 typedef type elem_type; \ 187 typedef type elem_type; \ 195 typedef type elem_type; \ 203 typedef type elem_type; \ 211 typedef type elem_type; \ 230 typedef char elem_type; typedef 238 typedef schar elem_type; typedef 246 typedef schar elem_type; typedef 254 typedef schar elem_type; typedef [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.c | 64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local 66 return elem_type; in lp_build_vec_type() 68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type() 79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument 83 assert(elem_type); in lp_check_elem_type() 84 if(!elem_type) in lp_check_elem_type() 87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type() 112 if(LLVMGetIntTypeWidth(elem_type) != type.width) in lp_check_elem_type() 123 LLVMTypeRef elem_type; in lp_check_vec_type() local 138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type() [all …]
|
D | lp_bld_const.c | 251 LLVMTypeRef elem_type; in lp_build_one() local 257 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one() 260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0); in lp_build_one() 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 272 LLVMTypeRef vec_type = LLVMVectorType(elem_type, type.length); in lp_build_one() 303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local 307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem() [all …]
|
D | lp_bld_intr.c | 170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength() local 171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength() 172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
|
D | lp_bld_type.h | 146 LLVMTypeRef elem_type; member 317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/util/ |
D | vec_traits.hpp | 60 #define CV_CUDEV_MAKE_VEC_INST(elem_type) \ argument 61 template<> struct MakeVec<elem_type, 1> { typedef elem_type type; }; \ 62 template<> struct MakeVec<elem_type, 2> { typedef elem_type ## 2 type; }; \ 63 template<> struct MakeVec<elem_type, 3> { typedef elem_type ## 3 type; }; \ 64 template<> struct MakeVec<elem_type, 4> { typedef elem_type ## 4 type; }; 93 typedef type elem_type; \ 101 typedef type elem_type; \ 109 typedef type elem_type; \ 117 typedef type elem_type; \ 125 typedef type elem_type; \ [all …]
|
D | type_traits.hpp | 162 typename VecTraits<A>::elem_type, 163 typename VecTraits<B>::elem_type
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
D | mul_mat.cu | 200 typedef typename VecTraits<T>::elem_type elem_type; in operator ()() typedef 204 res.x = saturate_cast<elem_type>(a.x * b); in operator ()() 205 res.y = saturate_cast<elem_type>(a.y * b); in operator ()() 206 res.z = saturate_cast<elem_type>(a.z * b); in operator ()() 207 res.w = saturate_cast<elem_type>(a.w * b); in operator ()()
|
D | div_mat.cu | 214 typedef typename VecTraits<T>::elem_type elem_type; in operator ()() typedef 221 res.x = saturate_cast<elem_type>(a.x * b); in operator ()() 222 res.y = saturate_cast<elem_type>(a.y * b); in operator ()() 223 res.z = saturate_cast<elem_type>(a.z * b); in operator ()() 224 res.w = saturate_cast<elem_type>(a.w * b); in operator ()()
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | reduce.hpp | 98 …_ __forceinline__ static tuple<typename VecTraits<R>::elem_type&, typename VecTraits<R>::elem_type… in res() 119 __device__ __forceinline__ static tuple<typename VecTraits<R>::elem_type&, 120 typename VecTraits<R>::elem_type&, 121 typename VecTraits<R>::elem_type&> res(R& val) in res() 142 __device__ __forceinline__ static tuple<typename VecTraits<R>::elem_type&, 143 typename VecTraits<R>::elem_type&, 144 typename VecTraits<R>::elem_type&, 145 typename VecTraits<R>::elem_type&> res(R& val) in res() 261 typedef typename VecTraits<work_type>::elem_type work_elem_type; 434 typedef typename VecTraits<ResType>::elem_type res_elem_type; in sum()
|
/external/dbus/dbus/ |
D | dbus-marshal-byteswap.c | 100 int elem_type; in byteswap_body_helper() local 103 elem_type = _dbus_type_reader_get_element_type (reader); in byteswap_body_helper() 104 alignment = _dbus_type_get_alignment (elem_type); in byteswap_body_helper() 110 if (dbus_type_is_fixed (elem_type)) in byteswap_body_helper()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_setup_tgsi_llvm.c | 219 ctx->soa.bld_base.uint_bld.elem_type, ""); in emit_declaration() 255 ctx->soa.bld_base.base.elem_type, ""); in emit_declaration() 317 base.elem_type, -1.0f); in emit_store() 524 LLVMTypeRef type = bld_base->base.elem_type; in emit_prepare_cube_coords() 583 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txd_fetch_args() 596 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txp_fetch_args() 640 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args() 656 LLVMTypeRef offset_type = bld_base->int_bld.elem_type; in txf_fetch_args() 876 val = LLVMBuildSelect(builder, cmp, val, LLVMConstInt(bld_base->int_bld.elem_type, -1, true), ""); in emit_ssg() 881 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->base.elem_type, -1), ""); in emit_ssg() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_llvm.c | 30 "llvm.AMDGPU.load.const", bld_base->base.elem_type, in llvm_fetch_const() 54 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_system_value() 87 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_input() 201 emit_data->dst_type = base->elem_type; in dp_fetch_args()
|
/external/opencv3/modules/core/src/cuda/ |
D | gpu_mat.cu | 263 …gridTransformUnary_< CopyToPolicy<sizeof(typename VecTraits<T>::elem_type)> >(globPtr<T>(src), glo… in copyWithMask() 320 Scalar_<typename VecTraits<T>::elem_type> scalar = _scalar; in setToWithOutMask() 327 Scalar_<typename VecTraits<T>::elem_type> scalar = _scalar; in setToWithMask() 435 typedef typename VecTraits<T>::elem_type src_elem_type; in convertToNoScale() 436 typedef typename VecTraits<D>::elem_type dst_elem_type; in convertToNoScale() 457 typedef typename VecTraits<T>::elem_type src_elem_type; in convertToScale() 458 typedef typename VecTraits<D>::elem_type dst_elem_type; in convertToScale()
|
/external/opencv/cxcore/src/ |
D | cxpersistence.cpp | 1818 int elem_type = CV_NODE_NONE; in icvXMLParseValue() local 1836 elem_type = CV_NODE_STRING; in icvXMLParseValue() 1838 elem_type = CV_NODE_MAP; in icvXMLParseValue() 1840 elem_type = CV_NODE_MAP; in icvXMLParseValue() 1845 elem_type = CV_NODE_USER; in icvXMLParseValue() 1863 CV_CALL( ptr = icvXMLParseValue( fs, ptr, elem, elem_type)); in icvXMLParseValue() 2958 icvEncodeFormat( int elem_type, char* dt ) in icvEncodeFormat() argument 2960 sprintf( dt, "%d%c", CV_MAT_CN(elem_type), icvTypeSymbol[CV_MAT_DEPTH(elem_type)] ); in icvEncodeFormat() 3062 int elem_type = -1; in icvDecodeSimpleFormat() local 3074 elem_type = CV_MAKETYPE( fmt_pairs[1], fmt_pairs[0] ); in icvDecodeSimpleFormat() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | cuda_types.hpp | 72 typedef T elem_type; typedef 75 enum { elem_size = sizeof(elem_type) };
|
D | types_c.h | 1265 #define CV_SET_ELEM_FIELDS(elem_type) \ argument 1267 struct elem_type* next_free; 1549 #define CV_SEQ_ELEM( seq, elem_type, index ) \ argument 1552 (seq)->elem_size == sizeof(elem_type)), \ 1553 (elem_type*)((seq)->first && (unsigned)index < \ 1555 (seq)->first->data + (index) * sizeof(elem_type) : \ 1557 #define CV_GET_SEQ_ELEM( elem_type, seq, index ) CV_SEQ_ELEM( (seq), elem_type, (index) ) argument
|
/external/opencv3/modules/core/src/ |
D | persistence.cpp | 1853 int elem_type = CV_NODE_NONE; in icvXMLParseValue() local 1871 elem_type = CV_NODE_STRING; in icvXMLParseValue() 1873 elem_type = CV_NODE_MAP; in icvXMLParseValue() 1875 elem_type = CV_NODE_SEQ; in icvXMLParseValue() 1880 elem_type = CV_NODE_USER; in icvXMLParseValue() 1898 ptr = icvXMLParseValue( fs, ptr, elem, elem_type); in icvXMLParseValue() 2990 icvEncodeFormat( int elem_type, char* dt ) in icvEncodeFormat() argument 2992 sprintf( dt, "%d%c", CV_MAT_CN(elem_type), icvTypeSymbol[CV_MAT_DEPTH(elem_type)] ); in icvEncodeFormat() 3080 int elem_type = -1; in icvDecodeSimpleFormat() local 3087 elem_type = CV_MAKETYPE( fmt_pairs[1], fmt_pairs[0] ); in icvDecodeSimpleFormat() [all …]
|
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
D | interpolation.hpp | 107 typedef typename VecTraits<src_type>::elem_type src_elem_type; in operator ()() 182 typedef typename VecTraits<src_type>::elem_type src_elem_type; in operator ()() 245 typedef typename VecTraits<src_type>::elem_type src_elem_type; in operator ()() 305 typedef typename VecTraits<src_type>::elem_type src_elem_type; in operator ()()
|
D | gpumat.hpp | 149 __host__ GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> 152 … GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> dst(mat.reshape(cn, rows)); in reshape_()
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/ |
D | reduce_to_vec.hpp | 116 return VecTraits<T>::all(numeric_limits<typename VecTraits<T>::elem_type>::max()); in initialValue() 136 return VecTraits<T>::all(-numeric_limits<typename VecTraits<T>::elem_type>::max()); in initialValue()
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 1237 #define CV_SET_ELEM_FIELDS(elem_type) \ argument 1239 struct elem_type* next_free; 1519 #define CV_SEQ_ELEM( seq, elem_type, index ) \ argument 1522 (seq)->elem_size == sizeof(elem_type)), \ 1523 (elem_type*)((seq)->first && (unsigned)index < \ 1525 (seq)->first->data + (index) * sizeof(elem_type) : \ 1527 #define CV_GET_SEQ_ELEM( elem_type, seq, index ) CV_SEQ_ELEM( (seq), elem_type, (index) ) argument
|
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
D | color.hpp | 62 …tr_type, name ## _func<typename VecTraits<typename PtrTraits<SrcPtr>::value_type>::elem_type> > > \ 65 …tr(src, name ## _func<typename VecTraits<typename PtrTraits<SrcPtr>::value_type>::elem_type>())); \
|
/external/opencv3/modules/cudafilters/src/cuda/ |
D | filter2d.cu | 83 typedef type elem_type; \ 88 __device__ __forceinline__ elem_type operator ()(index_type y, index_type x) const \
|