Debian Codegraph @

mednafen/tremor/codec_internal.h

raw symbols SCIP
1 /********************************************************************
2 * *
3 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
4 * *
5 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
6 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
7 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * *
9 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
10 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ *
11 * *
12 ********************************************************************
13
14 function: libvorbis codec headers
15
16 ********************************************************************/
17
18 #ifndef _V_CODECI_H_
19 #define _V_CODECI_H_cxx . . $ `mednafen/tremor/codec_internal.h:19:9`!
20
21 #include "codebook.h"cxx . . $ `<file>/mednafen/tremor/codebook.h`/
22
23 typedef void vorbis_look_mappingcxx . . $ vorbis_look_mapping#;
24 typedef void vorbis_look_floorcxx . . $ vorbis_look_floor#;
25 typedef void vorbis_look_residuecxx . . $ vorbis_look_residue#;
26 typedef void vorbis_look_transformcxx . . $ vorbis_look_transform#;
27
28 /* mode ************************************************************/
29 typedef structcxx . . $ $anonymous_type_310d37d35ac071a0_0# {
30 int blockflagcxx . . $ $anonymous_type_310d37d35ac071a0_0#blockflag.;
31 int windowtypecxx . . $ $anonymous_type_310d37d35ac071a0_0#windowtype.;
32 int transformtypecxx . . $ $anonymous_type_310d37d35ac071a0_0#transformtype.;
33 int mappingcxx . . $ $anonymous_type_310d37d35ac071a0_0#mapping.;
34 } vorbis_info_modecxx . . $ vorbis_info_mode#;
35
36 typedef void vorbis_info_floorcxx . . $ vorbis_info_floor#;
37 typedef void vorbis_info_residuecxx . . $ vorbis_info_residue#;
38 typedef void vorbis_info_mappingcxx . . $ vorbis_info_mapping#;
39
40 typedef struct private_statecxx . . $ private_state# {
41 /* local lookup storage */
42 const void *windowcxx . . $ private_state#window.[2];
43
44 /* backend lookups are tied to the mode, not the backend or naked mapping */
45 int modebitscxx . . $ private_state#modebits.;
46 vorbis_look_mappingcxx . . $ vorbis_look_mapping# **modecxx . . $ private_state#mode.;
47
48 ogg_int64_tcxx . . $ ogg_int64_t# sample_countcxx . . $ private_state#sample_count.;
49
50 } private_statecxx . . $ private_state#;
51
52 /* codec_setup_info contains all the setup information specific to the
53 specific compression/decompression mode in progress (eg,
54 psychoacoustic settings, channel setup, options, codebook
55 etc).
56 *********************************************************************/
57
58 typedef struct codec_setup_infocxx . . $ codec_setup_info# {
59
60 /* Vorbis supports only short and long blocks, but allows the
61 encoder to choose the sizes */
62
63 long blocksizescxx . . $ codec_setup_info#blocksizes.[2];
64
65 /* modes are the primary means of supporting on-the-fly different
66 blocksizes, different channel mappings (LR or M/A),
67 different residue backends, etc. Each mode consists of a
68 blocksize flag and a mapping (along with the mapping setup */
69
70 int modescxx . . $ codec_setup_info#modes.;
71 int mapscxx . . $ codec_setup_info#maps.;
72 int timescxx . . $ codec_setup_info#times.;
73 int floorscxx . . $ codec_setup_info#floors.;
74 int residuescxx . . $ codec_setup_info#residues.;
75 int bookscxx . . $ codec_setup_info#books.;
76
77 vorbis_info_modecxx . . $ vorbis_info_mode# *mode_paramcxx . . $ codec_setup_info#mode_param.[64];
78 int map_typecxx . . $ codec_setup_info#map_type.[64];
79 vorbis_info_mappingcxx . . $ vorbis_info_mapping# *map_paramcxx . . $ codec_setup_info#map_param.[64];
80 int time_typecxx . . $ codec_setup_info#time_type.[64];
81 int floor_typecxx . . $ codec_setup_info#floor_type.[64];
82 vorbis_info_floorcxx . . $ vorbis_info_floor# *floor_paramcxx . . $ codec_setup_info#floor_param.[64];
83 int residue_typecxx . . $ codec_setup_info#residue_type.[64];
84 vorbis_info_residuecxx . . $ vorbis_info_residue# *residue_paramcxx . . $ codec_setup_info#residue_param.[64];
85 static_codebookcxx . . $ static_codebook# *book_paramcxx . . $ codec_setup_info#book_param.[256];
86 codebookcxx . . $ codebook# *fullbookscxx . . $ codec_setup_info#fullbooks.;
87
88 int passlimitcxx . . $ codec_setup_info#passlimit.[32]; /* iteration limit per couple/quant pass */
89 int coupling_passescxx . . $ codec_setup_info#coupling_passes.;
90 } codec_setup_infocxx . . $ codec_setup_info#;
91
92 #endif