Lines Matching refs:ctb_size
89 WORD32 ctb_size; in ihevcd_sao_ctb() local
118 ctb_size = (1 << log2_ctb_size); in ihevcd_sao_ctb()
137 sao_wd_luma = MIN(ctb_size, remaining_cols); in ihevcd_sao_ctb()
138 sao_wd_chroma = MIN(ctb_size, remaining_cols); in ihevcd_sao_ctb()
141 sao_ht_luma = MIN(ctb_size, remaining_rows); in ihevcd_sao_ctb()
142 sao_ht_chroma = MIN(ctb_size, remaining_rows) / 2; in ihevcd_sao_ctb()
150 ((ps_sao_ctxt->i4_ctb_y * ctb_size) / 8) * loop_filter_strd + in ihevcd_sao_ctb()
151 ((ps_sao_ctxt->i4_ctb_x * ctb_size) / 64); in ihevcd_sao_ctb()
532 WORD32 ctb_size; in ihevcd_sao_shift_ctb() local
589 ctb_size = (1 << log2_ctb_size); in ihevcd_sao_shift_ctb()
629 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
630 WORD32 sao_blk_wd = ctb_size; in ihevcd_sao_shift_ctb()
634 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
635 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
708 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
709 WORD32 sao_blk_wd = ctb_size; in ihevcd_sao_shift_ctb()
713 …ic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_C… in ihevcd_sao_shift_ctb()
714 …pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_C… in ihevcd_sao_shift_ctb()
1405 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_y != ps_sps->i2_pic_ht_in_ctb - 1)) in ihevcd_sao_shift_ctb()
1466 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1467 WORD32 sao_wd_chroma = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2076 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2077 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2612 … if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_x != ps_sps->i2_pic_wd_in_ctb - 1)) in ihevcd_sao_shift_ctb()
2675 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2676 WORD32 sao_wd_chroma = ctb_size - SAO_SHIFT_CTB * 2; in ihevcd_sao_shift_ctb()
2677 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2678 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3353 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3354 WORD32 sao_blk_wd = ctb_size; in ihevcd_sao_shift_ctb()
3358 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3359 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3431 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3432 WORD32 sao_blk_wd = ctb_size; in ihevcd_sao_shift_ctb()
3436 …ic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_C… in ihevcd_sao_shift_ctb()
3437 …pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_C… in ihevcd_sao_shift_ctb()