/third_party/ffmpeg/libavformat/ |
H A D | idroqdec.c | 75 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 112 /* get the next chunk preamble */ in roq_read_packet() 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() [all...] |
H A D | flic.c | 94 unsigned char preamble[FLIC_PREAMBLE_SIZE]; in flic_read_header() local 132 /* peek at the preamble to detect TFTD videos - they seem to always start with an audio chunk */ in flic_read_header() 133 if (avio_read(pb, preamble, FLIC_PREAMBLE_SIZE) != FLIC_PREAMBLE_SIZE) { in flic_read_header() 134 av_log(s, AV_LOG_ERROR, "Failed to peek at preamble\n"); in flic_read_header() 141 * If the first preamble's magic number is 0xAAAA then this file is from 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() 203 unsigned char preamble[FLIC_PREAMBLE_SIZE]; in flic_read_packet() local 208 if ((ret = avio_read(pb, preamble, FLIC_PREAMBLE_SIZE)) != in flic_read_packet() 214 size = AV_RL32(&preamble[ in flic_read_packet() [all...] |
H A D | westwood_aud.c | 131 unsigned char preamble[AUD_CHUNK_PREAMBLE_SIZE]; in wsaud_read_packet() local 136 if (avio_read(pb, preamble, AUD_CHUNK_PREAMBLE_SIZE) != in wsaud_read_packet() 141 if (AV_RL32(&preamble[4]) != AUD_CHUNK_SIGNATURE) in wsaud_read_packet() 144 chunk_size = AV_RL16(&preamble[0]); in wsaud_read_packet() 151 int out_size = AV_RL16(&preamble[2]); in wsaud_read_packet()
|
H A D | mm.c | 142 unsigned char preamble[MM_PREAMBLE_SIZE]; in read_packet() local 148 if (avio_read(pb, preamble, MM_PREAMBLE_SIZE) != MM_PREAMBLE_SIZE) { in read_packet() 152 type = AV_RL16(&preamble[0]); in read_packet() 153 length = AV_RL16(&preamble[2]); in read_packet() 163 /* output preamble + data */ in read_packet() 166 memcpy(pkt->data, preamble, MM_PREAMBLE_SIZE); in read_packet()
|
/third_party/mesa3d/src/util/indices/ |
H A D | u_unfilled_gen.py | 129 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')
|
H A D | u_indices_gen.py | 189 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(intyp [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | Versions.cpp | 393 void TParseVersions::getPreamble(std::string& preamble) in getPreamble() argument 396 preamble = in getPreamble() 444 preamble += "#define GL_NV_shader_noperspective_interpolation 1\n"; in getPreamble() 447 preamble += "#define GL_EXT_null_initializer 1\n"; in getPreamble() 448 preamble += "#define GL_EXT_subgroup_uniform_control_flow 1\n"; in getPreamble() 452 preamble = in getPreamble() 589 preamble += "#define GL_ARB_bindless_texture 1\n"; in getPreamble() 594 preamble += "#define GL_core_profile 1\n"; in getPreamble() 597 preamble += "#define GL_compatibility_profile 1\n"; in getPreamble() 600 preamble in getPreamble() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_opt_preamble.c | 27 /* Preamble optimization happens in two parts: first we generate the preamble 28 * using the generic NIR pass, then we setup the preamble sequence and inline 29 * the preamble into the main shader if there was a preamble. The first part 32 * lowering because it may add copy instructions to the preamble. 301 if (!main->preamble) in ir3_nir_lower_preamble() 304 nir_function_impl *preamble = main->preamble->impl; in ir3_nir_lower_preamble() 355 nir_builder_init(b, preamble); in ir3_nir_lower_preamble() 357 nir_foreach_block (block, preamble) { in ir3_nir_lower_preamble() [all...] |
/third_party/vulkan-loader/scripts/ |
H A D | dispatch_table_helper_generator.py | 131 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 "loader/generated/vk_layer_dispatch_table.h"\n' 138 write(preamble, file=self.outFile)
|
H A D | loader_extension_generator.py | 229 preamble = '' 231 preamble += '// clang-format off\n' 234 preamble += '#pragma once\n' 237 preamble += '#include <stdio.h>\n' 238 preamble += '#include <stdlib.h>\n' 239 preamble += '#include <string.h>\n' 240 preamble += '#include "vk_loader_platform.h"\n' 241 preamble += '#include "loader.h"\n' 242 preamble += '#include "vk_loader_extensions.h"\n' 243 preamble [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_preamble.c | 28 * an entire draw/compute dispatch into a "preamble" that runs before the main 31 * We also expose a separate API to get or construct the preamble of a shader 40 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 = nir_opt_preamble() local [all...] |
/third_party/curl/src/ |
H A D | tool_setopt.c | 314 char preamble[80]; in tool_setopt_bitmask() local 317 msnprintf(preamble, sizeof(preamble), in tool_setopt_bitmask() 324 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_bitmask() 328 msnprintf(preamble, sizeof(preamble), "%*s", (int)strlen(preamble), in tool_setopt_bitmask() 336 CODE2("%s%luUL);", preamble, rest); in tool_setopt_bitmask()
|
/third_party/python/Lib/email/ |
H A D | feedparser.py | 332 # preamble. 338 preamble = [] 358 # We saw an inter-part boundary. Were we in the preamble? 360 if preamble: 363 lastline = preamble[-1] 366 preamble[-1] = lastline[:-len(eolmo.group(0))] 367 self._cur.preamble = EMPTYSTRING.join(preamble) 418 # I think we must be in the preamble 420 preamble [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_iec958.c | 63 unsigned char preamble[3]; /* B/M/W or Z/X/Y */ member 96 * bit 0-3 = preamble 123 data |= iec->preamble[PREAMBLE_Y]; /* odd sub frame, 'Y' */ in iec958_subframe() 125 data |= iec->preamble[PREAMBLE_Z]; /* Block start, 'Z' */ in iec958_subframe() 127 data |= iec->preamble[PREAMBLE_X]; /* even sub frame, 'X' */ in iec958_subframe() 557 * \param preamble_vals The preamble byte values 605 memcpy(iec->preamble, preamble_vals, 3); in snd_pcm_iec958_open() 650 # IEC958 preamble bits definitions 653 [preamble.z or preamble 694 snd_config_t *status = NULL, *preamble = NULL; _snd_pcm_iec958_open() local [all...] |
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | PpContext.cpp | 88 preamble(nullptr), strings(nullptr), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false), in TPpContext() 103 delete [] preamble; in ~TPpContext()
|
/third_party/skia/third_party/externals/icu/scripts/ |
H A D | single_byte_gen.sh | 6 function preamble { function 48 preamble ${e} > ${output}
|
H A D | euckr_gen.sh | 12 function preamble { function 68 preamble
|
H A D | eucjp_gen.sh | 17 function preamble { function 107 preamble
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder_function_decoration_test.cc | 79 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/rust/crates/memchr/scripts/ |
H A D | make-byte-frequency-table | 19 preamble = ''' 69 print(preamble)
|
/third_party/rust/crates/regex/scripts/ |
H A D | frequencies.py | 19 preamble = ''' 69 print(preamble)
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | assembly_builder.h | 158 // Pre-pends string to the preamble of the module. Useful for EFFCEE checks. 159 AssemblyBuilder& PrependPreamble(const std::vector<std::string>& preamble) { in PrependPreamble() argument 160 preamble_.insert(preamble_.end(), preamble.begin(), preamble.end()); in PrependPreamble() 243 // User-defined preamble.
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | assembly_builder.h | 158 // Pre-pends string to the preamble of the module. Useful for EFFCEE checks. 159 AssemblyBuilder& PrependPreamble(const std::vector<std::string>& preamble) { in PrependPreamble() argument 160 preamble_.insert(preamble_.end(), preamble.begin(), preamble.end()); in PrependPreamble() 243 // User-defined preamble.
|
/third_party/spirv-tools/test/opt/ |
H A D | assembly_builder.h | 158 // Pre-pends string to the preamble of the module. Useful for EFFCEE checks. 159 AssemblyBuilder& PrependPreamble(const std::vector<std::string>& preamble) { in PrependPreamble() argument 160 preamble_.insert(preamble_.end(), preamble.begin(), preamble.end()); in PrependPreamble() 243 // User-defined preamble.
|
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
H A D | expect.py | 131 """Provides methods for verifying preamble for a SPIR-V binary.""" 174 preamble = binary[0:19] 175 little_endian = check_endianness(preamble) 181 version = read_word(preamble, 1, little_endian) 189 if read_word(preamble, 2, little_endian) != 0x000d0007 and \ 190 read_word(preamble, 2, little_endian) != 0x00070000: 193 if read_word(preamble, 4, little_endian) != 0: 200 """Provides methods for verifying preamble for a SPV object file.""" 205 """Checks that the given SPIR-V binary file has correct preamble.""" 224 """Provides methods for verifying preamble fo [all...] |