vrshoot

diff libs/vorbis/highlevel.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/vorbis/highlevel.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,58 @@
     1.4 +/********************************************************************
     1.5 + *                                                                  *
     1.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
     1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
    1.10 + *                                                                  *
    1.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009             *
    1.12 + * by the Xiph.Org Foundation http://www.xiph.org/                  *
    1.13 + *                                                                  *
    1.14 + ********************************************************************
    1.15 +
    1.16 + function: highlevel encoder setup struct separated out for vorbisenc clarity
    1.17 + last mod: $Id: highlevel.h 17195 2010-05-05 21:49:51Z giles $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +typedef struct highlevel_byblocktype {
    1.22 +  double tone_mask_setting;
    1.23 +  double tone_peaklimit_setting;
    1.24 +  double noise_bias_setting;
    1.25 +  double noise_compand_setting;
    1.26 +} highlevel_byblocktype;
    1.27 +
    1.28 +typedef struct highlevel_encode_setup {
    1.29 +  int   set_in_stone;
    1.30 +  const void *setup;
    1.31 +  double base_setting;
    1.32 +
    1.33 +  double impulse_noisetune;
    1.34 +
    1.35 +  /* bitrate management below all settable */
    1.36 +  float  req;
    1.37 +  int    managed;
    1.38 +  long   bitrate_min;
    1.39 +  long   bitrate_av;
    1.40 +  double bitrate_av_damp;
    1.41 +  long   bitrate_max;
    1.42 +  long   bitrate_reservoir;
    1.43 +  double bitrate_reservoir_bias;
    1.44 +
    1.45 +  int impulse_block_p;
    1.46 +  int noise_normalize_p;
    1.47 +  int coupling_p;
    1.48 +
    1.49 +  double stereo_point_setting;
    1.50 +  double lowpass_kHz;
    1.51 +  int    lowpass_altered;
    1.52 +
    1.53 +  double ath_floating_dB;
    1.54 +  double ath_absolute_dB;
    1.55 +
    1.56 +  double amplitude_track_dBpersec;
    1.57 +  double trigger_setting;
    1.58 +
    1.59 +  highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
    1.60 +
    1.61 +} highlevel_encode_setup;