vrshoot

annotate libs/vorbis/highlevel.h @ 1:e7ca128b8713

looks nice :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 00:35:22 +0200
parents
children
rev   line source
nuclear@0 1 /********************************************************************
nuclear@0 2 * *
nuclear@0 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
nuclear@0 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
nuclear@0 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
nuclear@0 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
nuclear@0 7 * *
nuclear@0 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
nuclear@0 9 * by the Xiph.Org Foundation http://www.xiph.org/ *
nuclear@0 10 * *
nuclear@0 11 ********************************************************************
nuclear@0 12
nuclear@0 13 function: highlevel encoder setup struct separated out for vorbisenc clarity
nuclear@0 14 last mod: $Id: highlevel.h 17195 2010-05-05 21:49:51Z giles $
nuclear@0 15
nuclear@0 16 ********************************************************************/
nuclear@0 17
nuclear@0 18 typedef struct highlevel_byblocktype {
nuclear@0 19 double tone_mask_setting;
nuclear@0 20 double tone_peaklimit_setting;
nuclear@0 21 double noise_bias_setting;
nuclear@0 22 double noise_compand_setting;
nuclear@0 23 } highlevel_byblocktype;
nuclear@0 24
nuclear@0 25 typedef struct highlevel_encode_setup {
nuclear@0 26 int set_in_stone;
nuclear@0 27 const void *setup;
nuclear@0 28 double base_setting;
nuclear@0 29
nuclear@0 30 double impulse_noisetune;
nuclear@0 31
nuclear@0 32 /* bitrate management below all settable */
nuclear@0 33 float req;
nuclear@0 34 int managed;
nuclear@0 35 long bitrate_min;
nuclear@0 36 long bitrate_av;
nuclear@0 37 double bitrate_av_damp;
nuclear@0 38 long bitrate_max;
nuclear@0 39 long bitrate_reservoir;
nuclear@0 40 double bitrate_reservoir_bias;
nuclear@0 41
nuclear@0 42 int impulse_block_p;
nuclear@0 43 int noise_normalize_p;
nuclear@0 44 int coupling_p;
nuclear@0 45
nuclear@0 46 double stereo_point_setting;
nuclear@0 47 double lowpass_kHz;
nuclear@0 48 int lowpass_altered;
nuclear@0 49
nuclear@0 50 double ath_floating_dB;
nuclear@0 51 double ath_absolute_dB;
nuclear@0 52
nuclear@0 53 double amplitude_track_dBpersec;
nuclear@0 54 double trigger_setting;
nuclear@0 55
nuclear@0 56 highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
nuclear@0 57
nuclear@0 58 } highlevel_encode_setup;