search for: vorbis_look_psy

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

2001 Jul 16
0
MacOS patches
...e patches. The first problem was the static function bark_noise_median() in vorbis/lib/psy.c (r1.49), which has as a second parameter a "const long *". It is only called once in _vp_compute_mask() in psy.c, but with a "unsigned long *" parameter (it's the bark member of the vorbis_look_psy structure). This causes CW6 to complain with: Error : illegal implicit conversion from 'unsigned long *' to 'const long *' psy.c line 696 p->vi->noisewindowfixed); To get rid of this error, there are two possibilities: either change the bark_noise_median() function to ha...
2000 Jun 30
0
First patch, little speed up... (about 1%)
...d optimized a bit an loop at psy.c (by the way, the code looks quite more beautiful now) ;-) Have a look... --- psy.c Sat Jun 24 12:09:23 2000 +++ - Fri Jun 30 19:03:37 2000 @@ -452,38 +452,38 @@ /* bleaugh, this is more complicated than it needs to be */ static void max_seeds(vorbis_look_psy *p,double *flr){ long n=p->n,i,j; - long *posstack=alloca(n*sizeof(long)); - double *ampstack=alloca(n*sizeof(double)); - long stack=0; + long *posstack=alloca((n+1)*sizeof(long)); + double *ampstack=alloca((n+1)*sizeof(double)); + long stack=2; - for(i=0;i<n;i++){ - if(stack&lt...
2001 Dec 18
2
Nonportable use of strdup()
Hey, I ran across this while building vorbis on the Mac: In libvorbis RC2, file info.c, line 65, there's a call to strdup(). strdup() isn't portable, and it looks like the code should use the internal memory functions to create the memory for the string anyway. Actually, on further inspection, it looks like the memory for the user comments is never actually freed. I'm not subscribed
2001 Oct 16
4
Possible channel coupling bug in encoder
...e it goes: I'm trying to encode a 22 kHz Mono stream. I started with the encoder example and made it take dynamic channels etc. This is how I init it: vorbis_info_init(&VorbisInfo); vorbis_encode_init(&VorbisInfo, 1, 22050, -1, 128000, -1); then I get a crash in: _vp_quantize_couple(vorbis_look_psy * 0x01e6a6ec, vorbis_info_mapping0 * 0x017c1988, float * * 0x01ea3ce0, float * * 0x00120754, float * * 0x00120758, int * 0x00120760, int 0) line 1021 + 35 bytes mapping0_forward(vorbis_block * 0x00121a20, void * 0x01e68d3c) line 496 + 41 bytes vorbis_analysis(vorbis_block * 0x00121a20, ogg_packet *...
2010 May 20
10
Libtheora
Hi all, I am Sahana. I am currently working on Libtheora for windows platform and very new to it. I am getting a lot of compiling errors. Since Libtheora depends on libogg and libvorbis i have added these as well to my workspace in VC++ 6. I have a doubt regarding the x86 and x86_vc folders described in the libtheora software.Since both these folders have the same set of files which one do we