Home
last modified time | relevance | path

Searched refs:ps_sao_ctxt (Results 1 – 9 of 9) sorted by relevance

/external/libhevc/encoder/
Dihevce_sao.c119 UWORD8 *pu1_avail, sao_ctxt_t *ps_sao_ctxt, ihevce_tile_params_t *ps_tile_params) in ihevce_sao_set_avilability() argument
123 WORD32 ctb_x_pos = ps_sao_ctxt->i4_ctb_x; in ihevce_sao_set_avilability()
124 WORD32 ctb_y_pos = ps_sao_ctxt->i4_ctb_y; in ihevce_sao_set_avilability()
192 void ihevce_sao_ctb(sao_ctxt_t *ps_sao_ctxt, ihevce_tile_params_t *ps_tile_params) in ihevce_sao_ctb() argument
206 UWORD8 u1_is_422 = (ps_sao_ctxt->ps_sps->i1_chroma_format_idc == 2); in ihevce_sao_ctb()
208 ps_sao = ps_sao_ctxt->ps_sao; in ihevce_sao_ctb()
223 if(ps_sao_ctxt->i1_slice_sao_luma_flag) in ihevce_sao_ctb()
226 luma_src_stride = ps_sao_ctxt->i4_cur_luma_recon_stride; in ihevce_sao_ctb()
228 ctb_size = ps_sao_ctxt->i4_ctb_size; in ihevce_sao_ctb()
232 sao_blk_wd = ps_sao_ctxt->i4_sao_blk_wd; in ihevce_sao_ctb()
[all …]
Dihevce_common_utils.c1075 sao_ctxt_t *ps_sao_ctxt = (sao_ctxt_t *)pv_sao_ctxt; in ihevce_get_chroma_eo_sao_params() local
1078 row_end = ps_sao_ctxt->i4_sao_blk_ht >> 1; in ihevce_get_chroma_eo_sao_params()
1080 col_end = ps_sao_ctxt->i4_sao_blk_wd; in ihevce_get_chroma_eo_sao_params()
1082 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_chroma_eo_sao_params()
1087 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_chroma_eo_sao_params()
1090 col_end = ps_sao_ctxt->i4_sao_blk_wd - 2; in ihevce_get_chroma_eo_sao_params()
1093 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_chroma_eo_sao_params()
1098 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_chroma_eo_sao_params()
1129 c = ps_sao_ctxt in ihevce_get_chroma_eo_sao_params()
1130 ->pu1_cur_chroma_recon_buf[col + row * ps_sao_ctxt->i4_cur_chroma_recon_stride]; in ihevce_get_chroma_eo_sao_params()
[all …]
Dihevce_enc_loop_pass.c2523 sao_ctxt_t *ps_sao_ctxt = &ps_ctxt->s_sao_ctxt_t; in ihevce_enc_loop_process_row() local
2544 ps_sao_ctxt->i4_ctb_x = ctb_ctr; in ihevce_enc_loop_process_row()
2547 ps_sao_ctxt->i4_ctb_y = vert_ctr - 1; in ihevce_enc_loop_process_row()
2549 ps_ctb_out_sao = ps_sao_ctxt->ps_ctb_out + in ihevce_enc_loop_process_row()
2551 ps_sao_ctxt->ps_sao = &ps_ctb_out_sao->s_sao; in ihevce_enc_loop_process_row()
2552 ps_sao_ctxt->i4_sao_blk_wd = ctb_size; in ihevce_enc_loop_process_row()
2553 ps_sao_ctxt->i4_sao_blk_ht = ctb_size; in ihevce_enc_loop_process_row()
2555 ps_sao_ctxt->i4_is_last_ctb_row = 0; in ihevce_enc_loop_process_row()
2556 ps_sao_ctxt->i4_is_last_ctb_col = 0; in ihevce_enc_loop_process_row()
2560 ps_sao_ctxt->i4_is_last_ctb_col = 1; in ihevce_enc_loop_process_row()
[all …]
Dihevce_sao.h68 void ihevce_sao_ctb(sao_ctxt_t *ps_sao_ctxt, ihevce_tile_params_t *ps_tile_params);
71 sao_ctxt_t *ps_sao_ctxt,
/external/libhevc/decoder/
Dihevcd_sao.c83 void ihevcd_sao_ctb(sao_ctxt_t *ps_sao_ctxt) in ihevcd_sao_ctb() argument
85 codec_t *ps_codec = ps_sao_ctxt->ps_codec; in ihevcd_sao_ctb()
114 ps_sps = ps_sao_ctxt->ps_sps; in ihevcd_sao_ctb()
117 src_strd = ps_sao_ctxt->ps_codec->i4_strd; in ihevcd_sao_ctb()
118 …pu1_src_luma = ps_sao_ctxt->pu1_cur_pic_luma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * p… in ihevcd_sao_ctb()
119 …pu1_src_chroma = ps_sao_ctxt->pu1_cur_pic_chroma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y… in ihevcd_sao_ctb()
121 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_ctb()
134 … remaining_cols = ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
138 … remaining_rows = ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb()
142 … pu1_src_top_luma = ps_sao_ctxt->pu1_sao_src_top_luma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
[all …]
Dihevcd_sao.h37 void ihevcd_sao_ctb(sao_ctxt_t *ps_sao_ctxt);
38 void ihevcd_sao_shift_ctb(sao_ctxt_t *ps_sao_ctxt);
Dihevcd_ilf_padding.c79 void ihevcd_ilf_pad_frame(deblk_ctxt_t *ps_deblk_ctxt, sao_ctxt_t *ps_sao_ctxt) in ihevcd_ilf_pad_frame() argument
105 ps_sao_ctxt->i4_ctb_x = i4_ctb_x; in ihevcd_ilf_pad_frame()
106 ps_sao_ctxt->i4_ctb_y = i4_ctb_y; in ihevcd_ilf_pad_frame()
150 ihevcd_sao_ctb(ps_sao_ctxt); in ihevcd_ilf_pad_frame()
Dihevcd_ilf_padding.h41 void ihevcd_ilf_pad_frame(deblk_ctxt_t *ps_deblk_ctxt, sao_ctxt_t *ps_sao_ctxt);
/external/libhevc/encoder/arm/
Dihevce_common_utils_neon.c483 sao_ctxt_t *ps_sao_ctxt = (sao_ctxt_t *)pv_sao_ctxt; in ihevce_get_luma_eo_sao_params_neon() local
484 const WORD32 i4_luma_recon_strd = ps_sao_ctxt->i4_cur_luma_recon_stride; in ihevce_get_luma_eo_sao_params_neon()
485 const WORD32 i4_luma_src_strd = ps_sao_ctxt->i4_cur_luma_src_stride; in ihevce_get_luma_eo_sao_params_neon()
493 row_end = ps_sao_ctxt->i4_sao_blk_ht; in ihevce_get_luma_eo_sao_params_neon()
494 col_end = ps_sao_ctxt->i4_sao_blk_wd; in ihevce_get_luma_eo_sao_params_neon()
496 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_luma_eo_sao_params_neon()
501 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_luma_eo_sao_params_neon()
507 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_luma_eo_sao_params_neon()
512 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_luma_eo_sao_params_neon()
520 ps_sao_ctxt->pu1_cur_luma_recon_buf + col_start + (row_start * i4_luma_recon_strd); in ihevce_get_luma_eo_sao_params_neon()
[all …]