/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_conv.c | 65 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/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_test_conv.c | 65 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
D | lp_bld_pack.c | 277 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 …]
|
D | lp_bld_conv.c | 277 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 …]
|
D | lp_bld_format_aos_array.c | 51 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()
|
D | lp_bld_pack.h | 65 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,
|
D | lp_bld_conv.h | 59 struct lp_type dst_type, 66 struct lp_type dst_type, 73 struct lp_type dst_type,
|
D | lp_bld_swizzle.c | 104 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 …]
|
D | lp_bld_swizzle.h | 64 struct lp_type dst_type, 119 struct lp_type dst_type, 126 struct lp_type dst_type,
|
D | lp_bld_format_soa.c | 259 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()
|
D | lp_bld_tgsi_action.h | 64 LLVMTypeRef dst_type; member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_pack.c | 277 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 …]
|
D | lp_bld_conv.c | 277 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 …]
|
D | lp_bld_format_aos_array.c | 51 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()
|
D | lp_bld_pack.h | 65 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,
|
D | lp_bld_conv.h | 59 struct lp_type dst_type, 66 struct lp_type dst_type, 73 struct lp_type dst_type,
|
D | lp_bld_swizzle.c | 104 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 …]
|
D | lp_bld_swizzle.h | 64 struct lp_type dst_type, 119 struct lp_type dst_type, 126 struct lp_type dst_type,
|
D | lp_bld_format_soa.c | 259 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()
|
D | lp_bld_tgsi_action.h | 64 LLVMTypeRef dst_type; member
|
/external/pixman/pixman/ |
D | pixman-mips-dspr2.h | 53 dst_type, dst_cnt) \ argument 55 pixman_composite_##name##_asm_mips (dst_type *dst, \ 64 dst_type *dst_line, *dst; \ 71 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \ 91 dst_type, dst_cnt) \ argument 93 pixman_composite_##name##_asm_mips (dst_type *dst, \ 102 dst_type *dst_line, *dst; \ 112 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \ 128 dst_type, dst_cnt) \ argument 130 pixman_composite_##name##_asm_mips (dst_type *dst, \ [all …]
|
D | pixman-arm-common.h | 55 dst_type, dst_cnt) \ argument 59 dst_type *dst, \ 69 dst_type *dst_line; \ 75 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \ 84 dst_type, dst_cnt) \ argument 88 dst_type *dst, \ 97 dst_type *dst_line; \ 107 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \ 117 dst_type, dst_cnt) \ argument 121 dst_type *dst, \ [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | radeon_llvm.h | 123 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/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_llvm.h | 123 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/opencv/cv/src/ |
D | cvderiv.cpp | 188 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()
|