Lines Matching refs:tmp_wd

251                         WORD32 tmp_wd = sao_wd_luma;  in ihevcd_sao_ctb()  local
253 while(tmp_wd > 0) in ihevcd_sao_ctb()
258 pu1_src_tmp += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
259 pu1_src_copy += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
260 tmp_wd -= CTZ(u4_no_loop_filter_flag) * min_cu; in ihevcd_sao_ctb()
266 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
273 pu1_src_tmp += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
274 pu1_src_copy += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
275 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
330 WORD32 tmp_wd = sao_wd_luma; in ihevcd_sao_ctb() local
331 while(tmp_wd > 0) in ihevcd_sao_ctb()
336 pu1_src_tmp += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
337 pu1_src_copy += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
338 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
344 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
351 pu1_src_tmp += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
352 pu1_src_copy += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
353 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
399 WORD32 tmp_wd = sao_wd_chroma; in ihevcd_sao_ctb() local
401 while(tmp_wd > 0) in ihevcd_sao_ctb()
406 pu1_src_tmp += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
407 pu1_src_copy += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
408 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
414 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
421 pu1_src_tmp += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
422 pu1_src_copy += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
423 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
484 WORD32 tmp_wd = sao_wd_chroma; in ihevcd_sao_ctb() local
485 while(tmp_wd > 0) in ihevcd_sao_ctb()
490 pu1_src_tmp += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
491 pu1_src_copy += MIN((WORD32)CTZ(u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
492 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
498 … for(col = 0; col < MIN((WORD32)CTZ(~u4_no_loop_filter_flag) * min_cu, tmp_wd); col++) in ihevcd_sao_ctb()
505 pu1_src_tmp += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
506 pu1_src_copy += MIN((WORD32)CTZ(~u4_no_loop_filter_flag), tmp_wd); in ihevcd_sao_ctb()
507 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) * min_cu); in ihevcd_sao_ctb()
651 WORD32 tmp_wd = sao_blk_wd; in ihevcd_sao_shift_ctb() local
655 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
660 while(tmp_wd > 0) in ihevcd_sao_shift_ctb()
664 … pu1_src_tmp_luma += MIN((WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
665 … pu1_src_backup_luma += MIN((WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
666 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
673 … for(col = 0; col < MIN((WORD32)(CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); col++) in ihevcd_sao_shift_ctb()
678 … pu1_src_tmp_luma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
679 … pu1_src_backup_luma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
680 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
730 WORD32 tmp_wd = sao_blk_wd; in ihevcd_sao_shift_ctb() local
734 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
739 while(tmp_wd > 0) in ihevcd_sao_shift_ctb()
743 … pu1_src_tmp_chroma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
744 … pu1_src_backup_chroma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
745 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
752 … for(col = 0; col < MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); col++) in ihevcd_sao_shift_ctb()
758 … pu1_src_tmp_chroma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
759 … pu1_src_backup_chroma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
760 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
3375 WORD32 tmp_wd = sao_blk_wd; in ihevcd_sao_shift_ctb() local
3379 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
3383 while(tmp_wd > 0) in ihevcd_sao_shift_ctb()
3387 … pu1_src_tmp_luma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3388 … pu1_src_backup_luma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3389 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
3396 … for(col = 0; col < MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); col++) in ihevcd_sao_shift_ctb()
3401 … pu1_src_tmp_luma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3402 … pu1_src_backup_luma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3403 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
3453 WORD32 tmp_wd = sao_blk_wd; in ihevcd_sao_shift_ctb() local
3457 u4_no_loop_filter_flag &= (1 << ((tmp_wd + (min_cu - 1)) >> log2_min_cu)) - 1; in ihevcd_sao_shift_ctb()
3461 while(tmp_wd > 0) in ihevcd_sao_shift_ctb()
3465 … pu1_src_tmp_chroma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3466 … pu1_src_backup_chroma += MIN(((WORD32)CTZ(u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3467 tmp_wd -= (WORD32)(CTZ(u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()
3474 … for(col = 0; col < MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); col++) in ihevcd_sao_shift_ctb()
3480 … pu1_src_tmp_chroma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3481 … pu1_src_backup_chroma += MIN(((WORD32)CTZ(~u4_no_loop_filter_flag) << log2_min_cu), tmp_wd); in ihevcd_sao_shift_ctb()
3482 tmp_wd -= (WORD32)(CTZ(~u4_no_loop_filter_flag) << log2_min_cu); in ihevcd_sao_shift_ctb()