Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dvc1_block.c264 int *dmv_y, int *pred_flag) in get_mvdata_interlaced() argument
284 *dmv_y = get_bits(gb, v->k_y); in get_mvdata_interlaced()
287 *pred_flag = *dmv_y & 1; in get_mvdata_interlaced()
288 *dmv_y = (*dmv_y + (*dmv_y & 1)) >> 1; in get_mvdata_interlaced()
304 *dmv_y = (sign ^ ((val >> 1) + offset_table[extend_y][index1 >> v->numref])) - sign; in get_mvdata_interlaced()
306 *dmv_y = 0; in get_mvdata_interlaced()
314 static inline void vc1_b_mc(VC1Context *v, int dmv_x[2], int dmv_y[2], in vc1_b_mc()
1298 int dmv_x, dmv_y; /* Differential MV components */ in vc1_decode_p_mb() local
1319 GET_MVDATA(dmv_x, dmv_y); in vc1_decode_p_mb()
1326 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()
[all …]
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,
34 void ff_vc1_pred_b_mv(VC1Context *v, int dmv_x[2], int dmv_y[2],
36 void ff_vc1_pred_b_mv_intfi(VC1Context *v, int n, int *dmv_x, int *dmv_y,
Dvc1_pred.c212 void ff_vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y, in ff_vc1_pred_mv() argument
237 dmv_y *= 2; in ff_vc1_pred_mv()
455 …s->mv[dir][n][1] = s->current_picture.motion_val[dir][xy + v->blocks_off][1] = ((py + dmv_y + r_y … 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
675 …s->mv[dir][n][1] = s->current_picture.motion_val[dir][xy][1] = ((py + dmv_y + r_y) & ((r_y << 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()
709 dmv_y[0] *= 2; in ff_vc1_pred_b_mv()
711 dmv_y[1] *= 2; in ff_vc1_pred_b_mv()
812 s->mv[0][0][1] = ((py + dmv_y[0] + r_y) & ((r_y << 1) - 1)) - r_y; in ff_vc1_pred_b_mv()
883 s->mv[1][0][1] = ((py + dmv_y[1] + r_y) & ((r_y << 1) - 1)) - r_y; in ff_vc1_pred_b_mv()
[all …]
Divi.c659 int dmv_x, dmv_y, cx, cy; in ivi_decode_blocks() local
662 dmv_y = mb->mv_y >> band->is_halfpel; in ivi_decode_blocks()
668 mb->ypos + dmv_y < 0 || in ivi_decode_blocks()
669 mb->ypos + dmv_y + band->mb_size + cy > band->aheight) { in ivi_decode_blocks()
674 int dmv_x, dmv_y, cx, cy; in ivi_decode_blocks() local
677 dmv_y = mb->b_mv_y >> band->is_halfpel; in ivi_decode_blocks()
683 mb->ypos + dmv_y < 0 || in ivi_decode_blocks()
684 mb->ypos + dmv_y + band->mb_size + cy > band->aheight) { in ivi_decode_blocks()
808 int dmv_x, dmv_y, cx, cy; in ivi_process_empty_tile() local
811 dmv_y = mb->mv_y >> is_halfpel; in ivi_process_empty_tile()
[all …]