Lines Matching refs:min_cu

242                 WORD32 min_cu = 8;  in ihevcd_sao_ctb()  local
245 for(i = 0; i < (sao_ht_luma + min_cu - 1) / min_cu; i++) in ihevcd_sao_ctb()
249 u4_no_loop_filter_flag &= (1 << ((sao_wd_luma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
262 tmp_wd -= CTZ(u4_no_loop_filter_flag) * min_cu; in ihevcd_sao_ctb()
266 … for(row = 0; row < MIN(min_cu, sao_ht_luma - (i - 1) * min_cu); row++) in ihevcd_sao_ctb()
268 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
277 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
284 pu1_src_tmp += min_cu * src_strd; in ihevcd_sao_ctb()
285 pu1_src_copy += min_cu * tmp_strd; in ihevcd_sao_ctb()
322 WORD32 min_cu = 8; in ihevcd_sao_ctb() local
325 for(i = 0; i < (sao_ht_luma + min_cu - 1) / min_cu; i++) in ihevcd_sao_ctb()
328 u4_no_loop_filter_flag &= (1 << ((sao_wd_luma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
340 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
344 … for(row = 0; row < MIN(min_cu, sao_ht_luma - (i - 1) * min_cu); row++) in ihevcd_sao_ctb()
346 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
355 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
362 pu1_src_tmp += min_cu * src_strd; in ihevcd_sao_ctb()
363 pu1_src_copy += min_cu * tmp_strd; in ihevcd_sao_ctb()
391 WORD32 min_cu = 4; in ihevcd_sao_ctb() local
394 for(i = 0; i < (sao_ht_chroma + min_cu - 1) / min_cu; i++) in ihevcd_sao_ctb()
397 u4_no_loop_filter_flag &= (1 << ((sao_wd_chroma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
410 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
414 … for(row = 0; row < MIN(min_cu, sao_ht_chroma - (i - 1) * min_cu); row++) in ihevcd_sao_ctb()
416 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
425 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
432 pu1_src_tmp += min_cu * src_strd; in ihevcd_sao_ctb()
433 pu1_src_copy += min_cu * tmp_strd; in ihevcd_sao_ctb()
476 WORD32 min_cu = 4; in ihevcd_sao_ctb() local
479 for(i = 0; i < (sao_ht_chroma + min_cu - 1) / min_cu; i++) in ihevcd_sao_ctb()
482 u4_no_loop_filter_flag &= (1 << ((sao_wd_chroma + (min_cu - 1)) / min_cu)) - 1; in ihevcd_sao_ctb()
494 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
498 … for(row = 0; row < MIN(min_cu, sao_ht_chroma - (i - 1) * min_cu); row++) in ihevcd_sao_ctb()
500 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
509 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
516 pu1_src_tmp += min_cu * src_strd; in ihevcd_sao_ctb()
517 pu1_src_copy += min_cu * tmp_strd; in ihevcd_sao_ctb()
627 WORD32 min_cu = (1 << log2_min_cu); in ihevcd_sao_shift_ctb() local
655 i < (sao_blk_ht + (min_cu - 1)) >> log2_min_cu; i++) in ihevcd_sao_shift_ctb()
661 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
677 for(row = 0; row < min_cu; row++) in ihevcd_sao_shift_ctb()
706 WORD32 min_cu = (1 << log2_min_cu); in ihevcd_sao_shift_ctb() local
734 i < (sao_blk_ht + (min_cu - 1)) >> log2_min_cu; i++) in ihevcd_sao_shift_ctb()
740 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
756 for(row = 0; row < min_cu / 2; row++) in ihevcd_sao_shift_ctb()
3351 WORD32 min_cu = (1 << log2_min_cu); in ihevcd_sao_shift_ctb() local
3379 i < (sao_blk_ht + (min_cu - 1)) >> log2_min_cu; i++) in ihevcd_sao_shift_ctb()
3385 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
3400 for(row = 0; row < min_cu; row++) in ihevcd_sao_shift_ctb()
3429 WORD32 min_cu = (1 << log2_min_cu); in ihevcd_sao_shift_ctb() local
3457 i < (sao_blk_ht + (min_cu - 1)) >> log2_min_cu; i++) in ihevcd_sao_shift_ctb()
3463 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
3478 for(row = 0; row < min_cu / 2; row++) in ihevcd_sao_shift_ctb()