Searched refs:refdist (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
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; in scaleforsame_y() local [all …]
|
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()
|
D | vc1.h | 354 int refdist; ///< distance of the current picture from reference member
|
D | rv34.c | 1722 int refdist = GET_PTS_DIFF(r->next_pts, r->last_pts); in ff_rv34_decode_frame() local 1726 if(!refdist){ in ff_rv34_decode_frame() 1730 if (FFMAX(dist0, dist1) > refdist) in ff_rv34_decode_frame() 1733 r->mv_weight1 = (dist0 << 14) / refdist; in ff_rv34_decode_frame() 1734 r->mv_weight2 = (dist1 << 14) / refdist; in ff_rv34_decode_frame()
|
D | diracdec.c | 2001 int64_t refdist, refnum; in dirac_decode_picture_header() local 2018 refdist = INT64_MAX; in dirac_decode_picture_header() 2022 for (j = 0; j < MAX_REFERENCE_FRAMES && refdist; j++) in dirac_decode_picture_header() 2024 && FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum) < refdist) { in dirac_decode_picture_header() 2026 refdist = FFABS(s->ref_frames[j]->avframe->display_picture_number - refnum); in dirac_decode_picture_header() 2029 if (!s->ref_pics[i] || refdist) in dirac_decode_picture_header()
|
D | dxva2_vc1.c | 138 …V_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 0; in fill_picture_parameters()
|
D | vaapi_vc1.c | 334 .reference_distance = v->refdist, in vaapi_vc1_start_frame()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
D | gstvc1parser.h | 454 guint16 refdist; member
|
D | gstvc1parser.c | 1018 decode_refdist (br, &pic->refdist); in parse_frame_header_advanced() 1020 pic->refdist = 0; in parse_frame_header_advanced()
|