FFmpeg
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

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 212 of file vc1_pred.c.

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

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 470 of file vc1_pred.c.

Referenced by vc1_decode_b_mb_intfr(), and vc1_decode_p_mb_intfr().

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

Definition at line 691 of file vc1_pred.c.

Referenced by vc1_decode_b_mb().

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 891 of file vc1_pred.c.

Referenced by vc1_decode_b_mb_intfi().

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.