doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
bitrate.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ogg/ogg.h"
#include "../vorbis/codec.h"
#include "codec_internal.h"
#include "os.h"
#include "misc.h"
#include "bitrate.h"

Go to the source code of this file.

Macros

#define LIMITBYTES(pos, bin)   (bm->minmax_binstack[(pos)*bins*2+((bin)+bins)])
 

Functions

void vorbis_bitrate_init (vorbis_info *vi, bitrate_manager_state *bm)
 
void vorbis_bitrate_clear (bitrate_manager_state *bm)
 
int vorbis_bitrate_managed (vorbis_block *vb)
 
int vorbis_bitrate_addblock (vorbis_block *vb)
 
int vorbis_bitrate_flushpacket (vorbis_dsp_state *vd, ogg_packet *op)
 

Macro Definition Documentation

#define LIMITBYTES (   pos,
  bin 
)    (bm->minmax_binstack[(pos)*bins*2+((bin)+bins)])

Definition at line 35 of file bitrate.c.

Function Documentation

int vorbis_bitrate_addblock ( vorbis_block vb)

Definition at line 181 of file bitrate.c.

void vorbis_bitrate_clear ( bitrate_manager_state bm)

Definition at line 146 of file bitrate.c.

int vorbis_bitrate_flushpacket ( vorbis_dsp_state vd,
ogg_packet op 
)

Definition at line 495 of file bitrate.c.

void vorbis_bitrate_init ( vorbis_info vi,
bitrate_manager_state bm 
)

Definition at line 79 of file bitrate.c.

int vorbis_bitrate_managed ( vorbis_block vb)

Definition at line 171 of file bitrate.c.