/third_party/ffmpeg/libavcodec/ |
H A 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_scal in decode_mb_info() [all...] |
H A 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_scal in decode_mb_info() [all...] |
H A D | ivi.c | 82 int offs, int mv_x, int mv_y, int mv_x2, int mv_y2, in ivi_mc() 85 int ref_offs = offs + mv_y * band->pitch + mv_x; in ivi_mc() 487 int mv_x, int mv_y, in ivi_decode_coded_blocks() 580 return ivi_mc(band, mc, mc_avg, offs, mv_x, mv_y, mv_x2, mv_y2, in ivi_decode_coded_blocks() 601 int mv_x = 0, mv_y = 0, mv_x2 = 0, mv_y2 = 0; in ivi_decode_blocks() local 643 mv_y = mb->mv_y; in ivi_decode_blocks() 647 mc_type = ((mv_y & 1) << 1) | (mv_x & 1); in ivi_decode_blocks() 650 mv_y >>= 1; in ivi_decode_blocks() 662 dmv_y = mb->mv_y >> ban in ivi_decode_blocks() 81 ivi_mc(const IVIBandDesc *band, ivi_mc_func mc, ivi_mc_avg_func mc_avg, int offs, int mv_x, int mv_y, int mv_x2, int mv_y2, int mc_type, int mc_type2) ivi_mc() argument 485 ivi_decode_coded_blocks(GetBitContext *gb, const IVIBandDesc *band, ivi_mc_func mc, ivi_mc_avg_func mc_avg, int mv_x, int mv_y, int mv_x2, int mv_y2, int *prev_dc, int is_intra, int mc_type, int mc_type2, uint32_t quant, int offs, AVCodecContext *avctx) ivi_decode_coded_blocks() argument 751 int x, y, need_mc, mbn, blk, num_blocks, mv_x, mv_y, mc_type; ivi_process_empty_tile() local [all...] |
H A D | eamad.c | 97 int j, int mv_x, int mv_y, int add) in comp_block() 100 unsigned 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() 109 unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame->linesize[index] + mb_x * 8 + (mv_x/2); in comp_block() 214 int av_uninit(mv_x), av_uninit(mv_y); in decode_mb() 222 mv_y = decode_motion(&s->gb); in decode_mb() 227 if (mv_map & (1<<j)) { // mv_x and mv_y are guarded by mv_map in decode_mb() 230 comp_block(s, frame, s->mb_x, s->mb_y, j, mv_x, mv_y, add); in decode_mb() 95 comp_block(MadContext *t, AVFrame *frame, int mb_x, int mb_y, int j, int mv_x, int mv_y, int add) comp_block() argument
|
H A D | indeo3.c | 226 * Copy pixels of the cell(x + mv_x, y + mv_y) from the previous frame into 235 int h, w, mv_x, mv_y, offset, offset_dst; in copy_cell() local 242 mv_y = cell->mv_ptr[0]; 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() 249 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || 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 614 mv_y = cell->mv_ptr[0]; in decode_cell() 618 if ((cell->ypos << 2) + mv_y < in decode_cell() [all...] |
H A D | agm.c | 423 int mv_y = s->mvectors[mvpos].y / (1 + !shift); in decode_inter_plane() local 429 if (y * 8 + mv_y < 0 || y * 8 + mv_y + 8 > h || in decode_inter_plane() 434 prev->data[plane] + ((s->blocks_h - 1 - y) * 8 - mv_y) * prev->linesize[plane] + (x * 8 + mv_x), in decode_inter_plane() 456 int mv_y = s->mvectors[mvpos].y / (1 + !shift); in decode_inter_plane() local 466 if (y * 8 + mv_y < 0 || y * 8 + mv_y + 8 > h || in decode_inter_plane() 471 prev->data[plane] + ((s->blocks_h - 1 - y) * 8 - mv_y) * prev->linesize[plane] + (x * 8 + mv_x), in decode_inter_plane()
|
H A D | ivi.h | 118 int8_t mv_y; ///< motion vector (y component) member
|
H A D | mv30.c | 551 int mv_y = sign_extend(bytestream2_get_ne16(&mv), 16); in decode_inter() local 554 int py = y + mv_y; in decode_inter()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_minterpolate.c | 257 int mv_x, mv_y, i, j; in get_sbad() local 263 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_ctx->y_max - y)); in get_sbad() 265 data_cur += (y + mv_y) * linesize; in get_sbad() 266 data_next += (y - mv_y) * linesize; in get_sbad() 286 int mv_x, mv_y, i, j; in get_sbad_ob() local 292 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() 296 sbad += FFABS(data_cur[x + mv_x + i + (y + mv_y + j) * linesize] - data_next[x - mv_x + i + (y - mv_y + j) * linesize]); in get_sbad_ob() 311 int mv_y = y_mv - y; in get_sad_ob() local 324 return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y in get_sad_ob() 585 int mv_x, mv_y; var_size_bme() local 645 int mv_x, mv_y, avg_x, avg_y, dx, dy; cluster_mvs() local 874 int mv_y = mi_ctx->frames[2 - dir].blocks[mb_x + mb_y * mi_ctx->b_width].mvs[dir][1]; bidirectional_obmc() local 981 int mv_y = sb->mvs[0][1] * 2; var_size_bmc() local 1016 int mv_y = block->mvs[0][1] * 2; bilateral_obmc() local [all...] |
H A D | motion_estimation.h | 61 int mv_x, int mv_y);
|