Lines Matching refs:SAO_SHIFT_CTB
78 #define SAO_SHIFT_CTB 8 macro
623 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
628 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
629 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
630 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
632 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
635 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB : 0; in ihevcd_sao_shift_ctb()
636 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
648 for(i = -(ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
702 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
707 …height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
708 …_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
709 if(remaining_rows <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
711 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
714 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB * 2 : 0; in ihevcd_sao_shift_ctb()
715 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
727 for(i = -(ps_sao_ctxt->i4_ctb_y ? 2 * SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
780 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
781 WORD32 sao_wd_chroma = 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
782 WORD32 sao_ht_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
783 WORD32 sao_ht_chroma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1460 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1461 WORD32 sao_wd_chroma = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1462 WORD32 sao_ht_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1463 WORD32 sao_ht_chroma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
1479 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
1484 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2068 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2069 WORD32 sao_wd_chroma = 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2070 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2071 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2086 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2091 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2669 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2670 WORD32 sao_wd_chroma = ctb_size - SAO_SHIFT_CTB * 2; in ihevcd_sao_shift_ctb()
2671 WORD32 sao_ht_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2672 WORD32 sao_ht_chroma = ctb_size / 2 - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
2681 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2686 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2692 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
2697 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3347 WORD32 sao_blk_ht = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3352 …pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3353 …_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3354 if(remaining_rows <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3356 if(remaining_cols <= SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3359 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB : 0; in ihevcd_sao_shift_ctb()
3360 pu1_src_tmp_luma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
3372 for(i = -(ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()
3425 WORD32 sao_blk_ht = ctb_size - 2 * SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb()
3430 …height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3431 …_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + ctb_size - 2 * SAO_SHIFT_CTB); in ihevcd_sao_shift_ctb()
3432 if(remaining_rows <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3434 if(remaining_cols <= 2 * SAO_SHIFT_CTB) in ihevcd_sao_shift_ctb()
3437 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_x ? SAO_SHIFT_CTB * 2 : 0; in ihevcd_sao_shift_ctb()
3438 pu1_src_tmp_chroma -= ps_sao_ctxt->i4_ctb_y ? SAO_SHIFT_CTB * src_strd : 0; in ihevcd_sao_shift_ctb()
3450 for(i = -(ps_sao_ctxt->i4_ctb_y ? 2 * SAO_SHIFT_CTB : 0) >> log2_min_cu; in ihevcd_sao_shift_ctb()