cabac.h
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:2k
源码类别:

Audio

开发平台:

Visual C++

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