| 
    FFmpeg
    
   | 
 
H.264 / AVC / MPEG4 part10 cabac decoding. More...
#include "libavutil/attributes.h"#include "libavutil/avassert.h"#include "libavutil/timer.h"#include "config.h"#include "cabac.h"#include "cabac_functions.h"#include "internal.h"#include "avcodec.h"#include "h264.h"#include "h264data.h"#include "h264_mvpred.h"#include "golomb.h"#include "mpegutils.h"Go to the source code of this file.
Macros | |
| #define | CABAC(h) 1 | 
| #define | UNCHECKED_BITSTREAM_READER 1 | 
| #define | INT_BIT (CHAR_BIT * sizeof(int)) | 
| #define | DECODE_CABAC_MB_MVD(sl, list,n) | 
| #define | CABAC_ON_STACK | 
| #define | CC &cc | 
| #define | DECODE_SIGNIFICANCE(coefs, sig_off, last_off) | 
| #define | STORE_BLOCK(type) | 
Variables | |
| static const int8_t | cabac_context_init_I [1024][2] | 
| static const int8_t | cabac_context_init_PB [3][1024][2] | 
H.264 / AVC / MPEG4 part10 cabac decoding.
Definition in file h264_cabac.c.
| #define CABAC | ( | h | ) | 1 | 
Definition at line 28 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
| #define UNCHECKED_BITSTREAM_READER 1 | 
Definition at line 29 of file h264_cabac.c.
| #define INT_BIT (CHAR_BIT * sizeof(int)) | 
Definition at line 30 of file h264_cabac.c.
Referenced by decode_cabac_mb_mvd().
| #define DECODE_CABAC_MB_MVD | ( | sl, | |
| list, | |||
| n | |||
| ) | 
Definition at line 1536 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
| #define CABAC_ON_STACK | 
| #define CC &cc | 
Referenced by decode_cabac_residual_internal().
| #define DECODE_SIGNIFICANCE | ( | coefs, | |
| sig_off, | |||
| last_off | |||
| ) | 
Referenced by decode_cabac_residual_internal().
| #define STORE_BLOCK | ( | type | ) | 
Referenced by decode_cabac_residual_internal().
| void ff_h264_init_cabac_states | ( | const H264Context * | h, | 
| H264SliceContext * | sl | ||
| ) | 
Definition at line 1264 of file h264_cabac.c.
Referenced by decode_slice().
      
  | 
  static | 
Definition at line 1285 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1297 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1329 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1366 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1380 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1405 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1422 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1442 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1452 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1470 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1499 of file h264_cabac.c.
      
  | 
  static | 
Definition at line 1547 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), and decode_cabac_residual_nondc().
      
  | 
  static | 
Definition at line 1580 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc_internal(), decode_cabac_residual_dc_internal_422(), and decode_cabac_residual_nondc_internal().
      
  | 
  static | 
Definition at line 1767 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc().
      
  | 
  static | 
Definition at line 1777 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc_422().
      
  | 
  static | 
Definition at line 1787 of file h264_cabac.c.
Referenced by decode_cabac_residual_nondc().
      
  | 
  static | 
Definition at line 1810 of file h264_cabac.c.
Referenced by decode_cabac_luma_residual(), and ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1826 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1839 of file h264_cabac.c.
Referenced by decode_cabac_luma_residual(), and ff_h264_decode_mb_cabac().
      
  | 
  static | 
Definition at line 1859 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
| int ff_h264_decode_mb_cabac | ( | const H264Context * | h, | 
| H264SliceContext * | sl | ||
| ) | 
Decode a macroblock.
Decode a CABAC coded macroblock.
Definition at line 1911 of file h264_cabac.c.
Referenced by decode_slice().
      
  | 
  static | 
Definition at line 52 of file h264_cabac.c.
Referenced by ff_h264_init_cabac_states().
      
  | 
  static | 
Definition at line 364 of file h264_cabac.c.
Referenced by ff_h264_init_cabac_states().
 1.8.6