Home
last modified time | relevance | path

Searched refs:dmv_x (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvc1_pred.h29 void ff_vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y,
32 void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
35 void ff_vc1_pred_b_mv(VC1Context *v, int dmv_x[2], int dmv_y[2],
37 void ff_vc1_pred_b_mv_intfi(VC1Context *v, int n, int *dmv_x, int *dmv_y,
Dvc1_block.c262 static av_always_inline void get_mvdata_interlaced(VC1Context *v, int *dmv_x, in get_mvdata_interlaced() argument
282 *dmv_x = get_bits(gb, v->k_x); in get_mvdata_interlaced()
296 *dmv_x = (sign ^ ((val >> 1) + offset_table[extend_x][index1])) - sign; in get_mvdata_interlaced()
298 *dmv_x = 0; in get_mvdata_interlaced()
313 static inline void vc1_b_mc(VC1Context *v, int dmv_x[2], int dmv_y[2], in vc1_b_mc()
1297 int dmv_x, dmv_y; /* Differential MV components */ in vc1_decode_p_mb() local
1318 GET_MVDATA(dmv_x, dmv_y); in vc1_decode_p_mb()
1325 ff_vc1_pred_mv(v, 0, dmv_x, dmv_y, 1, v->range_x, v->range_y, v->mb_type[0], 0, 0); in vc1_decode_p_mb()
1406 dmv_x = dmv_y = 0; in vc1_decode_p_mb()
1410 GET_MVDATA(dmv_x, dmv_y); in vc1_decode_p_mb()
[all …]
Dvc1_pred.c212 void ff_vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y, in ff_vc1_pred_mv() argument
236 dmv_x *= 2; in ff_vc1_pred_mv()
454 …s->mv[dir][n][0] = s->current_picture.motion_val[dir][xy + v->blocks_off][0] = ((px + dmv_x + r_x)… in ff_vc1_pred_mv()
470 void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, in ff_vc1_pred_mv_intfr() argument
674 …s->mv[dir][n][0] = s->current_picture.motion_val[dir][xy][0] = ((px + dmv_x + r_x) & ((r_x << 1) -… in ff_vc1_pred_mv_intfr()
691 void ff_vc1_pred_b_mv(VC1Context *v, int dmv_x[2], int dmv_y[2], in ff_vc1_pred_b_mv()
708 dmv_x[0] *= 2; in ff_vc1_pred_b_mv()
710 dmv_x[1] *= 2; in ff_vc1_pred_b_mv()
811 s->mv[0][0][0] = ((px + dmv_x[0] + r_x) & ((r_x << 1) - 1)) - r_x; in ff_vc1_pred_b_mv()
882 s->mv[1][0][0] = ((px + dmv_x[1] + r_x) & ((r_x << 1) - 1)) - r_x; in ff_vc1_pred_b_mv()
[all …]
Divi.c657 int dmv_x, dmv_y, cx, cy; in ivi_decode_blocks() local
659 dmv_x = mb->mv_x >> band->is_halfpel; in ivi_decode_blocks()
664 if (mb->xpos + dmv_x < 0 || in ivi_decode_blocks()
665 mb->xpos + dmv_x + band->mb_size + cx > band->pitch || in ivi_decode_blocks()
672 int dmv_x, dmv_y, cx, cy; in ivi_decode_blocks() local
674 dmv_x = mb->b_mv_x >> band->is_halfpel; in ivi_decode_blocks()
679 if (mb->xpos + dmv_x < 0 || in ivi_decode_blocks()
680 mb->xpos + dmv_x + band->mb_size + cx > band->pitch || in ivi_decode_blocks()
806 int dmv_x, dmv_y, cx, cy; in ivi_process_empty_tile() local
808 dmv_x = mb->mv_x >> is_halfpel; in ivi_process_empty_tile()
[all …]