[xiph-cvs] cvs commit: vorbis/lib vorbisenc.c

Monty xiphmont at xiph.org
Fri Dec 14 01:38:00 PST 2001



xiphmont    01/12/14 01:37:59

  Modified:    lib      vorbisenc.c
  Log:
  don't commit tests

Revision  Changes    Path
1.22      +0 -31     vorbis/lib/vorbisenc.c

Index: vorbisenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/vorbisenc.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vorbisenc.c	2001/12/14 09:27:36	1.21
+++ vorbisenc.c	2001/12/14 09:37:58	1.22
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple programmatic interface for encoder mode setup
- last mod: $Id: vorbisenc.c,v 1.21 2001/12/14 09:27:36 xiphmont Exp $
+ last mod: $Id: vorbisenc.c,v 1.22 2001/12/14 09:37:58 xiphmont Exp $
 
  ********************************************************************/
 
@@ -591,8 +591,6 @@
                            ){
   int ret=0;
 
-  base_quality=0.;
-
   base_quality+=.001;
   if(base_quality<0.)base_quality=0.;
   if(base_quality>.999)base_quality=.999;
@@ -688,35 +686,6 @@
     default:
       /* setup specific to non-stereo (mono or uncoupled polyphonic)
          coupling */
-
-      /* unmanaged, one iteration residue setup */
-      ret|=vorbis_encode_residue_init(vi,base_quality,0,
-				      0, /* uncoupled */
-				      0, /* no mid stereo backfill */
-				      1, /* residue backfill */
-				      _residue_template_44_uncoupled,
-				      0,0,0,0,0,0,0,0,0,0,0,
-				      4.,4.,4.,6.,6.,6.,6.,4.,4.,4.,4.);
-      
-      ret|=vorbis_encode_residue_init(vi,base_quality,1,
-				      0, /* uncoupled */
-				      0, /* no mid stereo backfill */
-				      1, /* residue backfill */
-				      _residue_template_44_uncoupled,
-				      0,0,0,0,0,0,0,0,0,0,0,
-				      4.,4.,4.,6.,6.,6.,6.,4.,4.,4.,4.);      
-
-      ret|=vorbis_encode_lowpass_init(vi,base_quality,0,
-				      15.1,15.8,16.5,17.9,20.5,
-				      999.,999.,999.,999.,999.,999.);
-      ret|=vorbis_encode_lowpass_init(vi,base_quality,1,
-				      15.1,15.8,16.5,17.9,20.5,
-				      999.,999.,999.,999.,999.,999.);
-      
-      return(ret);
-
-
-
 
 
       return(OV_EIMPL);

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list