| 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: PCM data envelope analysis and manipulation |
| 14 | |
| 15 | ********************************************************************/ |
| 16 | |
| 17 | #ifndef _vorbis_envelope_h_ |
| 18 | #define _vorbis_envelope_h_cxx . . $ `external/vorbis/vorbis_envelope.h:18:9`! |
| 19 | |
| 20 | #include "vorbis_mdct.h"cxx . . $ `<file>/external/vorbis/vorbis_mdct.h`/ |
| 21 | |
| 22 | #define VE_PREcxx . . $ `external/vorbis/vorbis_envelope.h:22:9`! 16 |
| 23 | #define VE_WINcxx . . $ `external/vorbis/vorbis_envelope.h:23:9`! 4 |
| 24 | #define VE_POSTcxx . . $ `external/vorbis/vorbis_envelope.h:24:9`! 2 |
| 25 | #define VE_AMPcxx . . $ `external/vorbis/vorbis_envelope.h:25:9`! (VE_PREcxx . . $ `external/vorbis/vorbis_envelope.h:22:9`!+VE_POSTcxx . . $ `external/vorbis/vorbis_envelope.h:24:9`!-1) |
| 26 | |
| 27 | #define VE_BANDScxx . . $ `external/vorbis/vorbis_envelope.h:27:9`! 7 |
| 28 | #define VE_NEARDCcxx . . $ `external/vorbis/vorbis_envelope.h:28:9`! 15 |
| 29 | |
| 30 | #define VE_MINSTRETCHcxx . . $ `external/vorbis/vorbis_envelope.h:30:9`! 2 /* a bit less than short block */ |
| 31 | #define VE_MAXSTRETCHcxx . . $ `external/vorbis/vorbis_envelope.h:31:9`! 12 /* one-third full block */ |
| 32 | |
| 33 | typedef structcxx . . $ $anonymous_type_c661d92e27ede393_0# { |
| 34 | float ampbufcxx . . $ $anonymous_type_c661d92e27ede393_0#ampbuf.[VE_AMPcxx . . $ `external/vorbis/vorbis_envelope.h:25:9`!]; |
| 35 | int ampptrcxx . . $ $anonymous_type_c661d92e27ede393_0#ampptr.; |
| 36 | |
| 37 | float nearDCcxx . . $ $anonymous_type_c661d92e27ede393_0#nearDC.[VE_NEARDCcxx . . $ `external/vorbis/vorbis_envelope.h:28:9`!]; |
| 38 | float nearDC_acccxx . . $ $anonymous_type_c661d92e27ede393_0#nearDC_acc.; |
| 39 | float nearDC_partialacccxx . . $ $anonymous_type_c661d92e27ede393_0#nearDC_partialacc.; |
| 40 | int nearptrcxx . . $ $anonymous_type_c661d92e27ede393_0#nearptr.; |
| 41 | |
| 42 | } envelope_filter_statecxx . . $ envelope_filter_state#; |
| 43 | |
| 44 | typedef structcxx . . $ $anonymous_type_c661d92e27ede393_1# { |
| 45 | int begincxx . . $ $anonymous_type_c661d92e27ede393_1#begin.; |
| 46 | int endcxx . . $ $anonymous_type_c661d92e27ede393_1#end.; |
| 47 | float *windowcxx . . $ $anonymous_type_c661d92e27ede393_1#window.; |
| 48 | float totalcxx . . $ $anonymous_type_c661d92e27ede393_1#total.; |
| 49 | } envelope_bandcxx . . $ envelope_band#; |
| 50 | |
| 51 | typedef structcxx . . $ $anonymous_type_c661d92e27ede393_2# { |
| 52 | int chcxx . . $ $anonymous_type_c661d92e27ede393_2#ch.; |
| 53 | int winlengthcxx . . $ $anonymous_type_c661d92e27ede393_2#winlength.; |
| 54 | int searchstepcxx . . $ $anonymous_type_c661d92e27ede393_2#searchstep.; |
| 55 | float minenergycxx . . $ $anonymous_type_c661d92e27ede393_2#minenergy.; |
| 56 | |
| 57 | mdct_lookupcxx . . $ mdct_lookup# mdctcxx . . $ $anonymous_type_c661d92e27ede393_2#mdct.; |
| 58 | float *mdct_wincxx . . $ $anonymous_type_c661d92e27ede393_2#mdct_win.; |
| 59 | |
| 60 | envelope_bandcxx . . $ envelope_band# bandcxx . . $ $anonymous_type_c661d92e27ede393_2#band.[VE_BANDScxx . . $ `external/vorbis/vorbis_envelope.h:27:9`!]; |
| 61 | envelope_filter_statecxx . . $ envelope_filter_state# *filtercxx . . $ $anonymous_type_c661d92e27ede393_2#filter.; |
| 62 | int stretchcxx . . $ $anonymous_type_c661d92e27ede393_2#stretch.; |
| 63 | |
| 64 | int *markcxx . . $ $anonymous_type_c661d92e27ede393_2#mark.; |
| 65 | |
| 66 | long storagecxx . . $ $anonymous_type_c661d92e27ede393_2#storage.; |
| 67 | long currentcxx . . $ $anonymous_type_c661d92e27ede393_2#current.; |
| 68 | long curmarkcxx . . $ $anonymous_type_c661d92e27ede393_2#curmark.; |
| 69 | long cursorcxx . . $ $anonymous_type_c661d92e27ede393_2#cursor.; |
| 70 | } envelope_lookupcxx . . $ envelope_lookup#; |
| 71 | |
| 72 | extern void _ve_envelope_initcxx . . $ _ve_envelope_init(848e42712f4cb0d0).(envelope_lookupcxx . . $ envelope_lookup# *e,vorbis_infocxx . . $ vorbis_info# *vi); |
| 73 | extern void _ve_envelope_clearcxx . . $ _ve_envelope_clear(ab9a1450d5363011).(envelope_lookupcxx . . $ envelope_lookup# *e); |
| 74 | extern long _ve_envelope_searchcxx . . $ _ve_envelope_search(e89517d26da739e6).(vorbis_dsp_statecxx . . $ vorbis_dsp_state# *v); |
| 75 | extern void _ve_envelope_shiftcxx . . $ _ve_envelope_shift(4f0e5bedd573f2b7).(envelope_lookupcxx . . $ envelope_lookup# *e,long shift); |
| 76 | extern int _ve_envelope_markcxx . . $ _ve_envelope_mark(6cb399ae167b2de8).(vorbis_dsp_statecxx . . $ vorbis_dsp_state# *v); |
| 77 | |
| 78 | |
| 79 | #endif |