Searched refs:refdist (Results 1 - 7 of 7) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | vc1_pred.c | 38 int scaledvalue, refdist; in scaleforsame_x() local 44 refdist = v->refdist; in scaleforsame_x() 46 refdist = dir ? v->brfd : v->frfd; in scaleforsame_x() 47 if (refdist > 3) in scaleforsame_x() 48 refdist = 3; in scaleforsame_x() 49 scalesame1 = ff_vc1_field_mvpred_scales[table_index][1][refdist]; in scaleforsame_x() 50 scalesame2 = ff_vc1_field_mvpred_scales[table_index][2][refdist]; in scaleforsame_x() 51 scalezone1_x = ff_vc1_field_mvpred_scales[table_index][3][refdist]; in scaleforsame_x() 52 zone1offset_x = ff_vc1_field_mvpred_scales[table_index][5][refdist]; in scaleforsame_x() 71 int scaledvalue, refdist; scaleforsame_y() local 188 int refdist, scaleopp; scaleforopp() local [all...] |
H A D | vc1.h | 352 int refdist; ///< distance of the current picture from reference member
|
H A D | vc1.c | 942 v->refdist = 0; in ff_vc1_parse_frame_header_adv() 944 v->refdist = get_bits(gb, 2); in ff_vc1_parse_frame_header_adv() 945 if (v->refdist == 3) in ff_vc1_parse_frame_header_adv() 946 v->refdist += get_unary(gb, 0, 14); in ff_vc1_parse_frame_header_adv() 947 if (v->refdist > 16) in ff_vc1_parse_frame_header_adv() 953 v->frfd = (v->bfraction * v->refdist) >> 8; in ff_vc1_parse_frame_header_adv() 954 v->brfd = v->refdist - v->frfd - 1; in ff_vc1_parse_frame_header_adv()
|
H A D | rv34.c | 1713 int refdist = GET_PTS_DIFF(r->next_pts, r->last_pts); in ff_rv34_decode_frame() local 1717 if(!refdist){ in ff_rv34_decode_frame() 1721 if (FFMAX(dist0, dist1) > refdist) in ff_rv34_decode_frame() 1724 r->mv_weight1 = (dist0 << 14) / refdist; in ff_rv34_decode_frame() 1725 r->mv_weight2 = (dist1 << 14) / refdist; in ff_rv34_decode_frame()
|
H A D | diracdec.c | 2002 int64_t refdist, refnum; in dirac_decode_picture_header() local 2019 refdist = INT64_MAX; in dirac_decode_picture_header() 2023 for (j = 0; j < MAX_REFERENCE_FRAMES && refdist; j++) in dirac_decode_picture_header() 2025 && FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum) < refdist) { in dirac_decode_picture_header() 2027 refdist = FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum); in dirac_decode_picture_header() 2030 if (!s->ref_pics[i] || refdist) in dirac_decode_picture_header()
|
H A D | dxva2_vc1.c | 141 pp->bMV_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 0; in fill_picture_parameters()
|
H A D | vaapi_vc1.c | 336 .reference_distance = v->refdist, in vaapi_vc1_start_frame()
|
Completed in 13 milliseconds