Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dvc1_pred.h44 #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()
Dvc1data.h99 #define B_FRACTION_DEN 256 macro
Dvc1data.c150 #if B_FRACTION_DEN == 840 // original bfraction from vc9data.h, not conforming to standard
Dvc1_block.c1899 … 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()