search for: out_end

Displaying 2 results from an estimated 2 matches for "out_end".

Did you mean: fout_end
2009 Sep 11
2
[PATCH] Add echo_daemon command
...+ +#include "actions.h" + +char * +do_echo_daemon (char *const *argv) +{ + char *out = NULL; + size_t out_len = 0; + + /* Iterate over argv entries until reaching the NULL terminator */ + while (*argv) { + char add_space = 0; + + /* Store the end of current output */ + size_t out_end = out_len; + + /* Calculate the new output size */ + size_t arg_len = strlen(*argv); + out_len += arg_len; + + /* We will prepend a space if this isn't the first argument added */ + if (NULL != out) { + out_len++; + add_space = 1; + } + + /* Make the output buffer...
2016 Aug 12
0
Silk Decoding Question
...Is is it just a 32767 factor difference? 2) In the "4.2.7.9.1. LTP Synthesis" section you have to loop through all the sub frames. J is the index of the first sample in the current sub-frame. The first voiced res[i] calculation loops through the range j - pitch_lags[s] - 2) <= i < out_end For the first sub-frame j = 0 (its basically s*n and s = 0) so i starts off negative. Couple of questions here. What is the first / second res[i] calc actually doing? How do you interpret the negative index? Out_end is either (j - (s-2)*n) or (j - s*n), if the sub-frames are interpolated frames...