#undef NDEBUG
#include <assert.h>
-typedef struct {
+typedef struct vorbis_enc_codebook {
int nentries;
uint8_t *lens;
uint32_t *codewords;
float *pow2;
} vorbis_enc_codebook;
-typedef struct {
+typedef struct vorbis_enc_floor_class {
int dim;
int subclass;
int masterbook;
int *books;
} vorbis_enc_floor_class;
-typedef struct {
+typedef struct vorbis_enc_floor {
int partitions;
int *partition_to_class;
int nclasses;
vorbis_floor1_entry *list;
} vorbis_enc_floor;
-typedef struct {
+typedef struct vorbis_enc_residue {
int type;
int begin;
int end;
float (*maxes)[2];
} vorbis_enc_residue;
-typedef struct {
+typedef struct vorbis_enc_mapping {
int submaps;
int *mux;
int *floor;
int *angle;
} vorbis_enc_mapping;
-typedef struct {
+typedef struct vorbis_enc_mode {
int blockflag;
int mapping;
} vorbis_enc_mode;
-typedef struct {
+typedef struct vorbis_enc_context {
int channels;
int sample_rate;
int log2_blocksize[2];