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