Home
last modified time | relevance | path

Searched refs:dst_type (Results 1 – 25 of 31) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_conv.c65 struct lp_type dst_type, in write_tsv_row() argument
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); in write_tsv_row()
76 dump_type(fp, dst_type); in write_tsv_row()
86 struct lp_type dst_type) in dump_conv_types() argument
92 dump_type(fp, dst_type); in dump_conv_types()
102 struct lp_type dst_type, unsigned num_dsts) in add_conv_test() argument
117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0); in add_conv_test()
135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts); in add_conv_test()
156 struct lp_type dst_type) in test_one() argument
170 if ((src_type.width >= dst_type.width && src_type.length > dst_type.length) || in test_one()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c277 struct lp_type dst_type, in lp_build_unpack2() argument
287 assert(!dst_type.floating); in lp_build_unpack2()
288 assert(dst_type.width == src_type.width * 2); in lp_build_unpack2()
289 assert(dst_type.length * 2 == src_type.length); in lp_build_unpack2()
291 if(dst_type.sign && src_type.sign) { in lp_build_unpack2()
310 dst_vec_type = lp_build_vec_type(gallivm, dst_type); in lp_build_unpack2()
326 struct lp_type dst_type, in lp_build_unpack() argument
334 assert(src_type.width * src_type.length == dst_type.width * dst_type.length); in lp_build_unpack()
337 assert(src_type.length == dst_type.length * num_dsts); in lp_build_unpack()
342 while(src_type.width < dst_type.width) { in lp_build_unpack()
[all …]
Dlp_bld_conv.c277 struct lp_type dst_type, in lp_build_unsigned_norm_to_float() argument
281 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type); in lp_build_unsigned_norm_to_float()
282 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type); in lp_build_unsigned_norm_to_float()
292 assert(dst_type.floating); in lp_build_unsigned_norm_to_float()
294 mantissa = lp_mantissa(dst_type); in lp_build_unsigned_norm_to_float()
306 lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float()
327 lp_build_const_int_vec(gallivm, dst_type, shift), ""); in lp_build_unsigned_norm_to_float()
330 bias_ = lp_build_const_vec(gallivm, dst_type, bias); in lp_build_unsigned_norm_to_float()
339 res = LLVMBuildFMul(builder, res, lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float()
355 struct lp_type dst_type, in lp_build_conv() argument
[all …]
Dlp_bld_format_aos_array.c51 struct lp_type dst_type, in lp_build_fetch_rgba_aos_array() argument
69 assert(src_type.length <= dst_type.length); in lp_build_fetch_rgba_aos_array()
90 if (src_type.length < dst_type.length) { in lp_build_fetch_rgba_aos_array()
91 res = lp_build_pad_vector(gallivm, res, src_type, dst_type.length); in lp_build_fetch_rgba_aos_array()
92 src_type.length = dst_type.length; in lp_build_fetch_rgba_aos_array()
96 lp_build_conv(gallivm, src_type, dst_type, &res, 1, &res, 1); in lp_build_fetch_rgba_aos_array()
99 lp_build_context_init(&bld, gallivm, dst_type); in lp_build_fetch_rgba_aos_array()
Dlp_bld_pack.h65 struct lp_type dst_type,
74 struct lp_type dst_type,
93 struct lp_type dst_type,
101 struct lp_type dst_type,
109 struct lp_type dst_type,
117 struct lp_type dst_type,
Dlp_bld_swizzle.c104 struct lp_type dst_type, in lp_build_extract_broadcast() argument
111 assert(src_type.floating == dst_type.floating); in lp_build_extract_broadcast()
112 assert(src_type.width == dst_type.width); in lp_build_extract_broadcast()
118 if (dst_type.length == 1) { in lp_build_extract_broadcast()
131 lp_build_vec_type(gallivm, dst_type), in lp_build_extract_broadcast()
136 if (dst_type.length > 1) { in lp_build_extract_broadcast()
143 LLVMVectorType(i32t, dst_type.length), in lp_build_extract_broadcast()
565 struct lp_type dst_type, in lp_build_pack_aos_scalars() argument
572 unsigned num_dst = dst_type.length; in lp_build_pack_aos_scalars()
601 struct lp_type dst_type, in lp_build_unpack_broadcast_aos_scalars() argument
[all …]
Dlp_bld_conv.h59 struct lp_type dst_type,
66 struct lp_type dst_type,
73 struct lp_type dst_type,
Dlp_bld_swizzle.h64 struct lp_type dst_type,
119 struct lp_type dst_type,
126 struct lp_type dst_type,
Dlp_bld_format_soa.c259 struct lp_type dst_type, in lp_build_rgba8_to_f32_soa() argument
264 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff); in lp_build_rgba8_to_f32_soa()
268 lp_build_int_vec_type(gallivm, dst_type), ""); in lp_build_rgba8_to_f32_soa()
280 lp_build_const_int_vec(gallivm, dst_type, start), ""); in lp_build_rgba8_to_f32_soa()
285 input = lp_build_unsigned_norm_to_float(gallivm, 8, dst_type, input); in lp_build_rgba8_to_f32_soa()
Dlp_bld_tgsi.c91 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context); in lp_build_action_set_dst_type()
94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in lp_build_action_set_dst_type()
107 emit_data->dst_type, emit_data->args, emit_data->arg_count); in lp_build_tgsi_intrinsic()
Dlp_bld_tgsi_action.h64 LLVMTypeRef dst_type; member
Dlp_bld_format.h97 struct lp_type dst_type,
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_llvm.h123 LLVMTypeRef dst_type; in bitcast() local
128 dst_type = LLVMInt32TypeInContext(ctx); in bitcast()
132 dst_type = LLVMFloatTypeInContext(ctx); in bitcast()
135 dst_type = 0; in bitcast()
139 if (dst_type) in bitcast()
140 return LLVMBuildBitCast(builder, value, dst_type, ""); in bitcast()
/external/libcxxabi/src/
Dprivate_typeinfo.cpp492 const __class_type_info* dst_type, in __dynamic_cast() argument
509 __dynamic_cast_info info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; in __dynamic_cast()
512 if (is_equal(dynamic_type, dst_type, false)) in __dynamic_cast()
529 info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; in __dynamic_cast()
551 dst_type->name()); in __dynamic_cast()
553 info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; in __dynamic_cast()
718 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst()
889 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst()
966 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst()
/external/valgrind/none/tests/s390x/
Drounding-1.c26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument
29 dst_type dst; \
Drounding-3.c42 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument
45 dst_type dst; \
Drounding-6.c30 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument
33 dst_type dst; \
Dpfpo.c29 #define PFPO(initial, src_type, dst_type, fn_code, round, ret_code, cc) \ argument
32 register dst_type dst_reg asm("f0"); \
/external/opencv/cv/src/
Dcvderiv.cpp188 int src_type, dst_type; in cvSobel() local
201 dst_type = CV_MAT_TYPE( dst->type ); in cvSobel()
208 (src_type == CV_8UC1 && dst_type == CV_16SC1/* || in cvSobel()
338 CV_CALL( filter.init_deriv( src->cols, src_type, dst_type, dx, dy, in cvSobel()
385 int dst_depth = CV_MAT_DEPTH(dst_type); in get_work_params()
387 work_type = CV_MAKETYPE( work_depth, CV_MAT_CN(dst_type)*2 ); in get_work_params()
810 int src_type, dst_type; in cvLaplace() local
816 dst_type = CV_MAT_TYPE(dst->type); in cvLaplace()
819 (src_type == CV_8UC1 && dst_type == CV_16SC1/* || in cvLaplace()
869 CV_CALL( laplacian.init( src->cols, src_type, dst_type, in cvLaplace()
Dcvfilter.cpp104 int max_depth = MAX(CV_MAT_DEPTH(src_type), CV_MAT_DEPTH(dst_type)); in get_work_params()
105 int max_cn = MAX(CV_MAT_CN(src_type), CV_MAT_CN(dst_type)); in get_work_params()
136 _dst_type == dst_type && _is_separable == is_separable && in init()
144 dst_type = CV_MAT_TYPE(_dst_type); in init()
486 if( CV_MAT_TYPE(dst->type) != dst_type ) in process()
537 dptr = dst->data.ptr + dst_origin.y*dst->step + dst_origin.x*CV_ELEM_SIZE(dst_type); in process()
766 if( CV_MAT_DEPTH(dst_type) == CV_8U && in init()
775 else if( CV_MAT_DEPTH(dst_type) == CV_16S && in init()
785 if( CV_MAT_DEPTH(dst_type) > CV_32F ) in init()
796 if( CV_MAT_DEPTH(dst_type) > CV_32F ) in init()
[all …]
/external/opencv/ml/src/
Dml_inner_functions.cpp1331 uchar* dst, int dst_step, int dst_type, in icvConvertDataToSparse() argument
1340 dst_type = CV_MAT_TYPE(dst_type); in icvConvertDataToSparse()
1342 if( CV_MAT_CN(src_type) != 1 || CV_MAT_CN(dst_type) != 1 ) in icvConvertDataToSparse()
1349 dst_step = CV_ELEM_SIZE(dst_type); in icvConvertDataToSparse()
1354 CV_ELEM_SIZE(dst_type)*size.width == dst_step ) in icvConvertDataToSparse()
1360 if( src_type == dst_type ) in icvConvertDataToSparse()
1362 int full_width = CV_ELEM_SIZE(dst_type)*size.width; in icvConvertDataToSparse()
1371 else if( src_type == CV_32SC1 && (dst_type == CV_32FC1 || dst_type == CV_64FC1) ) in icvConvertDataToSparse()
1375 if( dst_type == CV_32FC1 ) in icvConvertDataToSparse()
1382 else if( (src_type == CV_32FC1 || src_type == CV_64FC1) && dst_type == CV_32SC1 ) in icvConvertDataToSparse()
[all …]
/external/mesa3d/src/mesa/main/
DAPIspecutil.py209 dst_type, conversion = _Conversion(func, param)
212 return (param.name, param.type, vec_size, dst_type, valid_values, conversion)
/external/mesa3d/src/gallium/drivers/r600/
Dr600_llvm.c165 emit_data->dst_type, args, c, LLVMReadNoneAttribute); in llvm_emit_tex()
201 emit_data->dst_type = base->elem_type; in dp_fetch_args()
/external/eigen/unsupported/Eigen/
DFFT223 typedef typename ComplexDerived::Scalar dst_type;
228 EIGEN_STATIC_ASSERT((internal::is_same<dst_type, Complex>::value),
292 typedef typename OutputDerived::Scalar dst_type;
293 const bool realfft= (NumTraits<dst_type>::IsComplex == 0);
/external/opencv/cv/include/
Dcv.hpp110 int get_dst_type() const { return dst_type; } in get_dst_type()
136 int min_depth, src_type, dst_type, work_type; member in CvBaseImageFilter

12