Home
last modified time | relevance | path

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

/external/libhevc/decoder/
Dihevcd_mv_pred.c109 WORD32 dist_scale_factor; in ihevcd_scale_mv() local
119 dist_scale_factor = (tb * tx + 32) >> 6; in ihevcd_scale_mv()
120 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095); in ihevcd_scale_mv()
125 mvx = SIGN(dist_scale_factor * mvx) in ihevcd_scale_mv()
126 * ((abs(dist_scale_factor * mvx) + 127) >> 8); in ihevcd_scale_mv()
127 mvy = SIGN(dist_scale_factor * mvy) in ihevcd_scale_mv()
128 * ((abs(dist_scale_factor * mvy) + 127) >> 8); in ihevcd_scale_mv()
171 WORD32 dist_scale_factor; in ihevcd_scale_collocated_mv() local
179 dist_scale_factor = (tb * tx + 32) >> 6; in ihevcd_scale_collocated_mv()
180 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095); in ihevcd_scale_collocated_mv()
[all …]
/external/libhevc/encoder/
Dihevce_common_utils.c611 WORD32 dist_scale_factor; in ihevce_scale_mv() local
619 dist_scale_factor = (tb * tx + 32) >> 6; in ihevce_scale_mv()
620 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095); in ihevce_scale_mv()
625 mvx = SIGN(dist_scale_factor * mvx) * ((abs(dist_scale_factor * mvx) + 127) >> 8); in ihevce_scale_mv()
626 mvy = SIGN(dist_scale_factor * mvy) * ((abs(dist_scale_factor * mvy) + 127) >> 8); in ihevce_scale_mv()
Dihevce_mv_pred_merge.c140 WORD32 dist_scale_factor; in ihevce_scale_collocated_mv() local
148 dist_scale_factor = (tb * tx + 32) >> 6; in ihevce_scale_collocated_mv()
149 dist_scale_factor = CLIP3(dist_scale_factor, -4096, 4095); in ihevce_scale_collocated_mv()
154 mvx = SIGN(dist_scale_factor * mvx) * ((abs(dist_scale_factor * mvx) + 127) >> 8); in ihevce_scale_collocated_mv()
155 mvy = SIGN(dist_scale_factor * mvy) * ((abs(dist_scale_factor * mvy) + 127) >> 8); in ihevce_scale_collocated_mv()