|
FFmpeg
|
#include "libavutil/attributes.h"#include "libavutil/common.h"#include "cabac_functions.h"#include "data.h"#include "hevc.h"#include "hevcdec.h"Go to the source code of this file.
Macros | |
| #define | CABAC_MAX_BIN 31 |
| #define | CABAC_ELEMS(ELEM) |
| #define | OFFSET(NAME, NUM_BINS) |
| #define | CNU 154 |
| #define | GET_CABAC(ctx) get_cabac(&lc->cc, &lc->cabac_state[ctx]) |
| #define | GET_COORD(offset, n) |
Enumerations | |
| enum | |
| Offset to ctxIdx 0 in init_values and states. More... | |
Variables | |
| static const uint8_t | init_values [3][HEVC_CONTEXTS] |
| Indexed by init_type. More... | |
| static const uint8_t | scan_1x1 [1] |
| static const uint8_t | horiz_scan2x2_x [4] |
| static const uint8_t | horiz_scan2x2_y [4] |
| static const uint8_t | horiz_scan4x4_x [16] |
| static const uint8_t | horiz_scan4x4_y [16] |
| static const uint8_t | horiz_scan8x8_inv [8][8] |
| static const uint8_t | diag_scan2x2_x [4] |
| static const uint8_t | diag_scan2x2_y [4] |
| static const uint8_t | diag_scan2x2_inv [2][2] |
| static const uint8_t | diag_scan4x4_inv [4][4] |
| static const uint8_t | diag_scan8x8_inv [8][8] |
| #define OFFSET | ( | NAME, | |
| NUM_BINS | |||
| ) |
| #define GET_COORD | ( | offset, | |
| n | |||
| ) |
| void ff_hevc_save_states | ( | HEVCLocalContext * | lc, |
| const HEVCPPS * | pps, | ||
| int | ctb_addr_ts | ||
| ) |
Definition at line 402 of file cabac.c.
Referenced by hls_decode_entry(), and hls_decode_entry_wpp().
|
static |
Definition at line 417 of file cabac.c.
Referenced by ff_hevc_cabac_init().
|
static |
Definition at line 425 of file cabac.c.
Referenced by ff_hevc_cabac_init().
|
static |
Definition at line 430 of file cabac.c.
Referenced by ff_hevc_cabac_init().
| int ff_hevc_cabac_init | ( | HEVCLocalContext * | lc, |
| const HEVCPPS * | pps, | ||
| int | ctb_addr_ts, | ||
| const uint8_t * | data, | ||
| size_t | size, | ||
| int | is_wpp | ||
| ) |
Definition at line 454 of file cabac.c.
Referenced by hls_decode_entry(), and hls_decode_entry_wpp().
| int ff_hevc_sao_merge_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 516 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_sao_type_idx_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 521 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_sao_band_position_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 531 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_sao_offset_abs_decode | ( | HEVCLocalContext * | lc, |
| int | bit_depth | ||
| ) |
Definition at line 541 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_sao_offset_sign_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 551 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_sao_eo_class_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 556 of file cabac.c.
Referenced by hls_sao_param().
| int ff_hevc_end_of_slice_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 563 of file cabac.c.
Referenced by hls_coding_quadtree().
| int ff_hevc_cu_transquant_bypass_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 568 of file cabac.c.
Referenced by hls_coding_unit().
| int ff_hevc_skip_flag_decode | ( | HEVCLocalContext * | lc, |
| uint8_t * | skip_flag, | ||
| int | x0, | ||
| int | y0, | ||
| int | x_cb, | ||
| int | y_cb, | ||
| int | min_cb_width | ||
| ) |
Definition at line 573 of file cabac.c.
Referenced by hls_coding_unit().
| int ff_hevc_cu_qp_delta_abs | ( | HEVCLocalContext * | lc | ) |
Definition at line 586 of file cabac.c.
Referenced by hls_transform_unit().
| int ff_hevc_cu_qp_delta_sign_flag | ( | HEVCLocalContext * | lc | ) |
Definition at line 613 of file cabac.c.
Referenced by hls_transform_unit().
| int ff_hevc_cu_chroma_qp_offset_flag | ( | HEVCLocalContext * | lc | ) |
Definition at line 618 of file cabac.c.
Referenced by hls_transform_unit().
| int ff_hevc_cu_chroma_qp_offset_idx | ( | HEVCLocalContext * | lc, |
| int | chroma_qp_offset_list_len_minus1 | ||
| ) |
Definition at line 623 of file cabac.c.
Referenced by hls_transform_unit().
| int ff_hevc_pred_mode_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 634 of file cabac.c.
Referenced by hls_coding_unit().
| int ff_hevc_split_coding_unit_flag_decode | ( | HEVCLocalContext * | lc, |
| uint8_t * | tab_ct_depth, | ||
| const HEVCSPS * | sps, | ||
| int | ct_depth, | ||
| int | x0, | ||
| int | y0 | ||
| ) |
Definition at line 639 of file cabac.c.
Referenced by hls_coding_quadtree().
| int ff_hevc_part_mode_decode | ( | HEVCLocalContext * | lc, |
| const HEVCSPS * | sps, | ||
| int | log2_cb_size | ||
| ) |
Definition at line 660 of file cabac.c.
Referenced by hls_coding_unit().
| int ff_hevc_pcm_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 697 of file cabac.c.
Referenced by hls_coding_unit().
| int ff_hevc_prev_intra_luma_pred_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 702 of file cabac.c.
Referenced by intra_prediction_unit().
| int ff_hevc_mpm_idx_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 707 of file cabac.c.
Referenced by intra_prediction_unit().
| int ff_hevc_rem_intra_luma_pred_mode_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 715 of file cabac.c.
Referenced by intra_prediction_unit().
| int ff_hevc_intra_chroma_pred_mode_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 725 of file cabac.c.
Referenced by intra_prediction_unit().
| int ff_hevc_merge_idx_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 736 of file cabac.c.
Referenced by hls_prediction_unit().
| int ff_hevc_merge_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 747 of file cabac.c.
Referenced by hls_prediction_unit().
| int ff_hevc_inter_pred_idc_decode | ( | HEVCLocalContext * | lc, |
| int | nPbW, | ||
| int | nPbH | ||
| ) |
Definition at line 752 of file cabac.c.
Referenced by hevc_luma_mv_mvp_mode().
| int ff_hevc_ref_idx_lx_decode | ( | HEVCLocalContext * | lc, |
| int | num_ref_idx_lx | ||
| ) |
Definition at line 762 of file cabac.c.
Referenced by hevc_luma_mv_mvp_mode().
| int ff_hevc_mvp_lx_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 778 of file cabac.c.
Referenced by hevc_luma_mv_mvp_mode().
| int ff_hevc_no_residual_syntax_flag_decode | ( | HEVCLocalContext * | lc | ) |
Definition at line 783 of file cabac.c.
Referenced by hls_coding_unit().
|
static |
Definition at line 788 of file cabac.c.
Referenced by ff_hevc_hls_mvd_coding().
|
static |
Definition at line 793 of file cabac.c.
Referenced by ff_hevc_hls_mvd_coding().
|
static |
Definition at line 798 of file cabac.c.
Referenced by ff_hevc_hls_mvd_coding().
|
static |
Definition at line 816 of file cabac.c.
Referenced by ff_hevc_hls_mvd_coding().
| int ff_hevc_split_transform_flag_decode | ( | HEVCLocalContext * | lc, |
| int | log2_trafo_size | ||
| ) |
Definition at line 821 of file cabac.c.
Referenced by hls_transform_tree().
| int ff_hevc_cbf_cb_cr_decode | ( | HEVCLocalContext * | lc, |
| int | trafo_depth | ||
| ) |
Definition at line 826 of file cabac.c.
Referenced by hls_transform_tree().
| int ff_hevc_cbf_luma_decode | ( | HEVCLocalContext * | lc, |
| int | trafo_depth | ||
| ) |
Definition at line 831 of file cabac.c.
Referenced by hls_transform_tree().
|
static |
Definition at line 836 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 841 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 846 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
| int ff_hevc_log2_res_scale_abs | ( | HEVCLocalContext * | lc, |
| int | idx | ||
| ) |
Definition at line 851 of file cabac.c.
Referenced by hls_cross_component_pred().
| int ff_hevc_res_scale_sign_flag | ( | HEVCLocalContext * | lc, |
| int | idx | ||
| ) |
Definition at line 861 of file cabac.c.
Referenced by hls_cross_component_pred().
|
static |
Definition at line 866 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 892 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 904 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 912 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 919 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 924 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 933 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 941 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 971 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
| void ff_hevc_hls_residual_coding | ( | HEVCLocalContext * | lc, |
| const HEVCPPS * | pps, | ||
| int | x0, | ||
| int | y0, | ||
| int | log2_trafo_size, | ||
| enum ScanType | scan_idx, | ||
| int | c_idx | ||
| ) |
Definition at line 981 of file cabac.c.
Referenced by hls_transform_unit().
| void ff_hevc_hls_mvd_coding | ( | HEVCLocalContext * | lc, |
| int | x0, | ||
| int | y0, | ||
| int | log2_cb_size | ||
| ) |
Definition at line 1493 of file cabac.c.
Referenced by hevc_luma_mv_mvp_mode().
|
static |
|
static |
Definition at line 334 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 338 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 342 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 346 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 353 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 360 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 371 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 375 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 379 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 384 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
|
static |
Definition at line 391 of file cabac.c.
Referenced by ff_hevc_hls_residual_coding().
1.8.17