| 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-2009 * |
| 9 | * by the Xiph.Org Foundation https://xiph.org/ * |
| 10 | * * |
| 11 | ******************************************************************** |
| 12 | |
| 13 | function: highlevel encoder setup struct separated out for vorbisenc clarity |
| 14 | |
| 15 | ********************************************************************/ |
| 16 | |
| 17 | #ifndef _vorbis_highlevel_h_ |
| 18 | #define _vorbis_highlevel_h_cxx . . $ `external/vorbis/vorbis_highlevel.h:18:9`! |
| 19 | |
| 20 | typedef struct highlevel_byblocktypecxx . . $ highlevel_byblocktype# { |
| 21 | double tone_mask_settingcxx . . $ highlevel_byblocktype#tone_mask_setting.; |
| 22 | double tone_peaklimit_settingcxx . . $ highlevel_byblocktype#tone_peaklimit_setting.; |
| 23 | double noise_bias_settingcxx . . $ highlevel_byblocktype#noise_bias_setting.; |
| 24 | double noise_compand_settingcxx . . $ highlevel_byblocktype#noise_compand_setting.; |
| 25 | } highlevel_byblocktypecxx . . $ highlevel_byblocktype#; |
| 26 | |
| 27 | typedef struct highlevel_encode_setupcxx . . $ highlevel_encode_setup# { |
| 28 | int set_in_stonecxx . . $ highlevel_encode_setup#set_in_stone.; |
| 29 | const void *setupcxx . . $ highlevel_encode_setup#setup.; |
| 30 | double base_settingcxx . . $ highlevel_encode_setup#base_setting.; |
| 31 | |
| 32 | double impulse_noisetunecxx . . $ highlevel_encode_setup#impulse_noisetune.; |
| 33 | |
| 34 | /* bitrate management below all settable */ |
| 35 | float reqcxx . . $ highlevel_encode_setup#req.; |
| 36 | int managedcxx . . $ highlevel_encode_setup#managed.; |
| 37 | long bitrate_mincxx . . $ highlevel_encode_setup#bitrate_min.; |
| 38 | long bitrate_avcxx . . $ highlevel_encode_setup#bitrate_av.; |
| 39 | double bitrate_av_dampcxx . . $ highlevel_encode_setup#bitrate_av_damp.; |
| 40 | long bitrate_maxcxx . . $ highlevel_encode_setup#bitrate_max.; |
| 41 | long bitrate_reservoircxx . . $ highlevel_encode_setup#bitrate_reservoir.; |
| 42 | double bitrate_reservoir_biascxx . . $ highlevel_encode_setup#bitrate_reservoir_bias.; |
| 43 | |
| 44 | int impulse_block_pcxx . . $ highlevel_encode_setup#impulse_block_p.; |
| 45 | int noise_normalize_pcxx . . $ highlevel_encode_setup#noise_normalize_p.; |
| 46 | int coupling_pcxx . . $ highlevel_encode_setup#coupling_p.; |
| 47 | |
| 48 | double stereo_point_settingcxx . . $ highlevel_encode_setup#stereo_point_setting.; |
| 49 | double lowpass_kHzcxx . . $ highlevel_encode_setup#lowpass_kHz.; |
| 50 | int lowpass_alteredcxx . . $ highlevel_encode_setup#lowpass_altered.; |
| 51 | |
| 52 | double ath_floating_dBcxx . . $ highlevel_encode_setup#ath_floating_dB.; |
| 53 | double ath_absolute_dBcxx . . $ highlevel_encode_setup#ath_absolute_dB.; |
| 54 | |
| 55 | double amplitude_track_dBperseccxx . . $ highlevel_encode_setup#amplitude_track_dBpersec.; |
| 56 | double trigger_settingcxx . . $ highlevel_encode_setup#trigger_setting.; |
| 57 | |
| 58 | highlevel_byblocktypecxx . . $ highlevel_byblocktype# blockcxx . . $ highlevel_encode_setup#block.[4]; /* padding, impulse, transition, long */ |
| 59 | |
| 60 | } highlevel_encode_setupcxx . . $ highlevel_encode_setup#; |
| 61 | |
| 62 | #endif |