Searched refs:B_FRACTION_DEN (Results 1 – 4 of 4) sorted by relevance
44 #if B_FRACTION_DEN==256 in scale_mv()52 n -= B_FRACTION_DEN; in scale_mv()54 return 2 * ((value * n + B_FRACTION_DEN - 1) / (2 * B_FRACTION_DEN)); in scale_mv()55 return (value * n + B_FRACTION_DEN/2) / B_FRACTION_DEN; in scale_mv()
99 #define B_FRACTION_DEN 256 macro
150 #if B_FRACTION_DEN == 840 // original bfraction from vc9data.h, not conforming to standard
1899 … bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_BACKWARD : BMV_TYPE_FORWARD; in vc1_decode_b_mb()1902 … bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_FORWARD : BMV_TYPE_BACKWARD; in vc1_decode_b_mb()2313 … bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_BACKWARD : BMV_TYPE_FORWARD; in vc1_decode_b_mb_intfr()2316 … bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_FORWARD : BMV_TYPE_BACKWARD; in vc1_decode_b_mb_intfr()