search for: inhead

Displaying 5 results from an estimated 5 matches for "inhead".

Did you mean: intead
2019 Oct 31
5
[PATCH] Replace mkproto.pl with mkproto.awk
.../dev/null +++ b/mkproto.awk @@ -0,0 +1,39 @@ +#!/usr/bin/awk -f + +BEGIN { + while (getline i <"proto.h") old_protos = old_protos ? old_protos "\n" i : i + protos = "/* This file is automatically generated with \"make proto\". DO NOT EDIT */\n" +} + +inheader { + protos = protos "\n" ((inheader = /\)[ \t]*$/ ? 0 : 1) ? $0 : $0 ";") + next +} + +/^FN_(LOCAL|GLOBAL)_[^(]+\([^,()]+/ { + local = /^FN_LOCAL/ + gsub(/^FN_(LOC|GLOB)AL_|,.*$/, "") + sub(/^BOOL\(/, "BOOL ") + sub(/^CHAR\(/, "char &...
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...; "proto.h") > 0) old_protos = old_protos ? > old_protos "\n" i : i > protos = "/* This file is automatically generated with \"make > proto\". DO NOT EDIT */\n" > + protos = protos "#ifndef __cplusplus\n" > } > > inheader { > @@ -34,6 +35,7 @@ inheader { > } > > END { > + protos = protos "\n\n" "#endif\n" > if (old_protos != protos) print protos > "proto.h" > printf "" > "proto.h-tstamp" > } >
2004 Oct 09
1
Ogg encapsulation...
...can't just say "Give me more data"... because there may not be any data ready yet, or the data may be being withheld for various reasons. It would also make it much easier to integrate with something like libfishsound. ie something like __initialise_flac_decoder(ALL_THE_HEADERS inHeaders); __set_decoded_callback(CALL_ME_HERE_WITH_THE_DECODED_AUDIO inCB); __feed_flac_data(SOME_FLAC_DATA inData, BOOL inSendMeAudioYet); Then if a full frame ins't passed in... it just waits on the data to complete it, instead of calling a read callback... if more than one frame is passed in,...
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on? Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html : "For the x86-32 compiler, you must use -march=cpu-type, -msse or -msse2 switches to enable SSE extensions and make this option effective. For the x86-64 compiler, these extensions are enabled by default." That reads to me like we're fine for SSE2. As stated in my comments, SSSE3 support must be
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...@ BEGIN { while ((getline i < "proto.h") > 0) old_protos = old_protos ? old_protos "\n" i : i protos = "/* This file is automatically generated with \"make proto\". DO NOT EDIT */\n" + protos = protos "#ifndef __cplusplus\n" } inheader { @@ -34,6 +35,7 @@ inheader { } END { + protos = protos "\n\n" "#endif\n" if (old_protos != protos) print protos > "proto.h" printf "" > "proto.h-tstamp" }