Lines Matching refs:sao_wd_luma
128 WORD32 sao_wd_luma; in ihevcd_sao_ctb() local
137 sao_wd_luma = MIN(ctb_size, remaining_cols); in ihevcd_sao_ctb()
225 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_ctb()
227 ps_sao_ctxt->pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_ctb()
229 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_ctb()
248 … ((((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) / 8) % 8); in ihevcd_sao_ctb()
249 u4_no_loop_filter_flag &= (1 << ((sao_wd_luma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
253 WORD32 tmp_wd = sao_wd_luma; in ihevcd_sao_ctb()
281 pu1_src_tmp -= sao_wd_luma; in ihevcd_sao_ctb()
298 sao_wd_luma, in ihevcd_sao_ctb()
303 au1_src_top_right[0] = pu1_src_top_luma[sao_wd_luma]; in ihevcd_sao_ctb()
314 sao_wd_luma, in ihevcd_sao_ctb()
327 …g + i * loop_filter_strd)) >> ((((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) / 8) % 8); in ihevcd_sao_ctb()
328 u4_no_loop_filter_flag &= (1 << ((sao_wd_luma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
332 WORD32 tmp_wd = sao_wd_luma; in ihevcd_sao_ctb()
359 pu1_src_tmp -= sao_wd_luma; in ihevcd_sao_ctb()
785 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
802 pu1_src_luma -= (sao_wd_luma + sao_ht_luma * src_strd); in ihevcd_sao_shift_ctb()
805 …_luma = ps_sao_ctxt->pu1_sao_src_top_luma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma; in ihevcd_sao_shift_ctb()
817 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
819 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
821 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
840 sao_wd_luma, in ihevcd_sao_shift_ctb()
883 …if((0 == (1 << log2_ctb_size) - sao_wd_luma) && (ps_sao_ctxt->i4_ctb_y > 1) && (ps_sao_ctxt->i4_ct… in ihevcd_sao_shift_ctb()
888 else if(!(0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
916 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
947 if((0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1016 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1065 if(0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) in ihevcd_sao_shift_ctb()
1093 au1_src_top_right[0] = pu1_src_top_luma[sao_wd_luma]; in ihevcd_sao_shift_ctb()
1104 sao_wd_luma, in ihevcd_sao_shift_ctb()
1115 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1117 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1119 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
1326 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1456 pu1_src_luma += sao_wd_luma + sao_ht_luma * src_strd; in ihevcd_sao_shift_ctb()
1465 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
1483 … = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + sao_wd_luma); in ihevcd_sao_shift_ctb()
1486 sao_wd_luma += remaining_cols; in ihevcd_sao_shift_ctb()
1502 if(0 != sao_wd_luma) in ihevcd_sao_shift_ctb()
1511 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1513 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1515 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
1533 sao_wd_luma, in ihevcd_sao_shift_ctb()
1718 … if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_luma) in ihevcd_sao_shift_ctb()
1751 sao_wd_luma, in ihevcd_sao_shift_ctb()
1761 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1763 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1765 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
2073 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
2101 pu1_src_luma -= sao_wd_luma; in ihevcd_sao_shift_ctb()
2104 …_luma = ps_sao_ctxt->pu1_sao_src_top_luma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma; in ihevcd_sao_shift_ctb()
2119 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2122 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2124 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
2142 sao_wd_luma, in ihevcd_sao_shift_ctb()
2309 if(0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) in ihevcd_sao_shift_ctb()
2337 au1_src_top_right[0] = pu1_src_top_luma[sao_wd_luma]; in ihevcd_sao_shift_ctb()
2348 sao_wd_luma, in ihevcd_sao_shift_ctb()
2359 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2362 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2364 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
2666 pu1_src_luma += sao_wd_luma; in ihevcd_sao_shift_ctb()
2674 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
2685 … = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) + sao_wd_luma); in ihevcd_sao_shift_ctb()
2688 sao_wd_luma += remaining_cols; in ihevcd_sao_shift_ctb()
2712 if((0 != sao_wd_luma) && (0 != sao_ht_luma)) in ihevcd_sao_shift_ctb()
2721 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2723 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2725 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
2727 … pu1_sao_src_top_left_luma_top_right[0] = pu1_src_luma[(sao_ht_luma - 1) * src_strd + sao_wd_luma]; in ihevcd_sao_shift_ctb()
2745 sao_wd_luma, in ihevcd_sao_shift_ctb()
2947 … if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_luma) in ihevcd_sao_shift_ctb()
2969 au1_src_top_right[0] = pu1_src_luma[sao_wd_luma - src_strd]; in ihevcd_sao_shift_ctb()
2981 sao_wd_luma, in ihevcd_sao_shift_ctb()
2984 … pu1_sao_src_top_left_luma_top_right[0] = pu1_src_luma[(sao_ht_luma - 1) * src_strd + sao_wd_luma]; in ihevcd_sao_shift_ctb()
2985 … pu1_sao_src_top_left_luma_bot_left[0] = pu1_src_luma[(sao_ht_luma)*src_strd + sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2993 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2995 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2997 …ctor.ihevc_memcpy_fptr(pu1_src_top_luma, &pu1_src_luma[(sao_ht_luma - 1) * src_strd], sao_wd_luma); in ihevcd_sao_shift_ctb()
2999 … pu1_sao_src_top_left_luma_top_right[0] = pu1_src_luma[(sao_ht_luma - 1) * src_strd + sao_wd_luma]; in ihevcd_sao_shift_ctb()