Go to the documentation of this file.
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,
int dir);
37 int mv1,
int *pred_flag);
43 #if B_FRACTION_DEN==256
47 return 2 * ((
value * n + 255) >> 9);
48 return (
value * n + 128) >> 8;
static void direct(const float *in, const FFTComplex *ir, int len, float *out)
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.
void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, int mvn, int r_x, int r_y, int dir)
Predict and set motion vector for interlaced frame picture MBs.
static av_always_inline int scale_mv(int value, int bfrac, int inv, int qs)
void ff_vc1_pred_b_mv_intfi(VC1Context *v, int n, int *dmv_x, int *dmv_y, int mv1, int *pred_flag)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
void ff_vc1_pred_b_mv(VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mvtype)