Home
last modified time | relevance | path

Searched refs:scale_mv (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvp9recon.c423 #define scale_mv(n, dim) (((int64_t)(n) * scale[dim]) >> 14) in mc_luma_scaled() macro
434 mx = scale_mv(mv.x * 2, 0) + scale_mv(x * 16, 0); in mc_luma_scaled()
435 my = scale_mv(mv.y * 2, 1) + scale_mv(y * 16, 1); in mc_luma_scaled()
492 mx = scale_mv(mv.x, 0) + (scale_mv(x * 16, 0) & ~15) + (scale_mv(x * 32, 0) & 15); in mc_chroma_scaled()
495 mx = scale_mv(mv.x * 2, 0) + scale_mv(x * 16, 0); in mc_chroma_scaled()
500 my = scale_mv(mv.y, 1) + (scale_mv(y * 16, 1) & ~15) + (scale_mv(y * 32, 1) & 15); in mc_chroma_scaled()
503 my = scale_mv(mv.y * 2, 1) + scale_mv(y * 16, 1); in mc_chroma_scaled()
505 #undef scale_mv in mc_chroma_scaled()
Dvc1_pred.h40 static av_always_inline int scale_mv(int value, int bfrac, int inv, int qs) in scale_mv() function
Dvc1_pred.c727 …s->mv[0][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 0, s->quarter_sample… in ff_vc1_pred_b_mv()
728 …s->mv[0][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 0, s->quarter_sample… in ff_vc1_pred_b_mv()
729 …s->mv[1][0][0] = scale_mv(s->next_picture.motion_val[1][xy][0], v->bfraction, 1, s->quarter_sample… in ff_vc1_pred_b_mv()
730 …s->mv[1][0][1] = scale_mv(s->next_picture.motion_val[1][xy][1], v->bfraction, 1, s->quarter_sample… in ff_vc1_pred_b_mv()
901 … s->mv[0][0][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][0], in ff_vc1_pred_b_mv_intfi()
903 … s->mv[0][0][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][1], in ff_vc1_pred_b_mv_intfi()
905 … s->mv[1][0][0] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][0], in ff_vc1_pred_b_mv_intfi()
907 … s->mv[1][0][1] = scale_mv(s->next_picture.motion_val[1][s->block_index[0] + v->blocks_off][1], in ff_vc1_pred_b_mv_intfi()
Dcavs.c539 static inline void scale_mv(AVSContext *h, int *d_x, int *d_y, in scale_mv() function
557 scale_mv(h, &ax, &ay, mvA, mvP->dist); in mv_pred_median()
558 scale_mv(h, &bx, &by, mvB, mvP->dist); in mv_pred_median()
559 scale_mv(h, &cx, &cy, mvC, mvP->dist); in mv_pred_median()
Dvc1_block.c2281 …s->mv[0][0][0] = s->current_picture.motion_val[0][s->block_index[0]][0] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2282 …s->mv[0][0][1] = s->current_picture.motion_val[0][s->block_index[0]][1] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2283 …s->mv[1][0][0] = s->current_picture.motion_val[1][s->block_index[0]][0] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2284 …s->mv[1][0][1] = s->current_picture.motion_val[1][s->block_index[0]][1] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2287 …s->mv[0][2][0] = s->current_picture.motion_val[0][s->block_index[2]][0] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2288 …s->mv[0][2][1] = s->current_picture.motion_val[0][s->block_index[2]][1] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2289 …s->mv[1][2][0] = s->current_picture.motion_val[1][s->block_index[2]][0] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()
2290 …s->mv[1][2][1] = s->current_picture.motion_val[1][s->block_index[2]][1] = scale_mv(s->next_picture… in vc1_decode_b_mb_intfr()