ReactOS 0.4.16-dev-300-g2aadf2e
|
#include "mpg123lib_intern.h"
#include <sys/stat.h>
#include <fcntl.h>
#include "getbits.h"
#include "mpeghead.h"
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | ULONG_MAX ((unsigned long)-1) |
#define | TRACK_MAX_FRAMES ULONG_MAX/4/1152 |
#define | bsbufid(fr) (fr)->bsbuf==(fr)->bsspace[0] ? 0 : ((fr)->bsbuf==fr->bsspace[1] ? 1 : ( (fr)->bsbuf==(fr)->bsspace[0]+512 ? 2 : ((fr)->bsbuf==fr->bsspace[1]+512 ? 3 : -1) ) ) |
#define | check_bytes_left(n) |
#define | JUMP_CONCLUSION(ret) |
#define | FORGET_INTERVAL 1024 /* Used by callers to set forget flag each <n> bytes. */ |
Enumerations | |
enum | parse_codes { PARSE_MORE = MPG123_NEED_MORE , PARSE_ERR = MPG123_ERR , PARSE_END = 10 , PARSE_GOOD = 1 , PARSE_BAD = 0 , PARSE_RESYNC = 2 , PARSE_AGAIN = 3 } |
Variables | |
static const int | tabsel_123 [2][3][16] |
static const long | freqs [9] = { 44100, 48000, 32000, 22050, 24000, 16000 , 11025 , 12000 , 8000 } |
#define bsbufid | ( | fr | ) | (fr)->bsbuf==(fr)->bsspace[0] ? 0 : ((fr)->bsbuf==fr->bsspace[1] ? 1 : ( (fr)->bsbuf==(fr)->bsspace[0]+512 ? 2 : ((fr)->bsbuf==fr->bsspace[1]+512 ? 3 : -1) ) ) |
|
static |
Definition at line 138 of file parse.c.
Referenced by read_frame().
double compute_bpf | ( | mpg123_handle * | fr | ) |
|
static |
Definition at line 775 of file parse.c.
Referenced by read_frame(), and skip_junk().
|
static |
Definition at line 1071 of file parse.c.
Referenced by jread(), and read_frame().
|
static |
Definition at line 1199 of file parse.c.
Referenced by skip_junk(), and wetwork().
int frame_bitrate | ( | mpg123_handle * | fr | ) |
long frame_freq | ( | mpg123_handle * | fr | ) |
int get_songlen | ( | mpg123_handle * | fr, |
int | no | ||
) |
Definition at line 1053 of file parse.c.
|
static |
Definition at line 734 of file parse.c.
Referenced by decode_header().
|
static |
Definition at line 460 of file parse.c.
Referenced by read_frame().
|
static |
|
static |
Definition at line 1139 of file parse.c.
Referenced by wetwork().
|
static |
Definition at line 1126 of file parse.c.
Referenced by skip_junk(), and wetwork().
Definition at line 91 of file parse.c.
Referenced by decode_header(), do_readahead(), read_frame(), skip_junk(), and wetwork().
Definition at line 437 of file parse.c.
Referenced by head_compatible().
int read_frame | ( | mpg123_handle * | fr | ) |
Definition at line 500 of file parse.c.
void set_pointer | ( | mpg123_handle * | fr, |
int | part2, | ||
long | backstep | ||
) |
|
static |
Definition at line 1220 of file parse.c.
Referenced by read_frame().
|
static |
Definition at line 1294 of file parse.c.
Referenced by read_frame().
Definition at line 70 of file parse.c.
Referenced by decode_header(), frame_freq(), and mpg123_tpf().
Definition at line 56 of file parse.c.
Referenced by decode_header(), and frame_bitrate().