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()
786 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
803 pu1_src_luma -= (sao_wd_luma + sao_ht_luma * src_strd); in ihevcd_sao_shift_ctb()
806 …_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()
818 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
820 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
822 …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()
841 sao_wd_luma, in ihevcd_sao_shift_ctb()
884 …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()
889 else if(!(0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
917 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
948 if((0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1017 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1066 if(0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) in ihevcd_sao_shift_ctb()
1094 au1_src_top_right[0] = pu1_src_top_luma[sao_wd_luma]; in ihevcd_sao_shift_ctb()
1105 sao_wd_luma, in ihevcd_sao_shift_ctb()
1116 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1118 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1120 …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()
1327 if((0 == (1 << log2_ctb_size) - sao_wd_luma)) in ihevcd_sao_shift_ctb()
1457 pu1_src_luma += sao_wd_luma + sao_ht_luma * src_strd; in ihevcd_sao_shift_ctb()
1466 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
1484 … = 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()
1487 sao_wd_luma += remaining_cols; in ihevcd_sao_shift_ctb()
1503 if(0 != sao_wd_luma) in ihevcd_sao_shift_ctb()
1512 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1514 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1516 …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()
1534 sao_wd_luma, in ihevcd_sao_shift_ctb()
1719 … 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()
1752 sao_wd_luma, in ihevcd_sao_shift_ctb()
1762 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
1764 pu1_sao_src_luma_top_left_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
1766 …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()
2074 WORD32 sao_wd_luma = SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
2102 pu1_src_luma -= sao_wd_luma; in ihevcd_sao_shift_ctb()
2105 …_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()
2120 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2123 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2125 …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()
2143 sao_wd_luma, in ihevcd_sao_shift_ctb()
2310 if(0 == (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) in ihevcd_sao_shift_ctb()
2338 au1_src_top_right[0] = pu1_src_top_luma[sao_wd_luma]; in ihevcd_sao_shift_ctb()
2349 sao_wd_luma, in ihevcd_sao_shift_ctb()
2360 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2363 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2365 …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()
2667 pu1_src_luma += sao_wd_luma; in ihevcd_sao_shift_ctb()
2675 WORD32 sao_wd_luma = ctb_size - SAO_SHIFT_CTB; in ihevcd_sao_shift_ctb() local
2686 … = 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()
2689 sao_wd_luma += remaining_cols; in ihevcd_sao_shift_ctb()
2713 if((0 != sao_wd_luma) && (0 != sao_ht_luma)) in ihevcd_sao_shift_ctb()
2722 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2724 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2726 …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()
2728 … 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()
2746 sao_wd_luma, in ihevcd_sao_shift_ctb()
2948 … 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()
2970 au1_src_top_right[0] = pu1_src_luma[sao_wd_luma - src_strd]; in ihevcd_sao_shift_ctb()
2982 sao_wd_luma, in ihevcd_sao_shift_ctb()
2985 … 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()
2986 … 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()
2994 pu1_src_left_luma[row] = pu1_src_luma[row * src_strd + (sao_wd_luma - 1)]; in ihevcd_sao_shift_ctb()
2996 pu1_sao_src_top_left_luma_curr_ctb[0] = pu1_src_top_luma[sao_wd_luma - 1]; in ihevcd_sao_shift_ctb()
2998 …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()
3000 … 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()