Mercurial > libavcodec.hg
comparison avcodec.h @ 286:91f7c38f5f37 libavcodec
statistics for 2-pass encoding
| author | michaelni |
|---|---|
| date | Sat, 23 Mar 2002 17:43:30 +0000 |
| parents | 5c7fdbecfa97 |
| children | 944632089814 |
comparison
equal
deleted
inserted
replaced
| 285:39b78867b71f | 286:91f7c38f5f37 |
|---|---|
| 143 /* after encoding you will have the PSNR on psnr_y/cb/cr */ | 143 /* after encoding you will have the PSNR on psnr_y/cb/cr */ |
| 144 int get_psnr; | 144 int get_psnr; |
| 145 float psnr_y; | 145 float psnr_y; |
| 146 float psnr_cb; | 146 float psnr_cb; |
| 147 float psnr_cr; | 147 float psnr_cr; |
| 148 | |
| 149 /* statistics, used for 2-pass encoding */ | |
| 150 int mv_bits; | |
| 151 int header_bits; | |
| 152 int i_tex_bits; | |
| 153 int p_tex_bits; | |
| 154 int i_count; | |
| 155 int p_count; | |
| 156 int skip_count; | |
| 157 int misc_bits; // cbp, mb_type | |
| 158 int frame_bits; | |
| 148 | 159 |
| 149 /* the following fields are ignored */ | 160 /* the following fields are ignored */ |
| 150 void *opaque; /* can be used to carry app specific stuff */ | 161 void *opaque; /* can be used to carry app specific stuff */ |
| 151 char codec_name[32]; | 162 char codec_name[32]; |
| 152 int codec_type; /* see CODEC_TYPE_xxx */ | 163 int codec_type; /* see CODEC_TYPE_xxx */ |
