search for: _vp_compute_mask

Displaying 6 results from an estimated 6 matches for "_vp_compute_mask".

2000 Jul 03
2
Possible bug in psy.c
Hi all, I'm quite new to Vorbis, so please excuse me if I'm writing complete nonsense (and, if possible, tell me where I'm wrong). While searching for optimization possibilities in lib/psy.c, I found the following piece of code in _vp_compute_mask(): if(p->vi->smoothp){ /* compute power^.5 of three neighboring bins to smooth for peaks that get split twixt bins/peaks that nail the bin. This evens out treatment as we're not doing additive masking any longer. */ double acc=work[0]*work[0]+work[1]*work[1];...
2000 Dec 22
1
Different floor, quality improvement
Hello all, Please try this "patch". It changes the way the noise floor is used for quantization in a not-so-subtle way. At the very end of _vp_compute_mask, add the lines: for(i=0;i<n;i++) flr[i]=.01f*sqrt(flr[i]); The .01 is there to ensure the current codebooks will work. We will really need different, newly-trained codebooks with this change; then the .01 can probably go away, though it won't hurt (I think). Be war...
2001 Jul 16
0
MacOS patches
...is libraries and examples on MacOS with CodeWarrior 6, I stumbled on some problems, for which I've made some 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)...
2002 Jan 02
2
RC3 Changes needed for MacOS
...is.mcp.exp 2000/11/22 06:15:19 1.2 +++ mac/libvorbis.mcp.exp 2002/01/03 07:21:48 @@ -23,6 +23,8 @@ vorbis_analysis_wrote vorbis_analysis_blockout vorbis_analysis +vorbis_bitrate_addblock +vorbis_bitrate_flushpacket # Vorbis PRIMITIVES: synthesis layer @@ -43,10 +45,10 @@ _vi_psy_copy _vp_compute_mask -_vp_apply_floor ### From "xxx.h" (for VorbisEncLib) _time_P _floor_P _residue_P _mapping_P +residue_free_info Index: mac/libvorbisenc.mcp.exp =================================================================== RCS file: /usr/local/cvsroot/vorbis/mac/libvorbisenc.mcp.exp,v retr...
2000 Nov 26
5
Another good optimization (for PPC only, though)
Using the PPC frsqrte and fres instructions, I got the percentage time take in the smoothing code in _vp_compute_mask() down from 13.64% to 1.88% of the running time. In my local copy of Vorbis I have a fast_math.[hc] in vorbis/lib and have a _fast_sqrt() inline in fast_math.h. If anyone else wants to try it out, it follows. I can currently encode my test file (the first 15 seconds of Supervixen by Garbage)...
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