Code Search for Developers
 
 
  

vorbisenc.h from NeoEngineNG at Krugle


Show vorbisenc.h syntax highlighted

/********************************************************************
 *                                                                  *
 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
 *                                                                  *
 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
 * by the XIPHOPHORUS Company http://www.xiph.org/                  *
 *                                                                  *
 ********************************************************************

 function: vorbis encode-engine setup
 last mod: $Id: vorbisenc.h,v 1.1 2004/03/17 18:22:57 arithon Exp $

 ********************************************************************/

#ifndef _OV_ENC_H_
#define _OV_ENC_H_

#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

#include "codec.h"

extern int vorbis_encode_init(vorbis_info *vi,
			      long channels,
			      long rate,
			      
			      long max_bitrate,
			      long nominal_bitrate,
			      long min_bitrate);

extern int vorbis_encode_setup_managed(vorbis_info *vi,
				       long channels,
				       long rate,
				       
				       long max_bitrate,
				       long nominal_bitrate,
				       long min_bitrate);
  
extern int vorbis_encode_setup_vbr(vorbis_info *vi,
				  long channels,
				  long rate,
				  
				  float /* quality level from 0. (lo) to 1. (hi) */
				  );

extern int vorbis_encode_init_vbr(vorbis_info *vi,
				  long channels,
				  long rate,
				  
				  float base_quality /* quality level from 0. (lo) to 1. (hi) */
				  );

extern int vorbis_encode_setup_init(vorbis_info *vi);

extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);

#define OV_ECTL_RATEMANAGE_GET       0x10

#define OV_ECTL_RATEMANAGE_SET       0x11
#define OV_ECTL_RATEMANAGE_AVG       0x12
#define OV_ECTL_RATEMANAGE_HARD      0x13

#define OV_ECTL_LOWPASS_GET          0x20
#define OV_ECTL_LOWPASS_SET          0x21

#define OV_ECTL_IBLOCK_GET           0x30
#define OV_ECTL_IBLOCK_SET           0x31

struct ovectl_ratemanage_arg {
  int    management_active;

  long   bitrate_hard_min;
  long   bitrate_hard_max;
  double bitrate_hard_window;

  long   bitrate_av_lo;
  long   bitrate_av_hi;
  double bitrate_av_window;
  double bitrate_av_window_center;
};

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif






See more files for this project here

NeoEngineNG

NeoenEngine NG (Next Generation) is the evolution of neoengine one,it\'s a different development from NeoEngine2, it\'s a direct inherits from NeoEngine one.\n

Project homepage: http://sourceforge.net/projects/neoengineng
Programming language(s): C,C++
License: other

  books/
    coupled/
      res_books_stereo.h
    floor/
      floor_books.h
    uncoupled/
      res_books_uncoupled.h
  modes/
    floor_all.h
    psych_11.h
    psych_16.h
    psych_44.h
    psych_8.h
    residue_16.h
    residue_44.h
    residue_44u.h
    residue_8.h
    setup_11.h
    setup_16.h
    setup_22.h
    setup_32.h
    setup_44.h
    setup_44u.h
    setup_8.h
    setup_X.h
  analysis.c
  backends.h
  barkmel.c
  bitrate.c
  bitrate.h
  block.c
  codebook.c
  codebook.h
  codec.h
  codec_internal.h
  envelope.c
  envelope.h
  floor0.c
  floor1.c
  highlevel.h
  info.c
  lookup.c
  lookup.h
  lookup_data.h
  lookups.pl
  lpc.c
  lpc.h
  lsp.c
  lsp.h
  mapping0.c
  masking.h
  mdct.c
  mdct.h
  misc.h
  os.h
  psy.c
  psy.h
  psytune.c
  registry.c
  registry.h
  res0.c
  scales.h
  sharedbook.c
  smallft.c
  smallft.h
  synthesis.c
  tone.c
  vorbisenc.c
  vorbisenc.h
  vorbisfile.c
  vorbisfile.h
  window.c
  window.h