Home
last modified time | relevance | path

Searched refs:preamble (Results 1 – 25 of 130) sorted by relevance

123456

/third_party/ffmpeg/libavformat/
Didroqdec.c75 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE]; in roq_read_header() local
78 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != in roq_read_header()
81 roq->frame_rate = AV_RL16(&preamble[6]); in roq_read_header()
103 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE]; in roq_read_packet() local
113 if ((ret = avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE)) != in roq_read_packet()
117 chunk_type = AV_RL16(&preamble[0]); in roq_read_packet()
118 chunk_size = AV_RL32(&preamble[2]); in roq_read_packet()
137 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != RoQ_CHUNK_PREAMBLE_SIZE) in roq_read_packet()
139 st->codecpar->width = roq->width = AV_RL16(preamble); in roq_read_packet()
140 st->codecpar->height = roq->height = AV_RL16(preamble + 2); in roq_read_packet()
[all …]
Dflic.c94 unsigned char preamble[FLIC_PREAMBLE_SIZE]; in flic_read_header() local
133 if (avio_read(pb, preamble, FLIC_PREAMBLE_SIZE) != FLIC_PREAMBLE_SIZE) { in flic_read_header()
146 if (AV_RL16(&preamble[4]) == FLIC_TFTD_CHUNK_AUDIO) { in flic_read_header()
155 ast->codecpar->block_align = AV_RL32(&preamble[0]); in flic_read_header()
204 unsigned char preamble[FLIC_PREAMBLE_SIZE]; in flic_read_packet() local
209 if ((ret = avio_read(pb, preamble, FLIC_PREAMBLE_SIZE)) != in flic_read_packet()
215 size = AV_RL32(&preamble[0]); in flic_read_packet()
216 magic = AV_RL16(&preamble[4]); in flic_read_packet()
224 memcpy(pkt->data, preamble, FLIC_PREAMBLE_SIZE); in flic_read_packet()
Dwestwood_aud.c133 unsigned char preamble[AUD_CHUNK_PREAMBLE_SIZE]; in wsaud_read_packet() local
138 if (avio_read(pb, preamble, AUD_CHUNK_PREAMBLE_SIZE) != in wsaud_read_packet()
143 if (AV_RL32(&preamble[4]) != AUD_CHUNK_SIGNATURE) in wsaud_read_packet()
146 chunk_size = AV_RL16(&preamble[0]); in wsaud_read_packet()
153 int out_size = AV_RL16(&preamble[2]); in wsaud_read_packet()
Dmm.c143 unsigned char preamble[MM_PREAMBLE_SIZE]; in read_packet() local
149 if (avio_read(pb, preamble, MM_PREAMBLE_SIZE) != MM_PREAMBLE_SIZE) { in read_packet()
153 type = AV_RL16(&preamble[0]); in read_packet()
154 length = AV_RL16(&preamble[2]); in read_packet()
167 memcpy(pkt->data, preamble, MM_PREAMBLE_SIZE); in read_packet()
Dwestwood_vqa.c164 uint8_t preamble[VQA_PREAMBLE_SIZE]; in wsvqa_read_packet() local
169 while (avio_read(pb, preamble, VQA_PREAMBLE_SIZE) == VQA_PREAMBLE_SIZE) { in wsvqa_read_packet()
170 chunk_type = AV_RB32(&preamble[0]); in wsvqa_read_packet()
171 chunk_size = AV_RB32(&preamble[4]); in wsvqa_read_packet()
/third_party/mesa3d/src/util/indices/
Du_unfilled_gen.py129 def preamble(intype, outtype, prim): function
152 preamble(intype, outtype, prim='tris')
160 preamble(intype, outtype, prim='tristrip')
168 preamble(intype, outtype, prim='trifan')
177 preamble(intype, outtype, prim='polygon')
185 preamble(intype, outtype, prim='quads')
193 preamble(intype, outtype, prim='quadstrip')
201 preamble(intype, outtype, prim='trisadj')
209 preamble(intype, outtype, prim='tristripadj')
Du_indices_gen.py189 def preamble(intype, outtype, inpv, outpv, pr, prim): function
229 preamble(intype, outtype, inpv, outpv, pr, prim='points')
236 preamble(intype, outtype, inpv, outpv, pr, prim='lines')
243 preamble(intype, outtype, inpv, outpv, pr, prim='linestrip')
250 preamble(intype, outtype, inpv, outpv, pr, prim='lineloop')
269 preamble(intype, outtype, inpv, outpv, pr, prim='tris')
277 preamble(intype, outtype, inpv, outpv, pr, prim='tristrip')
288 preamble(intype, outtype, inpv, outpv, pr, prim='trifan')
307 preamble(intype, outtype, inpv, outpv, pr, prim='polygon')
323 preamble(intype, outtype, inpv, outpv, pr, prim='quads')
[all …]
/third_party/node/test/parallel/
Dtest-worker-track-unmanaged-fds.js14 const preamble = ` constant
24 const w = new Worker(`${preamble}
35 const w = new Worker(`${preamble}
45 const w = new Worker(`${preamble}
55 const w = new Worker(`${preamble}
72 const w = new Worker(`${preamble}
/third_party/rust/crates/clap/clap_complete/src/shells/
Dpowershell.rs84 let preamble = String::from("\n [CompletionResult]::new("); in generate_inner() localVariable
90 completions.push_str(&preamble); in generate_inner()
104 completions.push_str(&preamble); in generate_inner()
120 completions.push_str(&preamble); in generate_inner()
134 completions.push_str(&preamble); in generate_inner()
150 completions.push_str(&preamble); in generate_inner()
Delvish.rs79 let preamble = String::from("\n cand "); in generate_inner() localVariable
85 completions.push_str(&preamble); in generate_inner()
93 completions.push_str(&preamble); in generate_inner()
103 completions.push_str(&preamble); in generate_inner()
111 completions.push_str(&preamble); in generate_inner()
121 completions.push_str(&preamble); in generate_inner()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_preamble.c40 if (entrypoint->preamble) { in nir_shader_get_preamble()
41 return entrypoint->preamble->impl; in nir_shader_get_preamble()
43 nir_function *preamble = nir_function_create(shader, "@preamble"); in nir_shader_get_preamble() local
44 preamble->is_preamble = true; in nir_shader_get_preamble()
45 nir_function_impl *impl = nir_function_impl_create(preamble); in nir_shader_get_preamble()
46 entrypoint->preamble = preamble; in nir_shader_get_preamble()
518 nir_function_impl *preamble = in nir_opt_preamble() local
522 nir_builder_init(b, preamble); in nir_opt_preamble()
523 b->cursor = nir_before_cf_list(&preamble->body); in nir_opt_preamble()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_opt_preamble.c301 if (!main->preamble) in ir3_nir_lower_preamble()
304 nir_function_impl *preamble = main->preamble->impl; in ir3_nir_lower_preamble() local
355 nir_builder_init(b, preamble); in ir3_nir_lower_preamble()
357 nir_foreach_block (block, preamble) { in ir3_nir_lower_preamble()
406 nir_call_instr *call = nir_call_instr_create(nir, main->preamble); in ir3_nir_lower_preamble()
415 exec_node_remove(&main->preamble->node); in ir3_nir_lower_preamble()
416 main->preamble = NULL; in ir3_nir_lower_preamble()
/third_party/vulkan-loader/scripts/
Ddispatch_table_helper_generator.py131 preamble = ''
132 preamble += '#include <vulkan/vulkan.h>\n'
133 preamble += '#include <vulkan/vk_layer.h>\n'
134 preamble += '#include <string.h>\n'
135 preamble += '#include "vk_layer_dispatch_table.h"\n'
138 write(preamble, file=self.outFile)
Dloader_extension_generator.py210 preamble = ''
213 preamble += '#pragma once\n'
216 preamble += '#include <stdio.h>\n'
217 preamble += '#include <stdlib.h>\n'
218 preamble += '#include <string.h>\n'
219 preamble += '#include "vk_loader_platform.h"\n'
220 preamble += '#include "loader.h"\n'
221 preamble += '#include "vk_loader_extensions.h"\n'
222 preamble += '#include <vulkan/vk_icd.h>\n'
223 preamble += '#include "wsi.h"\n'
[all …]
/third_party/glslang/glslang/MachineIndependent/
DVersions.cpp358 void TParseVersions::getPreamble(std::string& preamble) in getPreamble() argument
361 preamble = in getPreamble()
410 preamble += "#define GL_NV_shader_noperspective_interpolation 1\n"; in getPreamble()
414 preamble = in getPreamble()
533 preamble += "#define GL_core_profile 1\n"; in getPreamble()
536 preamble += "#define GL_compatibility_profile 1\n"; in getPreamble()
544 preamble += in getPreamble()
552 preamble += in getPreamble()
559 preamble += in getPreamble()
570 preamble += "#define VULKAN "; in getPreamble()
[all …]
/third_party/python/Lib/email/
Dfeedparser.py336 preamble = []
358 if preamble:
361 lastline = preamble[-1]
364 preamble[-1] = lastline[:-len(eolmo.group(0))]
365 self._cur.preamble = EMPTYSTRING.join(preamble)
418 preamble.append(line)
425 self._cur.set_payload(EMPTYSTRING.join(preamble))
Dgenerator.py287 if msg.preamble is not None:
289 preamble = fcre.sub('>From ', msg.preamble)
291 preamble = msg.preamble
292 self._write_lines(preamble)
/third_party/alsa-lib/src/conf/cards/
DCMI8338-SWIEC.conf120 preamble.z 3
121 preamble.y 5
122 preamble.x 9
/third_party/alsa-lib/src/pcm/
Dpcm_iec958.c64 unsigned char preamble[3]; /* B/M/W or Z/X/Y */ member
124 data |= iec->preamble[PREAMBLE_Y]; /* odd sub frame, 'Y' */ in iec958_subframe()
126 data |= iec->preamble[PREAMBLE_Z]; /* Block start, 'Z' */ in iec958_subframe()
128 data |= iec->preamble[PREAMBLE_X]; /* even sub frame, 'X' */ in iec958_subframe()
606 memcpy(iec->preamble, preamble_vals, 3); in snd_pcm_iec958_open()
695 snd_config_t *status = NULL, *preamble = NULL; in _snd_pcm_iec958_open() local
727 preamble = n; in _snd_pcm_iec958_open()
763 if (preamble) { in _snd_pcm_iec958_open()
765 snd_config_for_each(i, inext, preamble) { in _snd_pcm_iec958_open()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_function_decoration_test.cc79 auto preamble = b.entry_points(); in TEST_P() local
80 ASSERT_GE(preamble.size(), 1u); in TEST_P()
81 EXPECT_EQ(preamble[0].opcode(), spv::Op::OpEntryPoint); in TEST_P()
83 ASSERT_GE(preamble[0].operands().size(), 3u); in TEST_P()
84 EXPECT_EQ(preamble[0].operands()[0].to_i(), in TEST_P()
/third_party/curl/src/
Dtool_setopt.c318 char preamble[80]; in tool_setopt_bitmask() local
321 msnprintf(preamble, sizeof(preamble), in tool_setopt_bitmask()
328 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_bitmask()
332 msnprintf(preamble, sizeof(preamble), "%*s", (int)strlen(preamble), in tool_setopt_bitmask()
340 CODE2("%s%luUL);", preamble, rest); in tool_setopt_bitmask()
/third_party/skia/third_party/externals/icu/scripts/
Dsingle_byte_gen.sh6 function preamble { function
48 preamble ${e} > ${output}
Deuckr_gen.sh12 function preamble { function
68 preamble
/third_party/node/deps/v8/tools/testrunner/
Dtrycatch_loader.js17 var preamble = arguments.slice(0, separator) variable
21 for (let jstest of preamble) {
/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPpContext.cpp88preamble(0), strings(0), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false), in TPpContext()
103 delete [] preamble; in ~TPpContext()

123456