FFmpeg  4.0
Functions
vc1_pred.h File Reference
#include "vc1.h"
#include "vc1data.h"

Go to the source code of this file.

Functions

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. More...
 
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. More...
 
void ff_vc1_pred_b_mv (VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mvtype)
 
void ff_vc1_pred_b_mv_intfi (VC1Context *v, int n, int *dmv_x, int *dmv_y, int mv1, int *pred_flag)
 
static av_always_inline int scale_mv (int value, int bfrac, int inv, int qs)
 

Function Documentation

◆ ff_vc1_pred_mv()

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.

Definition at line 211 of file vc1_pred.c.

Referenced by ff_vc1_pred_b_mv_intfi(), vc1_decode_p_mb(), and vc1_decode_p_mb_intfi().

◆ ff_vc1_pred_mv_intfr()

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.

Definition at line 463 of file vc1_pred.c.

Referenced by vc1_decode_b_mb_intfr(), and vc1_decode_p_mb_intfr().

◆ ff_vc1_pred_b_mv()

void ff_vc1_pred_b_mv ( VC1Context v,
int  dmv_x[2],
int  dmv_y[2],
int  direct,
int  mvtype 
)

Definition at line 684 of file vc1_pred.c.

Referenced by vc1_decode_b_mb().

◆ ff_vc1_pred_b_mv_intfi()

void ff_vc1_pred_b_mv_intfi ( VC1Context v,
int  n,
int dmv_x,
int dmv_y,
int  mv1,
int pred_flag 
)

Definition at line 884 of file vc1_pred.c.

Referenced by vc1_decode_b_mb_intfi().

◆ scale_mv()

static av_always_inline int scale_mv ( int  value,
int  bfrac,
int  inv,
int  qs 
)
static

Definition at line 40 of file vc1_pred.h.