3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Decoder related header - |
* - Decoder related header - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2003 Peter Ross <pross@xvid.org> |
* Copyright(C) 2002-2010 Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: decoder.h,v 1.15 2004-03-22 22:36:23 edgomez Exp $ |
* $Id$ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
80 |
uint32_t time_inc_bits; |
uint32_t time_inc_bits; |
81 |
|
|
82 |
uint32_t shape; |
uint32_t shape; |
83 |
|
int ver_id; |
84 |
uint32_t quant_bits; |
uint32_t quant_bits; |
85 |
uint32_t quant_type; |
uint32_t quant_type; |
86 |
uint16_t *mpeg_quant_matrices; |
uint16_t *mpeg_quant_matrices; |
105 |
int newpred_enable; |
int newpred_enable; |
106 |
int reduced_resolution_enable; |
int reduced_resolution_enable; |
107 |
|
|
108 |
/* The bitstream version if it's a XviD stream */ |
/* The bitstream version if it's a Xvid stream */ |
109 |
int bs_version; |
int bs_version; |
110 |
|
|
111 |
/* image */ |
/* image */ |
146 |
int64_t time_base; |
int64_t time_base; |
147 |
int64_t last_time_base; |
int64_t last_time_base; |
148 |
int64_t last_non_b_time; |
int64_t last_non_b_time; |
149 |
uint32_t time_pp; |
int32_t time_pp; |
150 |
uint32_t time_bp; |
int32_t time_bp; |
151 |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
152 |
uint32_t low_delay_default; /* default value for low_delay flag */ |
uint32_t low_delay_default; /* default value for low_delay flag */ |
153 |
|
|
160 |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
161 |
|
|
162 |
int * qscale; /* quantization table for decoder's stats */ |
int * qscale; /* quantization table for decoder's stats */ |
163 |
|
|
164 |
|
/* Tells if the reference image is edged or not */ |
165 |
|
int is_edged[2]; |
166 |
|
|
167 |
|
int num_threads; |
168 |
} |
} |
169 |
DECODER; |
DECODER; |
170 |
|
|