Lines Matching refs:log_wd
203 WORD32 log_wd, in ih264_weighted_pred_luma() argument
217 if(log_wd >= 1) in ih264_weighted_pred_luma()
219 WORD32 i_ofst = (1 << (log_wd - 1)) + (ofst << log_wd); in ih264_weighted_pred_luma()
223 *pu1_dst = CLIP_U8((wt * (*pu1_src) + i_ofst) >> log_wd); in ih264_weighted_pred_luma()
277 WORD32 log_wd, in ih264_weighted_pred_chroma() argument
296 if(log_wd >= 1) in ih264_weighted_pred_chroma()
298 ofst_u = (1 << (log_wd - 1)) + (ofst_u << log_wd); in ih264_weighted_pred_chroma()
299 ofst_v = (1 << (log_wd - 1)) + (ofst_v << log_wd); in ih264_weighted_pred_chroma()
305 *pu1_dst = CLIP_U8((wt_u * (*pu1_src) + ofst_u) >> log_wd); in ih264_weighted_pred_chroma()
308 *pu1_dst = CLIP_U8((wt_v * (*pu1_src) + ofst_v) >> log_wd); in ih264_weighted_pred_chroma()
372 WORD32 log_wd, in ih264_weighted_bi_pred_luma() argument
389 shft = log_wd + 1; in ih264_weighted_bi_pred_luma()
390 ofst = (1 << log_wd) + (ofst << shft); in ih264_weighted_bi_pred_luma()
448 WORD32 log_wd, in ih264_weighted_bi_pred_chroma() argument
477 shft = log_wd + 1; in ih264_weighted_bi_pred_chroma()
478 ofst_u = (1 << log_wd) + (ofst_u << shft); in ih264_weighted_bi_pred_chroma()
479 ofst_v = (1 << log_wd) + (ofst_v << shft); in ih264_weighted_bi_pred_chroma()