Home
last modified time | relevance | path

Searched refs:mv_x (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dindeo4.c472 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()
527 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
530 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
562 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
568 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
571 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
581 mv_x += IVI_TOSIGNED(mv_delta); in decode_mb_info()
582 mb->mv_x = mv_x; in decode_mb_info()
[all …]
Dindeo5.c458 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()
508 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
511 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
540 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
545 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
548 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
558 mv_x += IVI_TOSIGNED(mv_delta); in decode_mb_info()
559 mb->mv_x = mv_x; in decode_mb_info()
[all …]
Divi.c82 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
640 mv_x = mb->mv_x; in ivi_decode_blocks()
645 mc_type = ((mv_y & 1) << 1) | (mv_x & 1); in ivi_decode_blocks()
647 mv_x >>= 1; in ivi_decode_blocks()
659 dmv_x = mb->mv_x >> band->is_halfpel; in ivi_decode_blocks()
661 cx = mb->mv_x & band->is_halfpel; in ivi_decode_blocks()
[all …]
Deamad.c96 int j, int mv_x, int mv_y, int add) in comp_block() argument
99 …ed offset = (mb_y*16 + ((j&2)<<2) + mv_y)*t->last_frame->linesize[0] + mb_x*16 + ((j&1)<<3) + mv_x; 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()
220 mv_x = 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()
Dindeo3.c233 int h, w, mv_x, mv_y, offset, offset_dst; in copy_cell() local
241 mv_x = cell->mv_ptr[1]; 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()
248 ((cell->xpos + cell->width) << 2) + mv_x > plane->width) { 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
613 mv_x = cell->mv_ptr[1]; in decode_cell()
616 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in decode_cell()
618 ((cell->xpos + cell->width) << 2) + mv_x > plane->width) { in decode_cell()
[all …]
Dagm.c421 int mv_x = s->mvectors[mvpos].x / (1 + !shift); in decode_inter_plane() local
429 x * 8 + mv_x < 0 || x * 8 + mv_x + 8 > w) 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()
454 int mv_x = s->mvectors[mvpos].x / (1 + !shift); in decode_inter_plane() local
466 x * 8 + mv_x < 0 || x * 8 + mv_x + 8 > w) 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()
Divi.h117 int8_t mv_x; ///< motion vector (x component) member
Dmv30.c549 int mv_x = sign_extend(bytestream2_get_ne16(&mv), 16); in decode_inter() local
552 int px = x + mv_x; in decode_inter()
/third_party/ffmpeg/libavfilter/
Dvf_minterpolate.c266 int mv_x, mv_y, i, j; in get_sbad() local
271mv_x = av_clip(x_mv - x, -FFMIN(x - me_ctx->x_min, me_ctx->x_max - x), FFMIN(x - me_ctx->x_min, me… in get_sbad()
279 … sbad += FFABS(data_cur[x + mv_x + i + j * linesize] - data_next[x - mv_x + i + j * linesize]); in get_sbad()
295 int mv_x, mv_y, i, j; in get_sbad_ob() local
300 mv_x = av_clip(x_mv - x, -FFMIN(x - x_min, x_max - x), FFMIN(x - x_min, x_max - x)); 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()
319 int mv_x = x_mv - x; 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
626 mv_x = mv[0] - x_mb; in var_size_bme()
[all …]
Dmotion_estimation.h61 int mv_x, int mv_y);