Home
last modified time | relevance | path

Searched refs:component_count (Results 1 – 25 of 45) sorted by relevance

12

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
56 assert(message_.component_count() >= 2 && message_.component_count() <= 4 && in Apply()
63 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {message_.component_count()}}}); in Apply()
Dfuzzer_pass.cpp266 uint32_t component_count) { in FindOrCreateVectorType() argument
267 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
272 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
279 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
Dfuzzer_pass.h142 uint32_t component_count);
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoded_image_packer.cc22 ByteWriter<uint8_t>::WriteBigEndian(buffer + offset, header.component_count); in PackHeader()
47 header.component_count = ByteReader<uint8_t>::ReadBigEndian(buffer + offset); in UnpackHeader()
142 component_count(frame_count), in MultiplexImage()
151 header.component_count = multiplex_image.component_count; in PackAndRelease()
157 kMultiplexImageComponentHeaderSize * header.component_count; in PackAndRelease()
243 RTC_DCHECK_LE(frame_headers.size(), header.component_count); in Unpack()
253 MultiplexImage multiplex_image(header.image_index, header.component_count, in Unpack()
Dmultiplex_encoded_image_packer.h29 uint8_t component_count; member
92 uint8_t component_count; member
98 uint8_t component_count,
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
51 message_.component_count()); in Apply()
Dfuzzer_pass.cpp239 uint32_t component_count) { in FindOrCreateVectorType() argument
240 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
245 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
252 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
Dfuzzer_pass.h166 uint32_t component_count);
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp27 uint32_t fresh_id, uint32_t component_type_id, uint32_t component_count) { in TransformationAddTypeVector() argument
30 message_.set_component_count(component_count); in TransformationAddTypeVector()
51 message_.component_count()); in Apply()
Dfuzzer_pass.cpp239 uint32_t component_count) { in FindOrCreateVectorType() argument
240 assert(component_count >= 2 && component_count <= 4 && in FindOrCreateVectorType()
245 opt::analysis::Vector vector_type(component_type, component_count); in FindOrCreateVectorType()
252 TransformationAddTypeVector(result, component_type_id, component_count)); in FindOrCreateVectorType()
Dtransformation_add_type_vector.h32 uint32_t component_count);
/external/webrtc/modules/video_coding/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc267 EXPECT_EQ(1, unpacked_frame.component_count); in TEST_P()
286 EXPECT_EQ(2, unpacked_frame.component_count); in TEST_P()
288 unpacked_frame.component_count); in TEST_P()
289 for (int i = 0; i < unpacked_frame.component_count; ++i) { in TEST_P()
/external/mesa3d/src/panfrost/bifrost/
Dbir.c133 unsigned component_count = bi_get_component_count(ins, s); in bi_bytemask_of_read_components() local
139 for (unsigned i = 0; i < component_count; ++i) { in bi_bytemask_of_read_components()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
149 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2709 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2710 if (!component_count || component_count > 4) { in ValidateExtInst()
2723 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2724 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2726 if (!component_count->word(3)) { in ValidateExtInst()
2729 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2730 (OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2732 OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2734 auto* component_count_type = _.FindDef(component_count->word(6)); in ValidateExtInst()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
149 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2694 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2695 if (!component_count || component_count > 4) { in ValidateExtInst()
2708 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2709 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2711 if (!component_count->word(3)) { in ValidateExtInst()
2714 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2715 (OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2717 OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2719 auto* component_count_type = _.FindDef(component_count->word(6)); in ValidateExtInst()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_constants.cpp50 const auto component_count = result_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
51 if (component_count != constituent_count) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite() local
149 if (component_count != vector->words()[3]) { in ValidateConstantComposite()
Dvalidate_extensions.cpp2718 uint32_t component_count = inst->word(6); in ValidateExtInst() local
2719 if (!component_count || component_count > 4) { in ValidateExtInst()
2732 auto* component_count = _.FindDef(inst->word(i)); in ValidateExtInst() local
2733 if (IsConstIntScalarTypeWith32Or64Bits(_, component_count)) { in ValidateExtInst()
2735 if (!component_count->word(3)) { in ValidateExtInst()
2738 } else if (component_count->words().size() > 6 && in ValidateExtInst()
2739 (OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2741 OpenCLDebugInfo100Instructions(component_count->word( in ValidateExtInst()
2743 auto* component_count_type = _.FindDef(component_count->word(6)); in ValidateExtInst()
/external/ImageMagick/coders/
Dpict.c102 component_count, member
793 pixmap->component_count=(short) ReadBlobMSBShort(image); in ReadPixmap()
799 (pixmap->bits_per_pixel > 32) || (pixmap->component_count <= 0) || in ReadPixmap()
800 (pixmap->component_count > 4) || (pixmap->component_size <= 0)) in ReadPixmap()
904 pixmap.component_count=0; in ReadPICTImage()
1186 tile_image->alpha_trait=pixmap.component_count == 4 ? in ReadPICTImage()
1346 p+=(pixmap.component_count-1)*tile_image->columns; in ReadPICTImage()
1755 pixmap.component_count=1; in WritePICTImage()
1779 pixmap.component_count=image->alpha_trait != UndefinedPixelTrait ? 4 : 3; in WritePICTImage()
1988 (void) WriteBlobMSBShort(image,(unsigned short) pixmap.component_count); in WritePICTImage()
/external/deqp-deps/amber/src/
Dtype_parser_test.cc29 uint8_t component_count; in TEST_F() member
1193 for (size_t i = 0; i < data.component_count; ++i) { in TEST_F()
1201 ASSERT_TRUE(data.component_count <= segs.size()) << data.name; in TEST_F()
1203 for (size_t i = 0; i < data.component_count; ++i) { in TEST_F()
1209 if (data.component_count < segs.size()) { in TEST_F()
1211 EXPECT_EQ(1u, segs.size() - data.component_count); in TEST_F()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.h314 unsigned component_count);
318 unsigned component_count);
Dspirv_builder.c972 unsigned component_count) in spirv_builder_type_vector() argument
974 assert(component_count > 1); in spirv_builder_type_vector()
975 uint32_t args[] = { component_type, component_count }; in spirv_builder_type_vector()
981 unsigned component_count) in spirv_builder_type_matrix() argument
983 assert(component_count > 1); in spirv_builder_type_matrix()
984 uint32_t args[] = { component_type, component_count }; in spirv_builder_type_matrix()

12