/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos_array.c | 59 struct lp_type src_type; local 61 memset(&src_type, 0, sizeof src_type); 62 src_type.floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT; 63 src_type.fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED; 64 src_type.sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED; 65 src_type.norm = format_desc->channel[0].normalized; 66 src_type.width = format_desc->channel[0].size; 67 src_type.length = format_desc->nr_channels; 69 assert(src_type [all...] |
H A D | lp_bld_gather.c | 82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); local 83 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0);
|
H A D | lp_bld_intr.c | 145 struct lp_type src_type, 151 struct lp_type intrin_type = src_type; 155 unsigned intrin_length = intr_size / src_type.width; 159 if (intrin_length > src_type.length) { 163 for (i = 0; i < src_type.length; i++) { 169 if (src_type.length == 1) { 180 if (src_type.length > 1) { 181 constvec = LLVMConstVector(elems, src_type.length); 188 else if (intrin_length < src_type.length) { 189 unsigned num_vec = src_type 143 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, const char *name, struct lp_type src_type, unsigned intr_size, LLVMValueRef a, LLVMValueRef b) argument [all...] |
H A D | lp_bld_swizzle.c | 103 struct lp_type src_type, 111 assert(src_type.floating == dst_type.floating); 112 assert(src_type.width == dst_type.width); 114 assert(lp_check_value(src_type, vector)); 117 if (src_type.length == 1) { 146 LLVMGetUndef(lp_build_vec_type(gallivm, src_type)), 564 struct lp_type src_type, 571 unsigned num_src = src_type.length / 4; 600 struct lp_type src_type, 610 assert(num_dst / 4 <= src_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 D | lp_bld_conv.c | 43 * src_type.width * src_type.length == dst_type.width * dst_type.length 47 * src_type.length * num_srcs == dst_type.length * num_dsts 81 * @param src_type <vector> type of int16 88 struct lp_type src_type, 91 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_type.length); 92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length); 153 struct lp_type src_type, 158 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type); 162 assert(src_type 87 lp_build_half_to_float(struct gallivm_state *gallivm, struct lp_type src_type, LLVMValueRef src) argument 152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, 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 D | lp_bld_pack.c | 184 struct lp_type src_type, 191 assert(src_type.length * num_vectors <= Elements(shuffles)); 194 new_length = src_type.length; 276 struct lp_type src_type, 286 assert(!src_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) { 293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type 182 lp_build_concat(struct gallivm_state *gallivm, LLVMValueRef src[], struct lp_type src_type, unsigned num_vectors) argument 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 747 lp_build_pad_vector(struct gallivm_state *gallivm, LLVMValueRef src, struct lp_type src_type, unsigned dst_length) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_dead_sources.c | 26 unsigned int src_type = rc_source_type_swz(sub->Arg[i].Swizzle); local 27 if (src_type & RC_SOURCE_RGB) { 31 if (src_type & RC_SOURCE_ALPHA) {
|
H A D | radeon_variable.c | 83 unsigned int src_type = rc_source_type_swz( local 95 if (rc_pair_remove_src(reader->Inst, src_type, 102 if (src_type & RC_SOURCE_RGB) { 110 if (src_type & RC_SOURCE_ALPHA) { 121 src_type & RC_SOURCE_RGB, 122 src_type & RC_SOURCE_ALPHA, 128 "Inst %u src_type=%x " 130 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask); 445 unsigned int src_type, 448 if (reader.Inst->Type != src_type) { 443 reader_equals_src( struct rc_reader reader, unsigned int src_type, void * src) argument 458 variable_writes_src( struct rc_variable * var, unsigned int src_type, void * src) argument 473 rc_variable_list_get_writers( struct rc_list * var_list, unsigned int src_type, void * src) argument 504 rc_variable_list_get_writers_one_reader( struct rc_list * var_list, unsigned int src_type, void * src) argument [all...] |
H A D | radeon_compiler_util.c | 378 unsigned int src_type) 385 select->SrcType = src_type; 484 unsigned int src_type = d.Selects[i].SrcType; local 488 src_type &= ~d.Selects[j].SrcType; 491 if (src_type & RC_SOURCE_RGB) { 495 if (src_type & RC_SOURCE_ALPHA) { 556 unsigned int src_type) 564 || src_type != rc_source_type_swz(sub->Arg[i].Swizzle)) { 575 * @param src_type RC_SOURCE_RGB, RC_SOURCE_ALPHA, or both bitwise or'd 585 unsigned int src_type, 374 can_use_presub_data_add_select( struct can_use_presub_data * data, rc_register_file file, unsigned int index, unsigned int src_type) argument 553 get_source_readmask( struct rc_pair_sub_instruction * sub, unsigned int source, unsigned int src_type) argument 583 rc_pair_remove_src( struct rc_instruction * inst, unsigned int src_type, unsigned int source, unsigned int new_readmask) argument [all...] |
H A D | radeon_dataflow.c | 142 unsigned int src_type; local 144 src_type = rc_source_type_swz(sub->Arg[i].Swizzle); 146 if (src_type == RC_SOURCE_NONE) 155 if (src_type & RC_SOURCE_RGB) {
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos_array.c | 59 struct lp_type src_type; local 61 memset(&src_type, 0, sizeof src_type); 62 src_type.floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT; 63 src_type.fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED; 64 src_type.sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED; 65 src_type.norm = format_desc->channel[0].normalized; 66 src_type.width = format_desc->channel[0].size; 67 src_type.length = format_desc->nr_channels; 69 assert(src_type [all...] |
H A D | lp_bld_gather.c | 82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); local 83 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0);
|
H A D | lp_bld_intr.c | 145 struct lp_type src_type, 151 struct lp_type intrin_type = src_type; 155 unsigned intrin_length = intr_size / src_type.width; 159 if (intrin_length > src_type.length) { 163 for (i = 0; i < src_type.length; i++) { 169 if (src_type.length == 1) { 180 if (src_type.length > 1) { 181 constvec = LLVMConstVector(elems, src_type.length); 188 else if (intrin_length < src_type.length) { 189 unsigned num_vec = src_type 143 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, const char *name, struct lp_type src_type, unsigned intr_size, LLVMValueRef a, LLVMValueRef b) argument [all...] |
H A D | lp_bld_swizzle.c | 103 struct lp_type src_type, 111 assert(src_type.floating == dst_type.floating); 112 assert(src_type.width == dst_type.width); 114 assert(lp_check_value(src_type, vector)); 117 if (src_type.length == 1) { 146 LLVMGetUndef(lp_build_vec_type(gallivm, src_type)), 564 struct lp_type src_type, 571 unsigned num_src = src_type.length / 4; 600 struct lp_type src_type, 610 assert(num_dst / 4 <= src_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 D | lp_bld_conv.c | 43 * src_type.width * src_type.length == dst_type.width * dst_type.length 47 * src_type.length * num_srcs == dst_type.length * num_dsts 81 * @param src_type <vector> type of int16 88 struct lp_type src_type, 91 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_type.length); 92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length); 153 struct lp_type src_type, 158 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type); 162 assert(src_type 87 lp_build_half_to_float(struct gallivm_state *gallivm, struct lp_type src_type, LLVMValueRef src) argument 152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, 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 D | lp_bld_pack.c | 184 struct lp_type src_type, 191 assert(src_type.length * num_vectors <= Elements(shuffles)); 194 new_length = src_type.length; 276 struct lp_type src_type, 286 assert(!src_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) { 293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type 182 lp_build_concat(struct gallivm_state *gallivm, LLVMValueRef src[], struct lp_type src_type, unsigned num_vectors) argument 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 747 lp_build_pad_vector(struct gallivm_state *gallivm, LLVMValueRef src, struct lp_type src_type, unsigned dst_length) argument [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_dead_sources.c | 26 unsigned int src_type = rc_source_type_swz(sub->Arg[i].Swizzle); local 27 if (src_type & RC_SOURCE_RGB) { 31 if (src_type & RC_SOURCE_ALPHA) {
|
H A D | radeon_variable.c | 83 unsigned int src_type = rc_source_type_swz( local 95 if (rc_pair_remove_src(reader->Inst, src_type, 102 if (src_type & RC_SOURCE_RGB) { 110 if (src_type & RC_SOURCE_ALPHA) { 121 src_type & RC_SOURCE_RGB, 122 src_type & RC_SOURCE_ALPHA, 128 "Inst %u src_type=%x " 130 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask); 445 unsigned int src_type, 448 if (reader.Inst->Type != src_type) { 443 reader_equals_src( struct rc_reader reader, unsigned int src_type, void * src) argument 458 variable_writes_src( struct rc_variable * var, unsigned int src_type, void * src) argument 473 rc_variable_list_get_writers( struct rc_list * var_list, unsigned int src_type, void * src) argument 504 rc_variable_list_get_writers_one_reader( struct rc_list * var_list, unsigned int src_type, void * src) argument [all...] |
H A D | radeon_compiler_util.c | 378 unsigned int src_type) 385 select->SrcType = src_type; 484 unsigned int src_type = d.Selects[i].SrcType; local 488 src_type &= ~d.Selects[j].SrcType; 491 if (src_type & RC_SOURCE_RGB) { 495 if (src_type & RC_SOURCE_ALPHA) { 556 unsigned int src_type) 564 || src_type != rc_source_type_swz(sub->Arg[i].Swizzle)) { 575 * @param src_type RC_SOURCE_RGB, RC_SOURCE_ALPHA, or both bitwise or'd 585 unsigned int src_type, 374 can_use_presub_data_add_select( struct can_use_presub_data * data, rc_register_file file, unsigned int index, unsigned int src_type) argument 553 get_source_readmask( struct rc_pair_sub_instruction * sub, unsigned int source, unsigned int src_type) argument 583 rc_pair_remove_src( struct rc_instruction * inst, unsigned int src_type, unsigned int source, unsigned int new_readmask) argument [all...] |
H A D | radeon_dataflow.c | 142 unsigned int src_type; local 144 src_type = rc_source_type_swz(sub->Arg[i].Swizzle); 146 if (src_type == RC_SOURCE_NONE) 155 if (src_type & RC_SOURCE_RGB) {
|
/external/chromium_org/content/browser/media/ |
H A D | encrypted_media_browsertest.cc | 93 SrcType src_type, 99 if (src_type == MSE && !IsMSESupported()) { 108 if (src_type == MSE) 116 SrcType src_type) { 121 src_type, 89 RunEncryptedMediaTest(const std::string& html_page, const std::string& media_file, const std::string& media_type, const std::string& key_system, SrcType src_type, const std::string& expectation) argument 113 RunSimpleEncryptedMediaTest(const std::string& media_file, const std::string& media_type, const std::string& key_system, SrcType src_type) argument
|
/external/chromium_org/content/browser/fileapi/ |
H A D | copy_or_move_file_validator_unittest.cc | 46 storage::FileSystemType src_type, 48 : origin_(origin), src_type_(src_type), dest_type_(dest_type) {} 45 CopyOrMoveFileValidatorTestHelper(const GURL& origin, storage::FileSystemType src_type, storage::FileSystemType dest_type) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_conv.c | 55 "src_type\t" 64 struct lp_type src_type, 71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); 73 dump_type(fp, src_type); 85 struct lp_type src_type, 88 fprintf(fp, "src_type="); 89 dump_type(fp, src_type); 101 struct lp_type src_type, unsigned num_srcs, 116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0); 135 lp_build_conv(gallivm, src_type, dst_typ 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 389 const struct lp_type *src_type; local 417 const struct lp_type *src_type; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_conv.c | 55 "src_type\t" 64 struct lp_type src_type, 71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); 73 dump_type(fp, src_type); 85 struct lp_type src_type, 88 fprintf(fp, "src_type="); 89 dump_type(fp, src_type); 101 struct lp_type src_type, unsigned num_srcs, 116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0); 135 lp_build_conv(gallivm, src_type, dst_typ 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 389 const struct lp_type *src_type; local 417 const struct lp_type *src_type; local [all...] |
/external/chromium_org/chrome/browser/media/ |
H A D | encrypted_media_browsertest.cc | 140 SrcType src_type, 145 if (src_type == MSE && !IsMSESupported()) { 153 if (src_type == MSE) 168 SrcType src_type, 178 src_type, 136 RunEncryptedMediaTest(const std::string& html_page, const std::string& media_file, const std::string& media_type, const std::string& key_system, SrcType src_type, EmeVersion eme_version, const std::string& session_to_load, bool force_invalid_response, const std::string& expected_title) argument 165 RunSimpleEncryptedMediaTest(const std::string& media_file, const std::string& media_type, const std::string& key_system, SrcType src_type, EmeVersion eme_version) argument
|