1 |
14 |
jamey.hick |
|
2 |
|
|
/*!
|
3 |
|
|
***************************************************************************
|
4 |
|
|
* \file
|
5 |
|
|
* cabac.h
|
6 |
|
|
*
|
7 |
|
|
* \brief
|
8 |
|
|
* Headerfile for entropy coding routines
|
9 |
|
|
*
|
10 |
|
|
* \author
|
11 |
|
|
* Detlev Marpe \n
|
12 |
|
|
* Copyright (C) 2000 HEINRICH HERTZ INSTITUTE All Rights Reserved.
|
13 |
|
|
*
|
14 |
|
|
* \date
|
15 |
|
|
* 21. Oct 2000 (Changes by Tobias Oelbaum 28.08.2001)
|
16 |
|
|
***************************************************************************
|
17 |
|
|
*/
|
18 |
|
|
|
19 |
|
|
#ifndef _CABAC_H_
|
20 |
|
|
#define _CABAC_H_
|
21 |
|
|
|
22 |
|
|
#include "global.h"
|
23 |
|
|
|
24 |
|
|
MotionInfoContexts* create_contexts_MotionInfo(void);
|
25 |
|
|
TextureInfoContexts* create_contexts_TextureInfo(void);
|
26 |
|
|
void init_contexts_MotionInfo(struct img_par *img, MotionInfoContexts *enco_ctx);
|
27 |
|
|
void init_contexts_TextureInfo(struct img_par *img, TextureInfoContexts *enco_ctx);
|
28 |
|
|
void delete_contexts_MotionInfo(MotionInfoContexts *enco_ctx);
|
29 |
|
|
void delete_contexts_TextureInfo(TextureInfoContexts *enco_ctx);
|
30 |
|
|
|
31 |
|
|
void cabac_new_slice();
|
32 |
|
|
|
33 |
|
|
void readMB_typeInfo_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
34 |
|
|
void readB8_typeInfo_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
35 |
|
|
void readIntraPredMode_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
36 |
|
|
void readRefFrame_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
37 |
|
|
void readMVD_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
38 |
|
|
void readCBP_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
39 |
|
|
void readRunLevel_CABAC(SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
40 |
|
|
void readDquant_CABAC(SyntaxElement *se,struct img_par *img,DecodingEnvironmentPtr dep_dp);
|
41 |
|
|
void readCIPredMode_CABAC(SyntaxElement *se,struct img_par *img,DecodingEnvironmentPtr dep_dp);
|
42 |
|
|
void readMB_skip_flagInfo_CABAC( SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
43 |
|
|
void readFieldModeInfo_CABAC(SyntaxElement *se, struct img_par *img,DecodingEnvironmentPtr dep_dp);
|
44 |
|
|
|
45 |
|
|
void readMB_transform_size_flag_CABAC( SyntaxElement *se, struct img_par *img, DecodingEnvironmentPtr dep_dp);
|
46 |
|
|
|
47 |
|
|
int readSyntaxElement_CABAC(SyntaxElement *se, struct img_par *img, DataPartition *this_dataPart);
|
48 |
|
|
|
49 |
|
|
int check_next_mb_and_get_field_mode_CABAC(SyntaxElement *se,struct img_par *img,DataPartition *act_dp);
|
50 |
|
|
void CheckAvailabilityOfNeighborsCABAC();
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
#endif // _CABAC_H_
|
54 |
|
|
|