highlevel.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: highlevel encoder setup struct seperated out for vorbisenc clarity
  13. last mod: $Id$
  14. ********************************************************************/
  15. typedef struct highlevel_byblocktype {
  16. double tone_mask_setting;
  17. double tone_peaklimit_setting;
  18. double noise_bias_setting;
  19. double noise_compand_setting;
  20. } highlevel_byblocktype;
  21. typedef struct highlevel_encode_setup {
  22. const void *setup;
  23. int set_in_stone;
  24. double base_setting;
  25. double long_setting;
  26. double short_setting;
  27. double impulse_noisetune;
  28. int managed;
  29. long bitrate_min;
  30. long bitrate_av;
  31. double bitrate_av_damp;
  32. long bitrate_max;
  33. long bitrate_reservoir;
  34. double bitrate_reservoir_bias;
  35. int impulse_block_p;
  36. int noise_normalize_p;
  37. double stereo_point_setting;
  38. double lowpass_kHz;
  39. double ath_floating_dB;
  40. double ath_absolute_dB;
  41. double amplitude_track_dBpersec;
  42. double trigger_setting;
  43. highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
  44. } highlevel_encode_setup;