00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _ENC_STATISTICS_H_
00017 #define _ENC_STATISTICS_H_
00018 #include "global.h"
00019
00020 struct stat_parameters
00021 {
00022 float bitr;
00023 float bitrate;
00024 int64 bit_ctr;
00025 int64 bit_ctr_n;
00026 int64 bit_ctr_emulationprevention;
00027 int bit_slice;
00028 int stored_bit_slice;
00029 int b8_mode_0_use [NUM_SLICE_TYPES][2];
00030 int64 mode_use_transform[NUM_SLICE_TYPES][MAXMODE][2];
00031 int64 intra_chroma_mode[4];
00032
00033
00034 int NumberBFrames;
00035
00036 int frame_counter;
00037 int64 quant [NUM_SLICE_TYPES];
00038 int64 num_macroblocks [NUM_SLICE_TYPES];
00039 int frame_ctr [NUM_SLICE_TYPES];
00040 int64 bit_counter [NUM_SLICE_TYPES];
00041 float bitrate_st [NUM_SLICE_TYPES];
00042 int64 mode_use [NUM_SLICE_TYPES][MAXMODE];
00043 int64 bit_use_mode [NUM_SLICE_TYPES][MAXMODE];
00044 int64 bit_use_mb_type [NUM_SLICE_TYPES];
00045 int64 bit_use_header [NUM_SLICE_TYPES];
00046 int64 tmp_bit_use_cbp [NUM_SLICE_TYPES];
00047 int64 bit_use_coeffC [NUM_SLICE_TYPES];
00048 int64 bit_use_coeff [3][NUM_SLICE_TYPES];
00049 int64 bit_use_delta_quant [NUM_SLICE_TYPES];
00050 int64 bit_use_stuffingBits[NUM_SLICE_TYPES];
00051
00052 int bit_ctr_parametersets;
00053 int bit_ctr_parametersets_n;
00054 int64 bit_ctr_filler_data;
00055 int64 bit_ctr_filler_data_n;
00056
00057 };
00058 typedef struct stat_parameters StatParameters;
00059
00060 #endif