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
rdopt_coding_state.h
Package: chapter15.rar [view]
Upload User: hjq518
Upload Date: 2021-12-09
Package Size: 5084k
Code Size: 1k
Category:
Audio program
Development Platform:
Visual C++
- /*!
- ***************************************************************************
- * file
- * rdopt_coding_state.h
- *
- * author
- * Heiko Schwarz
- *
- * date
- * 17. April 2001
- *
- * brief
- * Headerfile for storing/restoring coding state
- * (for rd-optimized mode decision)
- **************************************************************************
- */
- #ifndef _RD_OPT_CS_H_
- #define _RD_OPT_CS_H_
- typedef struct {
- // important variables of data partition array
- int no_part;
- EncodingEnvironment *encenv;
- Bitstream *bitstream;
- // contexts for binary arithmetic coding
- int symbol_mode;
- MotionInfoContexts *mot_ctx;
- TextureInfoContexts *tex_ctx;
- // bit counter
- int bitcounter[MAX_BITCOUNTER_MB];
- // elements of current macroblock
- short mvd[2][BLOCK_MULTIPLE][BLOCK_MULTIPLE][2];
- int64 cbp_bits[3];
- int64 cbp_bits_8x8[3];
- } CSobj;
- typedef CSobj* CSptr;
- void delete_coding_state (CSptr); //!< delete structure
- CSptr create_coding_state (void); //!< create structure
- void store_coding_state (Macroblock *currMB, CSptr); //!< store parameters
- void reset_coding_state (Macroblock *currMB, CSptr); //!< restore parameters
- #endif