Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dsection_parser.cc45 NodeType* section_type, in NameToNodeType() argument
48 assert(section_type); in NameToNodeType()
76 *section_type = NodeType::kComment; in NameToNodeType()
78 *section_type = NodeType::kIndices; in NameToNodeType()
80 *section_type = NodeType::kRequire; in NameToNodeType()
82 *section_type = NodeType::kTest; in NameToNodeType()
84 *section_type = NodeType::kVertexData; in NameToNodeType()
86 *section_type = NodeType::kShader; in NameToNodeType()
91 *section_type = NodeType::kShader; in NameToNodeType()
96 *section_type = NodeType::kShader; in NameToNodeType()
[all …]
Dsection_parser_test.cc48 EXPECT_EQ(NodeType::kShader, sections[0].section_type); in TEST_F()
63 EXPECT_EQ(NodeType::kShader, sections[0].section_type); in TEST_F()
100 EXPECT_EQ(NodeType::kShader, sections[0].section_type); in TEST_F()
106 EXPECT_EQ(NodeType::kShader, sections[1].section_type); in TEST_F()
112 EXPECT_EQ(NodeType::kShader, sections[2].section_type); in TEST_F()
118 EXPECT_EQ(NodeType::kIndices, sections[3].section_type); in TEST_F()
123 EXPECT_EQ(NodeType::kTest, sections[4].section_type); in TEST_F()
137 EXPECT_EQ(NodeType::kShader, sections[0].section_type); in TEST_F()
152 EXPECT_EQ(NodeType::kShader, sections[0].section_type); in TEST_F()
188 NodeType section_type; in TEST_F() member
[all …]
Dsection_parser.h43 NodeType section_type; member
63 NodeType* section_type, in NameToNodeTypeForTesting() argument
66 return NameToNodeType(name, section_type, shader_type, fmt); in NameToNodeTypeForTesting()
71 void AddSection(NodeType section_type,
77 NodeType* section_type,
Dparser.cc79 if (!SectionParser::HasShader(section.section_type)) in GenerateDefaultPipeline()
113 if (section.section_type == NodeType::kComment) in ProcessSection()
116 if (SectionParser::HasShader(section.section_type)) in ProcessSection()
118 if (section.section_type == NodeType::kRequire) in ProcessSection()
120 if (section.section_type == NodeType::kIndices) in ProcessSection()
122 if (section.section_type == NodeType::kVertexData) in ProcessSection()
124 if (section.section_type == NodeType::kTest) in ProcessSection()
131 assert(SectionParser::HasShader(section.section_type)); in ProcessShaderBlock()
/third_party/ffmpeg/libavcodec/
Dhapqa_extract_bsf.c38 static int check_texture(HapqaExtractContext *ctx, int section_type) { in check_texture() argument
39 if (((ctx->texture == 0)&&((section_type & 0x0F) == 0x0F)) || /* HapQ texture and rgb extract */ in check_texture()
40 …((ctx->texture == 1)&&((section_type & 0x0F) == 0x01))) /* HapAlphaOnly texture and alpha extract … in check_texture()
53 enum HapSectionType section_type; in hapqa_extract() local
63 ret = ff_hap_parse_section_header(&gbc, &section_size, &section_type); in hapqa_extract()
67 if ((section_type & 0x0F) != 0x0D) { in hapqa_extract()
68 av_log(bsf, AV_LOG_ERROR, "Invalid section type for HAPQA %#04x.\n", section_type & 0x0F); in hapqa_extract()
77 ret = ff_hap_parse_section_header(&gbc, &section_size, &section_type); in hapqa_extract()
83 if (check_texture(ctx, section_type) == 0) { /* the texture is not the one to keep */ in hapqa_extract()
86 ret = ff_hap_parse_section_header(&gbc, &section_size, &section_type); in hapqa_extract()
[all …]
Dhapdec.c50 enum HapSectionType section_type; in hap_parse_decode_instructions() local
56 ret = ff_hap_parse_section_header(gbc, &section_size, &section_type); in hap_parse_decode_instructions()
62 switch (section_type) { in hap_parse_decode_instructions()
135 enum HapSectionType section_type; in hap_parse_frame_header() local
139 ret = ff_hap_parse_section_header(gbc, &ctx->texture_section_size, &section_type); in hap_parse_frame_header()
143 if ((avctx->codec_tag == MKTAG('H','a','p','1') && (section_type & 0x0F) != HAP_FMT_RGBDXT1) || in hap_parse_frame_header()
144 (avctx->codec_tag == MKTAG('H','a','p','5') && (section_type & 0x0F) != HAP_FMT_RGBADXT5) || in hap_parse_frame_header()
145 … (avctx->codec_tag == MKTAG('H','a','p','Y') && (section_type & 0x0F) != HAP_FMT_YCOCGDXT5) || in hap_parse_frame_header()
146 (avctx->codec_tag == MKTAG('H','a','p','A') && (section_type & 0x0F) != HAP_FMT_RGTC1) || in hap_parse_frame_header()
147 ((avctx->codec_tag == MKTAG('H','a','p','M') && (section_type & 0x0F) != HAP_FMT_RGTC1) && in hap_parse_frame_header()
[all …]
Dhap.c58 enum HapSectionType *section_type) in ff_hap_parse_section_header() argument
64 *section_type = bytestream2_get_byte(gbc); in ff_hap_parse_section_header()
Dhap.h110 enum HapSectionType *section_type);
Dhapenc.c78 enum HapSectionType section_type) in hap_write_section_header() argument
85 bytestream2_put_byte(pbc, section_type); in hap_write_section_header()
/third_party/mesa3d/.gitlab-ci/tests/lava/
Dhelpers.py15 def section_timeout(section_type: LogSectionType) -> int:
18 section_type, FALLBACK_GITLAB_SECTION_TIMEOUT
59 for section_type in LogSectionType:
60 delay = messages.get(section_type, default)
61 yield mock_lava_signal(section_type), delay
62 if result and section_type == result_message_section:
69 for section_type in LogSectionType:
70 yield mock_lava_signal(section_type)
/third_party/mesa3d/.gitlab-ci/lava/utils/
Dlog_section.py45 section_type: LogSectionType
60 type=self.section_type,
71 section_type=LogSectionType.TEST_CASE,
78 section_type=LogSectionType.TEST_SUITE,
86 section_type=LogSectionType.LAVA_POST_PROCESSING,
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgstmpegtssection.c207 GST_DEBUG ("Freeing section type %d", section->section_type); in _gst_mpegts_section_free()
227 copy->section_type = section->section_type; in _gst_mpegts_section_copy()
294 switch (section->section_type) { in _mpegts_section_get_structure()
517 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_PAT, NULL); in gst_mpegts_section_get_pat()
789 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_PMT, NULL); in gst_mpegts_section_get_pmt()
995 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_CAT, NULL); in gst_mpegts_section_get_cat()
1024 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_TSDT, NULL); in gst_mpegts_section_get_tsdt()
1131 section->section_type = _identify_section (pid, table_id); in _gst_mpegts_section_init()
1150 switch (section->section_type) { in _packetize_common_section()
Dgstmpegtssection.h37 #define GST_MPEGTS_SECTION_TYPE(section) (GST_MPEGTS_SECTION (section)->section_type)
202 GstMpegtsSectionType section_type; member
Dgst-dvb-section.c300 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_EIT, NULL); in gst_mpegts_section_get_eit()
475 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_BAT, NULL); in gst_mpegts_section_get_bat()
655 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_NIT, NULL); in gst_mpegts_section_get_nit()
982 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_SDT, NULL); in gst_mpegts_section_get_sdt()
1171 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_TDT, NULL); in gst_mpegts_section_get_tdt()
1246 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_TOT, NULL); in gst_mpegts_section_get_tot()
1402 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_SIT, NULL); in gst_mpegts_section_get_sit()
Dgst-atsc-section.c264 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_TVCT, in gst_mpegts_section_get_atsc_tvct()
288 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_CVCT, in gst_mpegts_section_get_atsc_cvct()
557 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_MGT, in gst_mpegts_section_get_atsc_mgt()
1057 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_EIT, in gst_mpegts_section_get_atsc_eit()
1144 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_ETT, in gst_mpegts_section_get_atsc_ett()
1314 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_STT, in gst_mpegts_section_get_atsc_stt()
1690 g_return_val_if_fail (section->section_type == GST_MPEGTS_SECTION_ATSC_RRT, in gst_mpegts_section_get_atsc_rrt()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dbitcode.cpp75 enum binary::section::type section_type) { in build_module_library() argument
78 b.secs.emplace_back(0, section_type, code.size(), code); in build_module_library()
/third_party/libabigail/src/
Dabg-elf-helpers.h71 Elf64_Word section_type);
77 find_section(Elf* elf_handle, Elf64_Word section_type);
Dabg-elf-helpers.cc344 find_section(Elf* elf_handle, const std::string& name, Elf64_Word section_type) in find_section() argument
355 if (header == NULL || header->sh_type != section_type) in find_section()
377 find_section(Elf* elf_handle, Elf64_Word section_type) in find_section() argument
384 if (header->sh_type == section_type) in find_section()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dcodegen.hpp46 enum binary::section::type section_type);
/third_party/ltp/testcases/kernel/mce-test/tsrc/erst-inj/
Dcper.h137 lguid_t section_type; member
Derst-inject.c116 sec_hdr->section_type = CPER_SEC_PLATFORM_MEM; in inject()
/third_party/mesa3d/src/gallium/frontends/clover/spirv/
Dinvocation.cpp124 enum binary::section::type section_type) { in make_text_section() argument
126 binary::section text { 0, section_type, header.num_bytes, {} }; in make_text_section()
824 const auto section_type = create_library ? binary::section::text_library : in link_program() local
882 b.secs.emplace_back(make_text_section(final_binary, section_type)); in link_program()
/third_party/gstreamer/gstplugins_good/ext/raw1394/
Dgstdv1394src.c484 int section_type = p[0] >> 5; /* section type is in bits 5 - 7 */ in gst_dv1394src_iso_receive() local
491 if (section_type == 0 && dif_sequence == 0) { // dif header in gst_dv1394src_iso_receive()
547 switch (section_type) { in gst_dv1394src_iso_receive()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmux.c350 section->section_type); in tsmux_add_mpegts_si_section()
356 GINT_TO_POINTER (section->section_type), tsmux_section); in tsmux_add_mpegts_si_section()
1292 section->section_type); in tsmux_send_section()
/third_party/elfio/elfio/
Delfio.hpp276 Elf_Xword get_default_entry_size( Elf_Word section_type ) const noexcept in get_default_entry_size()
278 switch ( section_type ) { in get_default_entry_size()

12