mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
30 lines
598 B
C
30 lines
598 B
C
#ifndef PDMP3_H
|
|
#define PDMP3_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
//#define DEBUG
|
|
#define IMDCT_TABLES
|
|
#define IMDCT_NTABLES
|
|
#define POW34_ITERATE
|
|
#define POW34_TABLE
|
|
#define OUTPUT_RAW
|
|
|
|
#define OK 0
|
|
#define ERROR -1
|
|
|
|
unsigned Get_Byte(void);
|
|
unsigned Get_Bytes(unsigned num, unsigned* data_vec);
|
|
unsigned Get_Filepos(void);
|
|
int Decode_L3(void);
|
|
int Read_Frame(void);
|
|
size_t writeToWriter(void* data, int size);
|
|
|
|
unsigned Get_Main_Bit(void);
|
|
unsigned Get_Main_Bits(unsigned number_of_bits);
|
|
|
|
int Huffman_Decode(unsigned table_num, int32_t* x, int32_t*y, int32_t* v, int32_t* w);
|
|
|
|
#endif
|