dbf-halloween2015

annotate libs/vorbis/highlevel.h @ 3:c37fe5d8a4ed

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