/third_party/ffmpeg/libavcodec/ |
D | ituh263dec.c | 341 int cbpc, i, pred_x, pred_y, mx, my; in preview_obmc() local 384 mot_val= ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in preview_obmc() 391 my = h263p_decode_umotion(s, pred_y); in preview_obmc() 393 my = ff_h263_decode_motion(s, pred_y, 1); in preview_obmc() 402 mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); in preview_obmc() 409 my = h263p_decode_umotion(s, pred_y); in preview_obmc() 411 my = ff_h263_decode_motion(s, pred_y, 1); in preview_obmc() 412 if (s->umvplus && (mx - pred_x) == 1 && (my - pred_y) == 1) in preview_obmc() 700 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; in ff_h263_decode_mb() local 757 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_h263_decode_mb() [all …]
|
D | motion_est_template.c | 39 const int pred_y= c->pred_y;\ 46 d += (mv_penalty[hx - pred_x] + mv_penalty[hy - pred_y])*penalty_factor;\ 79 dmin += (mv_penalty[2*mx - pred_x] + mv_penalty[2*my - pred_y])*penalty_factor; in hpel_motion_search() 87 + (mv_penalty[bx - pred_x] + mv_penalty[by-2 - pred_y])*c->penalty_factor; in hpel_motion_search() 89 + (mv_penalty[bx-2 - pred_x] + mv_penalty[by - pred_y])*c->penalty_factor; in hpel_motion_search() 91 + (mv_penalty[bx+2 - pred_x] + mv_penalty[by - pred_y])*c->penalty_factor; in hpel_motion_search() 93 + (mv_penalty[bx - pred_x] + mv_penalty[by+2 - pred_y])*c->penalty_factor; in hpel_motion_search() 187 d += (mv_penalty[mx - pred_x] + mv_penalty[my - pred_y])*penalty_factor; in get_mb_score() 203 d += (mv_penalty[hx - pred_x] + mv_penalty[hy - pred_y])*penalty_factor;\ 241 dmin += (mv_penalty[4*mx - pred_x] + mv_penalty[4*my - pred_y])*penalty_factor; in qpel_motion_search() [all …]
|
D | ituh263enc.c | 451 int cbpc, cbpy, i, cbp, pred_x, pred_y; in ff_h263_encode_mb() local 493 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_h263_encode_mb() 497 motion_y - pred_y, 1); in ff_h263_encode_mb() 501 h263p_encode_umotion(&s->pb, motion_y - pred_y); in ff_h263_encode_mb() 502 if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1)) in ff_h263_encode_mb() 520 ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); in ff_h263_encode_mb() 526 motion_y - pred_y, 1); in ff_h263_encode_mb() 530 h263p_encode_umotion(&s->pb, motion_y - pred_y); in ff_h263_encode_mb() 531 if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1)) in ff_h263_encode_mb()
|
D | wmv2enc.c | 152 int pred_x, pred_y; in ff_wmv2_encode_mb() local 170 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_wmv2_encode_mb() 172 motion_y - pred_y); in ff_wmv2_encode_mb()
|
D | msmpeg4enc.c | 381 int pred_x, pred_y; in ff_msmpeg4_encode_mb() local 418 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_msmpeg4_encode_mb() 420 msmpeg4v2_encode_motion(s, motion_y - pred_y); in ff_msmpeg4_encode_mb() 429 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_msmpeg4_encode_mb() 431 motion_y - pred_y); in ff_msmpeg4_encode_mb()
|
D | mpeg4videoenc.c | 479 int cbpc, cbpy, pred_x, pred_y; in ff_mpeg4_encode_mb() local 723 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_mpeg4_encode_mb() 727 motion_y - pred_y, in ff_mpeg4_encode_mb() 749 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in ff_mpeg4_encode_mb() 750 pred_y /= 2; in ff_mpeg4_encode_mb() 757 s->mv[0][0][1] - pred_y, in ff_mpeg4_encode_mb() 761 s->mv[0][1][1] - pred_y, in ff_mpeg4_encode_mb() 778 ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); in ff_mpeg4_encode_mb() 782 … s->current_picture.motion_val[0][s->block_index[i]][1] - pred_y, in ff_mpeg4_encode_mb()
|
D | motion_est.h | 79 int pred_y; member
|
D | motion_est.c | 434 pen_y= pred_y + my; in sad_hpel_motion_search() 607 c->pred_y= pred_y4= P_LEFT[1]; in h263_mv4_search() 622 c->pred_y= pred_y4 = P_MEDIAN[1]; in h263_mv4_search() 713 c->pred_y= my; in h263_mv4_search() 780 c->pred_y= P_LEFT[1]; in interlaced_search() 818 … dmin+= (mv_penalty[mx_i-c->pred_x] + mv_penalty[my_i-c->pred_y] + 1)*c->mb_penalty_factor; in interlaced_search() 949 c->pred_y = P_MEDIAN[1]; in ff_estimate_p_frame_motion() 952 c->pred_y = P_LEFT[1]; in ff_estimate_p_frame_motion() 956 c->pred_y = P_LEFT[1]; in ff_estimate_p_frame_motion() 1087 c->pred_y= P_LEFT[1]; in ff_pre_estimate_p_frame_motion() [all …]
|
D | svq1enc.c | 408 int mx, my, pred_x, pred_y, dxy; in svq1_encode_plane() local 411 motion_ptr = ff_h263_pred_motion(&s->m, 0, 0, &pred_x, &pred_y); in svq1_encode_plane() 426 av_assert1(pred_y >= -32 && pred_y <= 31); in svq1_encode_plane() 428 ff_h263_encode_motion(&s->m.pb, my - pred_y, 1); in svq1_encode_plane()
|
D | mpeg4videodec.c | 749 int mx, my, pred_x, pred_y, bits; in mpeg4_decode_partition_a() local 827 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in mpeg4_decode_partition_a() 833 my = ff_h263_decode_motion(s, pred_y, s->f_code); in mpeg4_decode_partition_a() 859 int16_t *mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); in mpeg4_decode_partition_a() 864 my = ff_h263_decode_motion(s, pred_y, s->f_code); in mpeg4_decode_partition_a() 1403 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; in mpeg4_decode_mb() local 1497 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in mpeg4_decode_mb() 1504 my = ff_h263_decode_motion(s, pred_y / 2, s->f_code); in mpeg4_decode_mb() 1515 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in mpeg4_decode_mb() 1521 my = ff_h263_decode_motion(s, pred_y, s->f_code); in mpeg4_decode_mb() [all …]
|
D | snowenc.c | 326 c->pred_y= P_LEFT[1]; in encode_q_branch() 329 c->pred_y = P_MEDIAN[1]; in encode_q_branch()
|
D | mpegvideo_enc.c | 2838 int pred_x, pred_y; in write_mb_info() local 2840 ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); in write_mb_info() 2846 bytestream_put_byte(&ptr, pred_y); /* vmv1 */ in write_mb_info()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_mestimate.c | 241 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in filter_frame() 244 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in filter_frame() 247 me_ctx->pred_y = preds[0].mvs[1][1]; in filter_frame() 250 me_ctx->pred_y = 0; in filter_frame() 290 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in filter_frame() 293 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in filter_frame() 296 me_ctx->pred_y = preds[0].mvs[1][1]; in filter_frame() 299 me_ctx->pred_y = 0; in filter_frame()
|
D | vf_minterpolate.c | 281 return sbad + (FFABS(mv_x1 - me_ctx->pred_x) + FFABS(mv_y1 - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sbad() 307 return sbad + (FFABS(mv_x1 - me_ctx->pred_x) + FFABS(mv_y1 - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sbad_ob() 333 return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sad_ob() 482 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in search_mv() 485 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in search_mv() 488 me_ctx->pred_y = preds[0].mvs[1][1]; in search_mv() 491 me_ctx->pred_y = 0; in search_mv() 548 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in search_mv() 551 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in search_mv() 554 me_ctx->pred_y = preds[0].mvs[1][1]; in search_mv() [all …]
|
D | motion_estimation.h | 57 int pred_y; ///< median predictor y member
|
D | motion_estimation.c | 346 COST_P_MV(x_mb + me_ctx->pred_x, y_mb + me_ctx->pred_y); in ff_me_search_epzs() 388 COST_P_MV(x_mb + me_ctx->pred_x, y_mb + me_ctx->pred_y); in ff_me_search_umh()
|