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.c457 int x, y, mv_x, mv_y, mv_delta, offs, mb_offset, in decode_mb_info() local
478 mv_x = mv_y = 0; in decode_mb_info()
503 mb->mv_x = mb->mv_y = 0; /* no motion vector coded */ in decode_mb_info()
507 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
510 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
539 mb->mv_x = mb->mv_y = 0; /* there is no motion vector in intra-macroblocks */ in decode_mb_info()
544 mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale); in decode_mb_info()
547 mb->mv_x = ref_mb->mv_x; in decode_mb_info()
557 mv_x += IVI_TOSIGNED(mv_delta); in decode_mb_info()
558 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()
498 int mv_x, int mv_y, in ivi_decode_coded_blocks() argument
591 return ivi_mc(band, mc, mc_avg, offs, mv_x, mv_y, mv_x2, mv_y2, in ivi_decode_coded_blocks()
612 int mv_x = 0, mv_y = 0, mv_x2 = 0, mv_y2 = 0; in ivi_decode_blocks() local
653 mv_x = mb->mv_x; in ivi_decode_blocks()
658 mc_type = ((mv_y & 1) << 1) | (mv_x & 1); in ivi_decode_blocks()
660 mv_x >>= 1; in ivi_decode_blocks()
672 dmv_x = mb->mv_x >> band->is_halfpel; in ivi_decode_blocks()
674 cx = mb->mv_x & band->is_halfpel; in ivi_decode_blocks()
[all …]
Deamad.c94 int j, int mv_x, int mv_y, int add) in comp_block() argument
97 …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()
106 … unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame->linesize[index] + mb_x * 8 + (mv_x/2); in comp_block()
211 int av_uninit(mv_x), av_uninit(mv_y); in decode_mb()
218 mv_x = decode_motion(&s->gb); in decode_mb()
227 comp_block(s, frame, s->mb_x, s->mb_y, j, mv_x, mv_y, add); in decode_mb()
Dindeo3.c235 int h, w, mv_x, mv_y, offset, offset_dst; in copy_cell() local
243 mv_x = cell->mv_ptr[1]; in copy_cell()
245 mv_x= mv_y= 0; in copy_cell()
248 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in copy_cell()
250 ((cell->xpos + cell->width) << 2) + mv_x > plane->width) { in copy_cell()
256 offset = offset_dst + mv_y * plane->pitch + mv_x; in copy_cell()
587 int x, mv_x, mv_y, mode, vq_index, prim_indx, second_indx; in decode_cell() local
615 mv_x = cell->mv_ptr[1]; in decode_cell()
618 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in decode_cell()
620 ((cell->xpos + cell->width) << 2) + mv_x > plane->width) { in decode_cell()
[all …]
Dagm.c419 int mv_x = s->mvectors[mvpos].x / (1 + !shift); in decode_inter_plane() local
427 x * 8 + mv_x < 0 || x * 8 + mv_x + 8 > w) in decode_inter_plane()
431 … prev->data[plane] + ((s->blocks_h - 1 - y) * 8 - mv_y) * prev->linesize[plane] + (x * 8 + mv_x), in decode_inter_plane()
452 int mv_x = s->mvectors[mvpos].x / (1 + !shift); in decode_inter_plane() local
464 x * 8 + mv_x < 0 || x * 8 + mv_x + 8 > w) in decode_inter_plane()
468 … 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.c550 int mv_x = sign_extend(bytestream2_get_ne16(&mv), 16); in decode_inter() local
553 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()
596 int mv_x, mv_y; in var_size_bme() local
628 mv_x = mv[0] - x_mb; in var_size_bme()
[all …]
Dmotion_estimation.h61 int mv_x, int mv_y);