Searched defs:dst_type (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c44 * \param dst_type output type
51 struct lp_type dst_type,
69 assert(src_type.length <= dst_type.length);
90 if (src_type.length < dst_type.length) {
91 res = lp_build_pad_vector(gallivm, res, src_type, dst_type.length);
92 src_type.length = dst_type.length;
96 lp_build_conv(gallivm, src_type, dst_type, &res, 1, &res, 1);
99 lp_build_context_init(&bld, gallivm, dst_type);
49 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm, const struct util_format_description *format_desc, struct lp_type dst_type, LLVMValueRef base_ptr, LLVMValueRef offset) argument
H A Dlp_bld_tgsi_action.h64 LLVMTypeRef dst_type; member in struct:lp_build_emit_data
93 * 3. Setting the destination type in emit_data->dst_type (usually only
H A Dlp_bld_format_soa.c259 struct lp_type dst_type,
264 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff);
268 lp_build_int_vec_type(gallivm, dst_type), "");
280 lp_build_const_int_vec(gallivm, dst_type, start), "");
285 input = lp_build_unsigned_norm_to_float(gallivm, 8, dst_type, input);
258 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, struct lp_type dst_type, LLVMValueRef packed, LLVMValueRef *rgba) argument
H A Dlp_bld_swizzle.c104 struct lp_type dst_type,
111 assert(src_type.floating == dst_type.floating);
112 assert(src_type.width == dst_type.width);
118 if (dst_type.length == 1) {
131 lp_build_vec_type(gallivm, dst_type),
136 if (dst_type.length > 1) {
143 LLVMVectorType(i32t, dst_type.length),
565 struct lp_type dst_type,
572 unsigned num_dst = dst_type.length;
601 struct lp_type dst_type,
102 lp_build_extract_broadcast(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef vector, LLVMValueRef index) argument
563 lp_build_pack_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src) argument
599 lp_build_unpack_broadcast_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src) argument
[all...]
H A Dlp_bld_conv.c43 * src_type.width * src_type.length == dst_type.width * dst_type.length
47 * src_type.length * num_srcs == dst_type.length * num_dsts
277 struct lp_type dst_type,
281 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type);
282 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type);
292 assert(dst_type.floating);
294 mantissa = lp_mantissa(dst_type);
306 lp_build_const_vec(gallivm, dst_type, scale), "");
327 lp_build_const_int_vec(gallivm, dst_type, shif
275 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, unsigned src_width, struct lp_type dst_type, LLVMValueRef src) argument
353 lp_build_conv(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
720 lp_build_conv_mask(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
[all...]
H A Dlp_bld_pack.c277 struct lp_type dst_type,
287 assert(!dst_type.floating);
288 assert(dst_type.width == src_type.width * 2);
289 assert(dst_type.length * 2 == src_type.length);
291 if(dst_type.sign && src_type.sign) {
310 dst_vec_type = lp_build_vec_type(gallivm, dst_type);
326 struct lp_type dst_type,
334 assert(src_type.width * src_type.length == dst_type.width * dst_type.length);
337 assert(src_type.length == dst_type
275 lp_build_unpack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) argument
324 lp_build_unpack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst, unsigned num_dsts) argument
378 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
499 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
543 lp_build_pack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, boolean clamped, const LLVMValueRef *src, unsigned num_srcs) argument
603 lp_build_resize(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c44 * \param dst_type output type
51 struct lp_type dst_type,
69 assert(src_type.length <= dst_type.length);
90 if (src_type.length < dst_type.length) {
91 res = lp_build_pad_vector(gallivm, res, src_type, dst_type.length);
92 src_type.length = dst_type.length;
96 lp_build_conv(gallivm, src_type, dst_type, &res, 1, &res, 1);
99 lp_build_context_init(&bld, gallivm, dst_type);
49 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm, const struct util_format_description *format_desc, struct lp_type dst_type, LLVMValueRef base_ptr, LLVMValueRef offset) argument
H A Dlp_bld_tgsi_action.h64 LLVMTypeRef dst_type; member in struct:lp_build_emit_data
93 * 3. Setting the destination type in emit_data->dst_type (usually only
H A Dlp_bld_format_soa.c259 struct lp_type dst_type,
264 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff);
268 lp_build_int_vec_type(gallivm, dst_type), "");
280 lp_build_const_int_vec(gallivm, dst_type, start), "");
285 input = lp_build_unsigned_norm_to_float(gallivm, 8, dst_type, input);
258 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, struct lp_type dst_type, LLVMValueRef packed, LLVMValueRef *rgba) argument
H A Dlp_bld_swizzle.c104 struct lp_type dst_type,
111 assert(src_type.floating == dst_type.floating);
112 assert(src_type.width == dst_type.width);
118 if (dst_type.length == 1) {
131 lp_build_vec_type(gallivm, dst_type),
136 if (dst_type.length > 1) {
143 LLVMVectorType(i32t, dst_type.length),
565 struct lp_type dst_type,
572 unsigned num_dst = dst_type.length;
601 struct lp_type dst_type,
102 lp_build_extract_broadcast(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef vector, LLVMValueRef index) argument
563 lp_build_pack_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src) argument
599 lp_build_unpack_broadcast_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src) argument
[all...]
H A Dlp_bld_conv.c43 * src_type.width * src_type.length == dst_type.width * dst_type.length
47 * src_type.length * num_srcs == dst_type.length * num_dsts
277 struct lp_type dst_type,
281 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type);
282 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type);
292 assert(dst_type.floating);
294 mantissa = lp_mantissa(dst_type);
306 lp_build_const_vec(gallivm, dst_type, scale), "");
327 lp_build_const_int_vec(gallivm, dst_type, shif
275 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, unsigned src_width, struct lp_type dst_type, LLVMValueRef src) argument
353 lp_build_conv(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
720 lp_build_conv_mask(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
[all...]
H A Dlp_bld_pack.c277 struct lp_type dst_type,
287 assert(!dst_type.floating);
288 assert(dst_type.width == src_type.width * 2);
289 assert(dst_type.length * 2 == src_type.length);
291 if(dst_type.sign && src_type.sign) {
310 dst_vec_type = lp_build_vec_type(gallivm, dst_type);
326 struct lp_type dst_type,
334 assert(src_type.width * src_type.length == dst_type.width * dst_type.length);
337 assert(src_type.length == dst_type
275 lp_build_unpack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) argument
324 lp_build_unpack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst, unsigned num_dsts) argument
378 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
499 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
543 lp_build_pack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, boolean clamped, const LLVMValueRef *src, unsigned num_srcs) argument
603 lp_build_resize(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A Dradeon_llvm.h123 LLVMTypeRef dst_type; local
128 dst_type = LLVMInt32TypeInContext(ctx);
132 dst_type = LLVMFloatTypeInContext(ctx);
135 dst_type = 0;
139 if (dst_type)
140 return LLVMBuildBitCast(builder, value, dst_type, "");
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_llvm.h123 LLVMTypeRef dst_type; local
128 dst_type = LLVMInt32TypeInContext(ctx);
132 dst_type = LLVMFloatTypeInContext(ctx);
135 dst_type = 0;
139 if (dst_type)
140 return LLVMBuildBitCast(builder, value, dst_type, "");
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c56 "dst_type\n");
65 struct lp_type dst_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
76 dump_type(fp, dst_type);
86 struct lp_type dst_type)
91 fprintf(fp, " dst_type=");
92 dump_type(fp, dst_type);
102 struct lp_type dst_type, unsigned num_dsts)
117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0);
135 lp_build_conv(gallivm, src_type, dst_type, sr
63 write_tsv_row(FILE *fp, struct lp_type src_type, struct lp_type dst_type, double cycles, boolean success) argument
84 dump_conv_types(FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument
100 add_conv_test(struct gallivm_state *gallivm, struct lp_type src_type, unsigned num_srcs, struct lp_type dst_type, unsigned num_dsts) argument
153 test_one(unsigned verbose, FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument
390 const struct lp_type *dst_type; local
418 const struct lp_type *dst_type; local
[all...]
/external/libcxxabi/src/
H A Dprivate_typeinfo.cpp416 // dst_type: destination type of the cast (the "T" in "dynamic_cast<T>(v)").
421 // -2: static_type is not a public base of dst_type
425 // base type of dst_type at offset src2dst_offset from the
426 // origin of dst_type.
441 // There are two flavors of nodes which have the type dst_type:
450 // or may not go through a node having type dst_type.
453 // there is only one node with dynamic_type. And if dynamic_type == dst_type,
454 // then there is only one dst_type in the DAG.
456 // No node of type dst_type appears above a node of type static_type. Such
458 // compile time, and only calls __dynamic_cast when dst_type lie
486 __dynamic_cast(const void* static_ptr, const __class_type_info* static_type, const __class_type_info* dst_type, std::ptrdiff_t src2dst_offset) argument
[all...]
H A Dprivate_typeinfo.h79 const __class_type_info* dst_type; member in struct:__cxxabiv1::__dynamic_cast_info
86 // pointer to a dst_type which has (static_ptr, static_type) above it
88 // pointer to a dst_type which does not have (static_ptr, static_type) above it
95 // when there is no dst_type along the path
97 // access of path from (dynamic_ptr, dynamic_type) to dst_type
98 // (not used if there is a (static_ptr, static_type) above a dst_type).
110 // Number of dst_type in tree. If 0, then that means unknown.
112 // communicates to a dst_type node that (static_ptr, static_type) was found
115 // communicates to a dst_type node that a static_type was found
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c56 "dst_type\n");
65 struct lp_type dst_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
76 dump_type(fp, dst_type);
86 struct lp_type dst_type)
91 fprintf(fp, " dst_type=");
92 dump_type(fp, dst_type);
102 struct lp_type dst_type, unsigned num_dsts)
117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0);
135 lp_build_conv(gallivm, src_type, dst_type, sr
63 write_tsv_row(FILE *fp, struct lp_type src_type, struct lp_type dst_type, double cycles, boolean success) argument
84 dump_conv_types(FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument
100 add_conv_test(struct gallivm_state *gallivm, struct lp_type src_type, unsigned num_srcs, struct lp_type dst_type, unsigned num_dsts) argument
153 test_one(unsigned verbose, FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument
390 const struct lp_type *dst_type; local
418 const struct lp_type *dst_type; local
[all...]
/external/opencv/cv/src/
H A Dcvderiv.cpp188 int src_type, dst_type; local
201 dst_type = CV_MAT_TYPE( dst->type );
208 (src_type == CV_8UC1 && dst_type == CV_16SC1/* ||
209 src_type == CV_32FC1 && dst_type == CV_32FC1*/) )
338 CV_CALL( filter.init_deriv( src->cols, src_type, dst_type, dx, dy,
385 int dst_depth = CV_MAT_DEPTH(dst_type);
387 work_type = CV_MAKETYPE( work_depth, CV_MAT_CN(dst_type)*2 );
810 int src_type, dst_type; local
816 dst_type = CV_MAT_TYPE(dst->type);
819 (src_type == CV_8UC1 && dst_type
[all...]
/external/opencv/cv/include/
H A Dcv.hpp110 int get_dst_type() const { return dst_type; }
136 int min_depth, src_type, dst_type, work_type; member in class:CvBaseImageFilter
/external/opencv/ml/src/
H A Dml_inner_functions.cpp1331 uchar* dst, int dst_step, int dst_type,
1340 dst_type = CV_MAT_TYPE(dst_type);
1342 if( CV_MAT_CN(src_type) != 1 || CV_MAT_CN(dst_type) != 1 )
1349 dst_step = CV_ELEM_SIZE(dst_type);
1354 CV_ELEM_SIZE(dst_type)*size.width == dst_step )
1360 if( src_type == dst_type )
1362 int full_width = CV_ELEM_SIZE(dst_type)*size.width;
1371 else if( src_type == CV_32SC1 && (dst_type == CV_32FC1 || dst_type
1330 icvConvertDataToSparse( const uchar* src, int src_step, int src_type, uchar* dst, int dst_step, int dst_type, CvSize size, int* idx ) argument
[all...]
/external/chromium_org/v8/src/arm/
H A Dassembler-arm.cc2748 // Encode vcvt.src_type.dst_type instruction.
2749 static Instr EncodeVCVT(const VFPType dst_type, argument
2755 DCHECK(src_type != dst_type);
2758 SplitRegCode(dst_type, dst_code, &Vd, &D);
2760 if (IsIntegerVFPType(dst_type) || IsIntegerVFPType(src_type)) {
2765 DCHECK(!IsIntegerVFPType(dst_type) || !IsIntegerVFPType(src_type));
2769 if (IsIntegerVFPType(dst_type)) {
2770 opc2 = IsSignedVFPType(dst_type) ? 0x5 : 0x4;
2776 sz = IsDoubleVFPType(dst_type) ? 0x1 : 0x0;

Completed in 571 milliseconds