23 #ifndef AVCODEC_VC1_PRED_H 24 #define AVCODEC_VC1_PRED_H 30 int mv1,
int r_x,
int r_y,
uint8_t* is_intra,
31 int pred_flag,
int dir);
33 int mvn,
int r_x,
int r_y,
uint8_t* is_intra,
36 int direct,
int mvtype);
38 int mv1,
int *pred_flag);
44 #if B_FRACTION_DEN==256 48 return 2 * ((value * n + 255) >> 9);
49 return (value * n + 128) >> 8;
void ff_vc1_pred_b_mv_intfi(VC1Context *v, int n, int *dmv_x, int *dmv_y, int mv1, int *pred_flag)
void ff_vc1_pred_b_mv(VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mvtype)
static av_always_inline int scale_mv(int value, int bfrac, int inv, int qs)
void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, int mvn, int r_x, int r_y, uint8_t *is_intra, int dir)
Predict and set motion vector for interlaced frame picture MBs.
void ff_vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y, int mv1, int r_x, int r_y, uint8_t *is_intra, int pred_flag, int dir)
Predict and set motion vector.