mpeg.h
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
typedef struct mpeg_stream_struct
{
/* Sequence Header Fields */
int pic_xsize,
pic_ysize,
pic_PAR,
pic_rate,
bit_rate,
vbv_size,
const_flag,
iqmat_flag,
niqmat_flag,
/* GOP Header Fields */
time_code,
closed_gop,
broken_link,
/* Picture Header Fields */
temporal_reference,
pic_type,
vbv_delay,
for_full_pel,
for_fcode,
bak_full_pel,
bak_fcode,
for_clip_bits,
bak_clip_bits,
for_rem_bits,
bak_rem_bits,
for_shift_bits,
bak_shift_bits,
/* Slice Header Fields */
quant;
/* Quant Matrix */
int iq_mat_new[64],
iq_mat[64];
int niq_mat_new[64],
niq_mat[64];
/* Parsing State */
int saved_num_zero_bits;
int saved_start_code;
int search_startcode;
int mb_width;
int picnum_base,
picnum_max;
/* Token Output */
FILE *token_file;
char *token_filename;
/* Bit-wise I/O */
int in_buf_len,
in_cur_bits,
in_cur_used,
in_cur_word;
BIT_BUFTYPE *in_bit_buf;
FILE *huf_file;
char *huf_filename;
} MPEG_Stream;