/third_party/ffmpeg/libavcodec/ |
D | indeo4.c | 472 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset, blks_per_mb, in decode_mb_info() local 486 mv_x = mv_y = 0; in decode_mb_info() 523 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */ in decode_mb_info() 528 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info() 531 mb->mv_y = ref_mb->mv_y; in decode_mb_info() 562 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info() 569 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info() 572 mb->mv_y = ref_mb->mv_y; in decode_mb_info() 578 mv_y += IVI_TOSIGNED(mv_delta); in decode_mb_info() 583 mb->mv_y = mv_y; in decode_mb_info() [all …]
|
D | indeo5.c | 458 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset, in decode_mb_info() local 479 mv_x = mv_y = 0; in decode_mb_info() 504 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */ in decode_mb_info() 509 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info() 512 mb->mv_y = ref_mb->mv_y; in decode_mb_info() 540 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info() 546 mb->mv_y = ivi_scale_mv(ref_mb->mv_y, mv_scale); in decode_mb_info() 549 mb->mv_y = ref_mb->mv_y; in decode_mb_info() 555 mv_y += IVI_TOSIGNED(mv_delta); in decode_mb_info() 560 mb->mv_y = mv_y; in decode_mb_info() [all …]
|
D | ivi.c | 82 int offs, int mv_x, int mv_y, int mv_x2, int mv_y2, in ivi_mc() argument 85 int ref_offs = offs + mv_y * band->pitch + mv_x; in ivi_mc() 485 int mv_x, int mv_y, in ivi_decode_coded_blocks() argument 578 return ivi_mc(band, mc, mc_avg, offs, mv_x, mv_y, mv_x2, mv_y2, in ivi_decode_coded_blocks() 599 int mv_x = 0, mv_y = 0, mv_x2 = 0, mv_y2 = 0; in ivi_decode_blocks() local 641 mv_y = mb->mv_y; in ivi_decode_blocks() 645 mc_type = ((mv_y & 1) << 1) | (mv_x & 1); in ivi_decode_blocks() 648 mv_y >>= 1; in ivi_decode_blocks() 660 dmv_y = mb->mv_y >> band->is_halfpel; in ivi_decode_blocks() 662 cy = mb->mv_y & band->is_halfpel; in ivi_decode_blocks() [all …]
|
D | eamad.c | 96 int j, int mv_x, int mv_y, int add) in comp_block() argument 99 …unsigned offset = (mb_y*16 + ((j&2)<<2) + mv_y)*t->last_frame->linesize[0] + mb_x*16 + ((j&1)<<3) … in comp_block() 108 … unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame->linesize[index] + mb_x * 8 + (mv_x/2); in comp_block() 213 int av_uninit(mv_x), av_uninit(mv_y); in decode_mb() 221 mv_y = decode_motion(&s->gb); in decode_mb() 229 comp_block(s, frame, s->mb_x, s->mb_y, j, mv_x, mv_y, add); in decode_mb()
|
D | indeo3.c | 233 int h, w, mv_x, mv_y, offset, offset_dst; in copy_cell() local 240 mv_y = cell->mv_ptr[0]; in copy_cell() 243 mv_x= mv_y= 0; in copy_cell() 246 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in copy_cell() 247 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || in copy_cell() 254 offset = offset_dst + mv_y * plane->pitch + mv_x; in copy_cell() 585 int x, mv_x, mv_y, mode, vq_index, prim_indx, second_indx; in decode_cell() local 612 mv_y = cell->mv_ptr[0]; in decode_cell() 616 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in decode_cell() 617 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || in decode_cell() [all …]
|
D | agm.c | 422 int mv_y = s->mvectors[mvpos].y / (1 + !shift); in decode_inter_plane() local 428 if (y * 8 + mv_y < 0 || y * 8 + mv_y + 8 > h || in decode_inter_plane() 433 … prev->data[plane] + ((s->blocks_h - 1 - y) * 8 - mv_y) * prev->linesize[plane] + (x * 8 + mv_x), in decode_inter_plane() 455 int mv_y = s->mvectors[mvpos].y / (1 + !shift); in decode_inter_plane() local 465 if (y * 8 + mv_y < 0 || y * 8 + mv_y + 8 > h || in decode_inter_plane() 470 … prev->data[plane] + ((s->blocks_h - 1 - y) * 8 - mv_y) * prev->linesize[plane] + (x * 8 + mv_x), in decode_inter_plane()
|
D | ivi.h | 118 int8_t mv_y; ///< motion vector (y component) member
|
D | mv30.c | 550 int mv_y = sign_extend(bytestream2_get_ne16(&mv), 16); in decode_inter() local 553 int py = y + mv_y; in decode_inter()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_minterpolate.c | 266 int mv_x, mv_y, i, j; in get_sbad() local 272 …mv_y = av_clip(y_mv - y, -FFMIN(y - me_ctx->y_min, me_ctx->y_max - y), FFMIN(y - me_ctx->y_min, me… in get_sbad() 274 data_cur += (y + mv_y) * linesize; in get_sbad() 275 data_next += (y - mv_y) * linesize; in get_sbad() 295 int mv_x, mv_y, i, j; in get_sbad_ob() local 301 mv_y = av_clip(y_mv - y, -FFMIN(y - y_min, y_max - y), FFMIN(y - y_min, y_max - y)); in get_sbad_ob() 305 …sbad += FFABS(data_cur[x + mv_x + i + (y + mv_y + j) * linesize] - data_next[x - mv_x + i + (y - m… in get_sbad_ob() 320 int mv_y = y_mv - y; in get_sad_ob() local 333 return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sad_ob() 594 int mv_x, mv_y; in var_size_bme() local [all …]
|
D | motion_estimation.h | 61 int mv_x, int mv_y);
|