Home
last modified time | relevance | path

Searched refs:bfraction (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dvc1_pred.c727 s->mv[0][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 0, s->quarter_sample); in ff_vc1_pred_b_mv()
728 s->mv[0][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 0, s->quarter_sample); in ff_vc1_pred_b_mv()
729 s->mv[1][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 1, s->quarter_sample); in ff_vc1_pred_b_mv()
730 s->mv[1][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 1, s->quarter_sample); in ff_vc1_pred_b_mv()
902 v->bfraction, 0, s->quarter_sample); in ff_vc1_pred_b_mv_intfi()
904 v->bfraction, 0, s->quarter_sample); in ff_vc1_pred_b_mv_intfi()
906 v->bfraction, 1, s->quarter_sample); in ff_vc1_pred_b_mv_intfi()
908 v->bfraction, 1, s->quarter_sample); in ff_vc1_pred_b_mv_intfi()
H A Dvc1.h270 int16_t bfraction; ///< Relative position % anchors=> how to scale MVs member
H A Dvc1_block.c1900 bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_BACKWARD : BMV_TYPE_FORWARD; in vc1_decode_b_mb()
1903 bmvtype = (v->bfraction >= (B_FRACTION_DEN/2)) ? BMV_TYPE_FORWARD : BMV_TYPE_BACKWARD; in vc1_decode_b_mb()
2282 s->mv[0][0][0] = s->current_picture.motion_val[0][s->block_index[0]][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0]][0], v->bfraction, 0, s->quarter_sample); in vc1_decode_b_mb_intfr()
2283 s->mv[0][0][1] = s->current_picture.motion_val[0][s->block_index[0]][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0]][1], v->bfraction, 0, s->quarter_sample); in vc1_decode_b_mb_intfr()
2284 s->mv[1][0][0] = s->current_picture.motion_val[1][s->block_index[0]][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0]][0], v->bfraction, 1, s->quarter_sample); in vc1_decode_b_mb_intfr()
2285 s->mv[1][0][1] = s->current_picture.motion_val[1][s->block_index[0]][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0]][1], v->bfraction, 1, s->quarter_sample); in vc1_decode_b_mb_intfr()
2288 s->mv[0][2][0] = s->current_picture.motion_val[0][s->block_index[2]][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[2]][0], v->bfraction, 0, s->quarter_sample); in vc1_decode_b_mb_intfr()
2289 s->mv[0][2][1] = s->current_picture.motion_val[0][s->block_index[2]][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[2]][1], v->bfraction, 0, s->quarter_sample); in vc1_decode_b_mb_intfr()
2290 s->mv[1][2][0] = s->current_picture.motion_val[1][s->block_index[2]][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[2]][0], v->bfraction, 1, s->quarter_sample); in vc1_decode_b_mb_intfr()
2291 s->mv[1][2][1] = s->current_picture.motion_val[1][s->block_index[2]][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[2]][1], v->bfraction, in vc1_decode_b_mb_intfr()
[all...]
H A Dvc1.c619 av_log(v->s.avctx, AV_LOG_ERROR, "bfraction invalid\n"); in read_bfraction()
623 v->bfraction = ff_vc1_bfraction_lut[v->bfraction_lut_index]; in read_bfraction()
659 if (v->bfraction == 0) { in ff_vc1_parse_frame_header()
953 v->frfd = (v->bfraction * v->refdist) >> 8; in ff_vc1_parse_frame_header_adv()
966 if (v->bfraction == 0) { in ff_vc1_parse_frame_header_adv()
1213 if (v->bfraction == 0) { in ff_vc1_parse_frame_header_adv()

Completed in 9 milliseconds