Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
enc_statistics.h
Package: chapter15.rar [view]
Upload User: hjq518
Upload Date: 2021-12-09
Package Size: 5084k
Code Size: 2k
Category:
Audio program
Development Platform:
Visual C++
- /*!
- **************************************************************************
- * file enc_statistics.h
- *
- * brief
- * statistics reports for the encoding process.
- *
- * author
- * Main contributors (see contributors.h for copyright, address and affiliation details)
- * - Alexis Tourapis <alexismt@ieee.org>
- * - Karsten S黨ring <suehring@hhi.de>
- *
- **************************************************************************
- */
- #ifndef _ENC_STATISTICS_H_
- #define _ENC_STATISTICS_H_
- #include "global.h"
- typedef struct
- {
- float bitr; //!< bit rate for current frame, used only for output til terminal
- float bitrate; //!< average bit rate for the sequence except first frame
- int64 bit_ctr; //!< counter for bit usage
- int64 bit_ctr_n; //!< bit usage for the current frame
- int64 bit_ctr_emulationprevention; //!< stored bits needed to prevent start code emulation
- int bit_slice; //!< number of bits in current slice
- int stored_bit_slice; //!< keep number of bits in current slice (to restore status in case of MB re-encoding)
- int b8_mode_0_use [NUM_SLICE_TYPES][2];
- int64 mode_use_transform[NUM_SLICE_TYPES][MAXMODE][2];
- int intra_chroma_mode[4];
- // B pictures
- int successive_Bframe;
- int frame_counter;
- int64 quant [NUM_SLICE_TYPES];
- int64 num_macroblocks [NUM_SLICE_TYPES];
- int frame_ctr [NUM_SLICE_TYPES];
- int64 bit_counter [NUM_SLICE_TYPES];
- float bitrate_st [NUM_SLICE_TYPES];
- int64 mode_use [NUM_SLICE_TYPES][MAXMODE]; //!< Macroblock mode usage for Intra frames
- int64 bit_use_mode [NUM_SLICE_TYPES][MAXMODE]; //!< statistics of bit usage
- int64 bit_use_mb_type [NUM_SLICE_TYPES];
- int64 bit_use_header [NUM_SLICE_TYPES];
- int64 tmp_bit_use_cbp [NUM_SLICE_TYPES];
- int64 bit_use_coeffC [NUM_SLICE_TYPES];
- int64 bit_use_coeff [3][NUM_SLICE_TYPES];
- int64 bit_use_delta_quant [NUM_SLICE_TYPES];
- int64 bit_use_stuffingBits[NUM_SLICE_TYPES];
- int bit_ctr_parametersets;
- int bit_ctr_parametersets_n;
- } StatParameters;
- extern StatParameters *stats;
- #endif