Lines Matching refs:SAO_SHIFT_CTB

78 #define SAO_SHIFT_CTB    8  macro
628 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
633 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
634 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
635 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
637 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
640 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB : 0; in ihevcd_sao_shift_ctb()
641 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
653 for(i = -(ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
707 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
712 …height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
713 …_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
714 if(remaining_rows <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
716 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
719 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB * 2 : 0; in ihevcd_sao_shift_ctb()
720 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
732 for(i = -(ps_sao_ctxt->i4_ctb_y ? 2 * SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
785 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
786 WORD32 sao_wd_chroma = 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
787 WORD32 sao_ht_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
788 WORD32 sao_ht_chroma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1465 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1466 WORD32 sao_wd_chroma = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1467 WORD32 sao_ht_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1468 WORD32 sao_ht_chroma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1484 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
1489 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2073 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2074 WORD32 sao_wd_chroma = 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2075 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2076 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2091 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2096 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2674 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2675 WORD32 sao_wd_chroma = ctb_size - SAO_SHIFT_CTB * 2; in ihevcd_sao_shift_ctb()
2676 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2677 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2686 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2691 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2697 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2702 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3352 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3357 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3358 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3359 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3361 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3364 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB : 0; in ihevcd_sao_shift_ctb()
3365 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
3377 for(i = -(ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
3430 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3435 …height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3436 …_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3437 if(remaining_rows <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3439 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3442 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB * 2 : 0; in ihevcd_sao_shift_ctb()
3443 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
3455 for(i = -(ps_sao_ctxt->i4_ctb_y ? 2 * SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()