similar to: Decoding only a certain frame results in different values than when decoding the entire file

Displaying 20 results from an estimated 800 matches similar to: "Decoding only a certain frame results in different values than when decoding the entire file"

2011 Dec 22
2
Decoding only a certain frame results in different values than when decoding the entire file
To make it complete, here is the code that I am using to encode a large file: int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, unsigned int inlen) { //char *testFile; //FILE *ftest; //testFile = "test"; //ftest = fopen(testFile, "wb"); //fwrite(inBuf,1,inlen,ftest); //take every 320 bytes //copy every short to float
2011 Dec 22
0
Decoding only a certain frame results in different values than when decoding the entire file
HI Hermann, I am not sure I understand exactly what you are trying to do. Let me try to describe what I understood (I assumed your byte array starts @ 1 and not 0 as it is supposed to be in C) : ############################## CASE 1: (output is good) ############################## - INITILIAZE_DECODER (reset state memory) - READ bytes 1 to 124 - SpxDecode(DinBuf, DoutBuf, unsigned int
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
I found out something: The more frames I decode before the frame that I actually want to decode, the better the quality becomes. For example when I basically want to decode frame #100, I read frame #80 to #100, and then frame 100 has the quality that I need. Why? Is there any information on this behaviour? Thank you. Hermann Am 23.12.2011 18:37, schrieb Hermann Weber: > It would be nice
2011 Dec 23
0
Decoding only a certain frame results in different values than when decoding the entire file
It would be nice to get more input. I am really lost because I am not sure what is going on here, and there are no sources to investigate on. Thank you. Hermann Am 22.12.2011 20:55, schrieb Hermann Weber: > To make it complete, here is the code that I am using to encode a large > file: > > int __stdcall SpxEncode(unsigned char* inBuf, unsigned char* outBuf, > unsigned int inlen)
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
And how many frames does Speex need to "recover"? Or is that not predictable? Greetings, Hermann Am 23.12.2011 19:17, schrieb Steve Checkoway: > > On Dec 23, 2011, at 10:03 , Hermann Weber wrote: > >> I found out something: >> >> The more frames I decode before the frame that I actually want to >> decode, the better the quality becomes. >> For
2011 Apr 03
2
converting "call" objects into character
Dear all, I would like to log the calls to my functions. I am trying to do this using the function match.call(): fTest<-function(x) { theCall<-match.call() print(theCall) return(x) } > fTest(2) fTest(x = 2) [1] 2 I can see "theCall" printed into the console, but I don't manage to convert it into a character to write it into a log file
2009 Oct 09
4
Fatal: chdir( ) failed: Permission denied
Hi Dovecot fails to chdir() into users home directory giving the following error: Oct 9 16:43:49 jura dovecot: dovecot: Fatal: chdir(/a/home/mina) failed: Permission denied (euid=1118 0(mina) egid=11332(devel) missing +x perm: /a/home) Oct 9 16:43:49 jura dovecot: dovecot: child 14441 (imap) returned error 89 (Fatal failure) The reason seems to be that user primary group is "devel"
2017 Jun 20
1
Fortran programs not writing stdout on windows
A user has reported an issue that appears when a fortran executable is called via R on Windows. I am unsure if this expected behavior or a bug in Fortran or in how R calls Windows executables. The problem is that when the fortran program is called from R, stdout gets written to a file "fort.6" instead of stdout. When the same executable is called from the terminal it works fine and
2007 May 21
3
need some help please
We currently had dovecote 99 running and ran into some issues with it, mainly our pop3 sessions timeout and were slow. I upgraded to the latest version and im serving imap with pop3 using pam. Heres my pam file: [root at pop etc]# cat /etc/pam.d/dovecot #%PAM-1.0 auth required pam_unix.so nullok account required pam_unix.so The problem I'm having is I can authenticate to
2017 Aug 31
2
The issue about code coverage for libguestfs
Hi, I tried to do code coverage testing for libguestfs with gcov. The steps are shown as follows: 1. Download and install the source package(libguestfs-1.36.5-1.el7.src.rpm) 2. Modify libguestfs.spec file #diff -u libguestfs.spec libguestfs.spec.modify --------------------------------------------------------------------------------------- --- libguestfs.spec 2017-08-29 02:44:35.623751541 -0400
2015 Apr 28
4
[LLVMdev] GCC compatibility code coverage issue .
Hi All, We trying to use clang+llvm to generate the gcc coverage format as clang version 3.6.0 $clang --coverage -Xclang -coverage-cfg-checksum -Xclang -coverage-no-function-names-in-data -Xclang -coverage-version='407*' test.c $a.out $llvm-cov gcov test.gcda Unexpected version: *704. Invalid .gcno File! Debugging the above cause ,But any hints from experts here ,will help a lot
2007 Apr 05
2
about systemfit
Hello. I am still a newbie in R. Excuse me if I am asking something obvious. My efforts to get an answer through browsing the mailing archives failed. I want to perform an augmented Dickey-Fuller test and to obtain AIC and BIC and to be able to impose some linear restrictions on the ADF regression so as to decide the correct order of autoregression. However I could find no obvious way to impose
2012 Sep 24
4
serial subtraction within a vector
Hello, I have a vector (numeric) v-> c(a,b,c,d,e) and I want to create the vector n->c(b-a,c-b,d-c,e-d). How can I do that? Thank you Hermann [[alternative HTML version deleted]]
2013 Jan 03
5
count appearence of zero in a vector
Hello, I wish to count how often zero (0) appears in the vector test. test [1] 1 1 1 1 1 1 2 1 1 1 0 2 0 1 1 0 0 0 1 1 1 0 1 2 1 1 1 1 1 1 I think of something like ... > sapply (test, function (x) if (x==0 ... ... but actually I dont know how to carry on. Could anybody give me a hint? Thanks Hermann [[alternative HTML version deleted]]
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
My file is 3 hours long, so decoding takes around 5 minutes on an average computer. That is a bit too long unfortunately... Am 23.12.2011 20:38, schrieb Steve Checkoway: > On Dec 23, 2011, at 10:54, Hermann Weber<hermie.weber at gmx.de> wrote: > >> And how many frames does Speex need to "recover"? >> Or is that not predictable? > No idea. My guess is not
2013 Jan 31
2
[LLVMdev] Structure declaration with IR builder
Hi All, I tryed to create a global structured derived declaration in my compiler by: StructType *st = StructType(getGlobalContext(), elements, false); In dump module i didn't find any code needed to declare a new user data type. Is there a instruction to add this class into current module? Cheers, Manuele
2013 Oct 11
3
Create sequential vector for values in another column
Hello all - I have an example column in a dataFrame id.name 123.45 123.45 123.45 123.45 234.56 234.56 234.56 234.56 234.56 234.56 234.56 345.67 345.67 345.67 456.78 456.78 456.78 456.78 456.78 456.78 456.78 456.78 456.78 ... [truncated] And I'd like to create a second vector of sequential values (i.e., 1:N) for each unique id.name value. In other words, I need id.name x 123.45 1 123.45
2008 Jan 18
1
how to specify a particular contrast
Hi, I am running a simple one-way ANOVA with an independent factot variable "treat" (3 levels: a, b and c) and a response variable "y". I want to test a linear relationship of the response among the 3 levels of the variable "treat" (ordered a->b->c). I used glht() from multcomp package. Later I found out I need to exclude the situation where the response at the
2015 May 22
2
[LLVMdev] GCC compatibility code coverage issue .
Hi Justin , Thank you for the confirmation and we would like to know that ,going forward the clang has the support the gcc gcov format or use the -fprofile-instr-generate -fcoverage-mapping and get ride of gcov format . We are planing to customize the clang code coverage for embedded world ,before we start tweaking the gcov / -fprofile-instr-generate code-base ,we would like to take feedback
2013 Feb 06
3
[LLVMdev] LLVM Coverage GCDA Flush API
Ah, my mistake. So this already works. I guess that bug is out of date, since this feature works already. -- John Harrison On Wed, Feb 6, 2013 at 10:00 AM, Joshua Cranmer <pidgeot18 at gmail.com> wrote: > On 2/6/2013 11:43 AM, John Harrison wrote: > >> The way `-ftest-coverage -fprofile-arcs` works at the moment it only >> flushes via `atexit()`. This patch allows you