Home
last modified time | relevance | path

Searched refs:u1_win_q_shift (Results 1 – 1 of 1) sorted by relevance

/external/libhevc/encoder/
Dihevce_frame_process_utils.c218 unsigned char u1_win_q_shift) in calc_block_ssim() argument
257 u2_win_q_rounding = (1 << u1_win_q_shift) >> 1; in calc_block_ssim()
262 u4_wtd_ref_mean >>= (u1_win_q_shift - 8); in calc_block_ssim()
263 u4_wtd_tst_mean >>= (u1_win_q_shift - 8); in calc_block_ssim()
266 u4_wtd_ref_mean_sq = (u4_wtd_ref_mean * u4_wtd_ref_mean + 16) >> (16 - u1_win_q_shift); in calc_block_ssim()
267 u4_wtd_tst_mean_sq = (u4_wtd_tst_mean * u4_wtd_tst_mean + 16) >> (16 - u1_win_q_shift); in calc_block_ssim()
269 (16 - u1_win_q_shift); in calc_block_ssim()
288 u4_num = ((u4_wtd_ref_tst_mean_prod << 1) + C1) << (12 - u1_win_q_shift); in calc_block_ssim()
290 u1_win_q_shift; in calc_block_ssim()
303 u4_num = (u4_num + u2_win_q_rounding) >> u1_win_q_shift; in calc_block_ssim()
[all …]