1 |
|
/***************************************************************************** |
2 |
|
* |
3 |
|
* XVID MPEG-4 VIDEO CODEC |
4 |
|
* - Status window header - |
5 |
|
* |
6 |
|
* Copyright(C) Peter Ross <pross@xvid.org> |
7 |
|
* |
8 |
|
* 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 |
10 |
|
* the Free Software Foundation ; either version 2 of the License, or |
11 |
|
* (at your option) any later version. |
12 |
|
* |
13 |
|
* This program is distributed in the hope that it will be useful, |
14 |
|
* but WITHOUT ANY WARRANTY ; without even the implied warranty of |
15 |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
* GNU General Public License for more details. |
17 |
|
* |
18 |
|
* You should have received a copy of the GNU General Public License |
19 |
|
* along with this program ; if not, write to the Free Software |
20 |
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
|
* |
22 |
|
* $Id$ |
23 |
|
* |
24 |
|
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _STATUS_H_ |
#ifndef _STATUS_H_ |
27 |
#define _STATUS_H_ |
#define _STATUS_H_ |
28 |
|
|
29 |
#include <windows.h> |
#include <windows.h> |
30 |
|
|
31 |
|
/* int64_t */ |
32 |
|
#if defined(_MSC_VER) || defined (__WATCOMC__) |
33 |
|
# define int64_t __int64 |
34 |
|
# define uint64_t unsigned __int64 |
35 |
|
#else |
36 |
|
# include <inttypes.h> |
37 |
|
#endif |
38 |
|
|
39 |
typedef struct |
typedef struct |
40 |
{ |
{ |
41 |
double fps; |
double fps; |
53 |
TEXTMETRIC tm; |
TEXTMETRIC tm; |
54 |
BITMAPINFO * bi; |
BITMAPINFO * bi; |
55 |
|
|
56 |
int count[4]; |
int64_t count[4]; |
57 |
int min_quant[4]; |
int min_quant[4]; |
58 |
int max_quant[4]; |
int max_quant[4]; |
59 |
int quant[31]; |
int quant[3][31]; |
60 |
int max_quant_frames; |
int max_quant_frames; |
61 |
int min_length[4]; |
int min_length[4]; |
62 |
int max_length[4]; |
int max_length[4]; |
63 |
int tot_length[4]; |
int64_t tot_length[4]; |
64 |
} status_t; |
} status_t; |
65 |
|
|
66 |
|
|