Searched refs:iDistScale (Results 1 – 1 of 1) sorted by relevance
1122 IMG_INT iDistScale; in tng_update_driver_mv_scaling() local1128 iDistScale = (tb * tx + 32) >> 6; in tng_update_driver_mv_scaling()1129 if (iDistScale > 1023) iDistScale = 1023; in tng_update_driver_mv_scaling()1130 if (iDistScale < -1024) iDistScale = -1024; in tng_update_driver_mv_scaling()1131 uMvCalcColocated |= F_ENCODE(iDistScale, TOPAZHP_CR_COL_DIST_SCALE_FACT); in tng_update_driver_mv_scaling()1137 uMvCalcBelow |= F_ENCODE(iDistScale, TOPAZHP_CR_PIC0_DIST_SCALE_FACTOR); in tng_update_driver_mv_scaling()1143 iDistScale = (tb * tx + 32) >> 6; in tng_update_driver_mv_scaling()1144 if (iDistScale > 1023) iDistScale = 1023; in tng_update_driver_mv_scaling()1145 if (iDistScale < -1024) iDistScale = -1024; in tng_update_driver_mv_scaling()1146 uMvCalcBelow |= F_ENCODE(iDistScale, TOPAZHP_CR_PIC1_DIST_SCALE_FACTOR); in tng_update_driver_mv_scaling()