Init repo from r216 of svn repo (before mess things up)

This commit is contained in:
2014-02-20 20:17:37 +00:00
commit 12da995a99
468 changed files with 204309 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
/*!
***************************************************************************
* \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_
struct coding_state {
// important variables of data partition array
int no_part;
Bitstream *bitstream;
EncodingEnvironment *encenv;
// contexts for binary arithmetic coding
MotionInfoContexts *mot_ctx;
TextureInfoContexts *tex_ctx;
// bit counter
BitCounter bits;
// elements of current macroblock
short mvd[2][BLOCK_MULTIPLE][BLOCK_MULTIPLE][2];
int64 cbp_bits[3];
int64 *cbp_bits_8x8;
};
typedef struct coding_state CSobj;
extern void delete_coding_state (CSobj *); //!< delete structure
extern CSobj *create_coding_state (InputParameters *p_Inp); //!< create structure
extern void init_coding_state_methods(Slice *currSlice); //!< Init methods given entropy coding
extern void store_coding_state_cavlc (Macroblock *currMB, CSobj *cs);
extern void reset_coding_state_cavlc (Macroblock *currMB, CSobj *cs);
#endif