Searched refs:ps_cabac_ctxt (Results 1 – 11 of 11) sorted by relevance
/external/libavc/encoder/ |
D | ih264e_cabac_encode.c | 118 cabac_ctxt_t *ps_cabac_ctxt, in ih264e_cabac_enc_mb_skip() argument 124 a = ((ps_cabac_ctxt->ps_left_ctxt_mb_info->u1_mb_type & CAB_SKIP_MASK) ? in ih264e_cabac_enc_mb_skip() 126 b = ((ps_cabac_ctxt->ps_top_ctxt_mb_info->u1_mb_type & CAB_SKIP_MASK) ? in ih264e_cabac_enc_mb_skip() 131 ih264e_cabac_encode_bin(ps_cabac_ctxt, in ih264e_cabac_enc_mb_skip() 133 ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctxidx_offset in ih264e_cabac_enc_mb_skip() 195 cabac_ctxt_t *ps_cabac_ctxt, in ih264e_cabac_enc_intra_mb_type() argument 199 encoding_envirnoment_t *ps_cab_enc_env = &(ps_cabac_ctxt->s_cab_enc_env); in ih264e_cabac_enc_intra_mb_type() 202 mb_info_ctxt_t *ps_left_ctxt = ps_cabac_ctxt->ps_left_ctxt_mb_info; in ih264e_cabac_enc_intra_mb_type() 203 mb_info_ctxt_t *ps_top_ctxt = ps_cabac_ctxt->ps_top_ctxt_mb_info; in ih264e_cabac_enc_intra_mb_type() 215 pu1_mb_bin_ctxt = ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctx_idx_offset; in ih264e_cabac_enc_intra_mb_type() [all …]
|
D | ih264e_cabac.c | 161 cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in ih264e_get_cabac_context() local 185 ps_ctx_inc_mb_map = ps_cabac_ctxt->ps_mb_map_ctxt_inc; in ih264e_get_cabac_context() 186 ps_cabac_ctxt->ps_curr_ctxt_mb_info = ps_ctx_inc_mb_map + i4_mb_x; in ih264e_get_cabac_context() 187 ps_cabac_ctxt->ps_left_ctxt_mb_info = ps_cabac_ctxt->ps_def_ctxt_mb_info; in ih264e_get_cabac_context() 188 ps_cabac_ctxt->ps_top_ctxt_mb_info = ps_cabac_ctxt->ps_def_ctxt_mb_info; in ih264e_get_cabac_context() 189 ps_lft_csbp = ps_cabac_ctxt->ps_lft_csbp; in ih264e_get_cabac_context() 190 ps_cabac_ctxt->pu1_left_y_ac_csbp = &ps_lft_csbp->u1_y_ac_csbp_top_mb; in ih264e_get_cabac_context() 191 ps_cabac_ctxt->pu1_left_uv_ac_csbp = &ps_lft_csbp->u1_uv_ac_csbp_top_mb; in ih264e_get_cabac_context() 192 ps_cabac_ctxt->pu1_left_yuv_dc_csbp = &ps_lft_csbp->u1_yuv_dc_csbp_top_mb; in ih264e_get_cabac_context() 193 ps_cabac_ctxt->pi1_left_ref_idx_ctxt_inc = in ih264e_get_cabac_context() [all …]
|
D | ih264e_cabac_init.c | 154 cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in ih264e_init_cabac_table() local 155 ps_cabac_ctxt->ps_mb_map_ctxt_inc = ps_cabac_ctxt->ps_mb_map_ctxt_inc_base + 1; in ih264e_init_cabac_table() 156 ps_cabac_ctxt->ps_lft_csbp = &ps_cabac_ctxt->s_lft_csbp; in ih264e_init_cabac_table() 157 ps_cabac_ctxt->ps_bitstrm = ps_ent_ctxt->ps_bitstrm; in ih264e_init_cabac_table() 162 mb_info_ctxt_t *ps_def_ctxt = ps_cabac_ctxt->ps_mb_map_ctxt_inc - 1; in ih264e_init_cabac_table() 170 ps_cabac_ctxt->ps_def_ctxt_mb_info = ps_def_ctxt; in ih264e_init_cabac_table() 195 cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in ih264e_init_cabac_ctxt() local 201 bin_ctxt_model *au1_cabac_ctxt_table = ps_cabac_ctxt->au1_cabac_ctxt_table; in ih264e_init_cabac_ctxt() 204 ih264e_init_cabac_enc_envirnoment(&ps_cabac_ctxt->s_cab_enc_env); in ih264e_init_cabac_ctxt() 206 ps_cabac_ctxt->i1_prevps_mb_qp_delta_ctxt = 0; in ih264e_init_cabac_ctxt()
|
D | ih264e_cabac.h | 193 IH264E_ERROR_T ih264e_cabac_flush(cabac_ctxt_t *ps_cabac_ctxt); 218 IH264E_ERROR_T ih264e_cabac_put_byte(cabac_ctxt_t *ps_cabac_ctxt);
|
D | ih264e_process.c | 288 cabac_ctxt_t *ps_cabac_ctxt = ps_entropy->ps_cabac; in ih264e_entropy() local 517 ih264e_cabac_encode_terminate(ps_cabac_ctxt, 0); in ih264e_entropy() 557 ih264e_cabac_encode_terminate(ps_cabac_ctxt, 1); in ih264e_entropy() 586 ih264e_cabac_encode_terminate(ps_cabac_ctxt, 0); in ih264e_entropy() 610 ih264e_cabac_encode_terminate(ps_cabac_ctxt, 0); in ih264e_entropy() 635 ih264e_cabac_encode_terminate(ps_cabac_ctxt, 1); in ih264e_entropy()
|
/external/libavc/encoder/svc/ |
D | isvce_cabac_encode.c | 116 static void isvce_cabac_enc_mb_skip(UWORD8 u1_mb_skip_flag, isvce_cabac_ctxt_t *ps_cabac_ctxt, in isvce_cabac_enc_mb_skip() argument 121 a = ((ps_cabac_ctxt->ps_left_ctxt_mb_info->u1_mb_type & CAB_SKIP_MASK) ? 0 : 1); in isvce_cabac_enc_mb_skip() 122 b = ((ps_cabac_ctxt->ps_top_ctxt_mb_info->u1_mb_type & CAB_SKIP_MASK) ? 0 : 1); in isvce_cabac_enc_mb_skip() 126 isvce_cabac_encode_bin(ps_cabac_ctxt, (UWORD32) u1_mb_skip_flag, in isvce_cabac_enc_mb_skip() 127 ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctxidx_offset + u4_ctx_inc); in isvce_cabac_enc_mb_skip() 178 isvce_cabac_ctxt_t *ps_cabac_ctxt, in isvce_cabac_enc_intra_mb_type() argument 181 encoding_envirnoment_t *ps_cab_enc_env = &(ps_cabac_ctxt->s_cab_enc_env); in isvce_cabac_enc_intra_mb_type() 184 isvce_mb_info_ctxt_t *ps_left_ctxt = ps_cabac_ctxt->ps_left_ctxt_mb_info; in isvce_cabac_enc_intra_mb_type() 185 isvce_mb_info_ctxt_t *ps_top_ctxt = ps_cabac_ctxt->ps_top_ctxt_mb_info; in isvce_cabac_enc_intra_mb_type() 197 pu1_mb_bin_ctxt = ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctx_idx_offset; in isvce_cabac_enc_intra_mb_type() [all …]
|
D | isvce_cabac.c | 159 isvce_cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in isvce_get_cabac_context() local 181 ps_ctx_inc_mb_map = ps_cabac_ctxt->ps_mb_map_ctxt_inc; in isvce_get_cabac_context() 182 ps_cabac_ctxt->ps_curr_ctxt_mb_info = ps_ctx_inc_mb_map + i4_mb_x; in isvce_get_cabac_context() 183 ps_cabac_ctxt->ps_left_ctxt_mb_info = ps_cabac_ctxt->ps_def_ctxt_mb_info; in isvce_get_cabac_context() 184 ps_cabac_ctxt->ps_top_ctxt_mb_info = ps_cabac_ctxt->ps_def_ctxt_mb_info; in isvce_get_cabac_context() 185 ps_lft_csbp = ps_cabac_ctxt->ps_lft_csbp; in isvce_get_cabac_context() 186 ps_cabac_ctxt->pu1_left_y_ac_csbp = &ps_lft_csbp->u1_y_ac_csbp_top_mb; in isvce_get_cabac_context() 187 ps_cabac_ctxt->pu1_left_uv_ac_csbp = &ps_lft_csbp->u1_uv_ac_csbp_top_mb; in isvce_get_cabac_context() 188 ps_cabac_ctxt->pu1_left_yuv_dc_csbp = &ps_lft_csbp->u1_yuv_dc_csbp_top_mb; in isvce_get_cabac_context() 189 ps_cabac_ctxt->pi1_left_ref_idx_ctxt_inc = &ps_cabac_ctxt->i1_left_ref_idx_ctx_inc_arr[0][0]; in isvce_get_cabac_context() [all …]
|
D | isvce_cabac_init.c | 151 isvce_cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in isvce_init_cabac_table() local 152 ps_cabac_ctxt->ps_mb_map_ctxt_inc = ps_cabac_ctxt->ps_mb_map_ctxt_inc_base + 1; in isvce_init_cabac_table() 153 ps_cabac_ctxt->ps_lft_csbp = &ps_cabac_ctxt->s_lft_csbp; in isvce_init_cabac_table() 154 ps_cabac_ctxt->ps_bitstrm = ps_ent_ctxt->ps_bitstrm; in isvce_init_cabac_table() 160 isvce_mb_info_ctxt_t *ps_def_ctxt = ps_cabac_ctxt->ps_mb_map_ctxt_inc - 1; in isvce_init_cabac_table() 169 ps_cabac_ctxt->ps_def_ctxt_mb_info = ps_def_ctxt; in isvce_init_cabac_table() 193 isvce_cabac_ctxt_t *ps_cabac_ctxt = ps_ent_ctxt->ps_cabac; in isvce_init_cabac_ctxt() local 197 bin_ctxt_model *au1_cabac_ctxt_table = ps_cabac_ctxt->au1_cabac_ctxt_table; in isvce_init_cabac_ctxt() 200 isvce_init_cabac_enc_envirnoment(&ps_cabac_ctxt->s_cab_enc_env); in isvce_init_cabac_ctxt() 202 ps_cabac_ctxt->i1_prevps_mb_qp_delta_ctxt = 0; in isvce_init_cabac_ctxt()
|
D | isvce_cabac_utils.h | 49 static FORCEINLINE void isvce_cabac_enc_base_mode_flag(isvce_cabac_ctxt_t *ps_cabac_ctxt, in isvce_cabac_enc_base_mode_flag() argument 57 u1_a = !ps_cabac_ctxt->ps_left_ctxt_mb_info->u1_base_mode_flag; in isvce_cabac_enc_base_mode_flag() 58 u1_b = !ps_cabac_ctxt->ps_top_ctxt_mb_info->u1_base_mode_flag; in isvce_cabac_enc_base_mode_flag() 62 isvce_cabac_encode_bin(ps_cabac_ctxt, u1_base_mode_flag, in isvce_cabac_enc_base_mode_flag() 63 ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctxidx_offset + u1_ctx_inc); in isvce_cabac_enc_base_mode_flag() 66 static FORCEINLINE void isvce_cabac_enc_residual_prediction_flag(isvce_cabac_ctxt_t *ps_cabac_ctxt, in isvce_cabac_enc_residual_prediction_flag() argument 73 isvce_cabac_encode_bin(ps_cabac_ctxt, u1_residual_prediction_flag, in isvce_cabac_enc_residual_prediction_flag() 74 ps_cabac_ctxt->au1_cabac_ctxt_table + u4_ctxidx_offset + u1_ctx_inc); in isvce_cabac_enc_residual_prediction_flag() 77 static FORCEINLINE void isvce_cabac_enc_motion_prediction_flag(isvce_cabac_ctxt_t *ps_cabac_ctxt, in isvce_cabac_enc_motion_prediction_flag() argument 84 isvce_cabac_encode_bin(ps_cabac_ctxt, u1_motion_prediction_flag, in isvce_cabac_enc_motion_prediction_flag() [all …]
|
D | isvce_cabac.h | 149 void isvce_cabac_flush(isvce_cabac_ctxt_t *ps_cabac_ctxt); 173 void isvce_cabac_put_byte(isvce_cabac_ctxt_t *ps_cabac_ctxt);
|
D | isvce_process.c | 545 isvce_cabac_ctxt_t *ps_cabac_ctxt = ps_entropy->ps_cabac; in isvce_entropy() local 914 isvce_cabac_encode_terminate(ps_cabac_ctxt, 0); in isvce_entropy() 952 isvce_cabac_encode_terminate(ps_cabac_ctxt, 1); in isvce_entropy() 1003 isvce_cabac_encode_terminate(ps_cabac_ctxt, 0); in isvce_entropy() 1042 isvce_cabac_encode_terminate(ps_cabac_ctxt, 0); in isvce_entropy() 1067 isvce_cabac_encode_terminate(ps_cabac_ctxt, 1); in isvce_entropy()
|