Defines | |
#define | GET_MQUANT() |
Get macroblock-level quantizer scale. | |
#define | GET_MVDATA(_dmv_x, _dmv_y) |
Get MV differentials. | |
Functions | |
static void | vc1_pred_mv (MpegEncContext *s, int n, int dmv_x, int dmv_y, int mv1, int r_x, int r_y, uint8_t *is_intra) |
Predict and set motion vector. | |
static void | vc1_interp_mc (VC1Context *v) |
Motion compensation for direct or interpolated blocks in B-frames. | |
static av_always_inline int | scale_mv (int value, int bfrac, int inv, int qs) |
static void | vc1_b_mc (VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mode) |
Reconstruct motion vector for B-frame and do motion compensation. | |
static void | vc1_pred_b_mv (VC1Context *v, int dmv_x[2], int dmv_y[2], int direct, int mvtype) |
static int | vc1_i_pred_dc (MpegEncContext *s, int overlap, int pq, int n, int16_t **dc_val_ptr, int *dir_ptr) |
Get predicted DC value for I-frames only prediction dir: left=0, top=1. | |
static int | vc1_pred_dc (MpegEncContext *s, int overlap, int pq, int n, int a_avail, int c_avail, int16_t **dc_val_ptr, int *dir_ptr) |
Get predicted DC value prediction dir: left=0, top=1. |
#define GET_MQUANT | ( | ) |
Get macroblock-level quantizer scale.
Definition at line 592 of file vc1dec.c.
Referenced by vc1_decode_b_mb(), vc1_decode_i_blocks_adv(), and vc1_decode_p_mb().
#define GET_MVDATA | ( | _dmv_x, | |||
_dmv_y | ) |
Get MV differentials.
_dmv_x | Horizontal differential for decoded MV | |
_dmv_y | Vertical differential for decoded MV |
Definition at line 632 of file vc1dec.c.
Referenced by vc1_decode_b_mb(), and vc1_decode_p_mb().
static av_always_inline int scale_mv | ( | int | value, | |
int | bfrac, | |||
int | inv, | |||
int | qs | |||
) | [static] |
static void vc1_b_mc | ( | VC1Context * | v, | |
int | dmv_x[2], | |||
int | dmv_y[2], | |||
int | direct, | |||
int | mode | |||
) | [inline, static] |
Reconstruct motion vector for B-frame and do motion compensation.
Definition at line 947 of file vc1dec.c.
Referenced by vc1_decode_b_mb().
static int vc1_i_pred_dc | ( | MpegEncContext * | s, | |
int | overlap, | |||
int | pq, | |||
int | n, | |||
int16_t ** | dc_val_ptr, | |||
int * | dir_ptr | |||
) | [inline, static] |
Get predicted DC value for I-frames only prediction dir: left=0, top=1.
s | MpegEncContext | |
overlap | flag indicating that overlap filtering is used | |
pq | integer part of picture quantizer | |
[in] | n | block index in the current MB |
dc_val_ptr | Pointer to DC predictor | |
dir_ptr | Prediction direction for use in AC prediction |
Definition at line 1189 of file vc1dec.c.
Referenced by vc1_decode_i_block().
static void vc1_interp_mc | ( | VC1Context * | v | ) | [static] |
Motion compensation for direct or interpolated blocks in B-frames.
Definition at line 811 of file vc1dec.c.
Referenced by vc1_b_mc().
static void vc1_pred_b_mv | ( | VC1Context * | v, | |
int | dmv_x[2], | |||
int | dmv_y[2], | |||
int | direct, | |||
int | mvtype | |||
) | [inline, static] |
static int vc1_pred_dc | ( | MpegEncContext * | s, | |
int | overlap, | |||
int | pq, | |||
int | n, | |||
int | a_avail, | |||
int | c_avail, | |||
int16_t ** | dc_val_ptr, | |||
int * | dir_ptr | |||
) | [inline, static] |
Get predicted DC value prediction dir: left=0, top=1.
s | MpegEncContext | |
overlap | flag indicating that overlap filtering is used | |
pq | integer part of picture quantizer | |
[in] | n | block index in the current MB |
a_avail | flag indicating top block availability | |
c_avail | flag indicating left block availability | |
dc_val_ptr | Pointer to DC predictor | |
dir_ptr | Prediction direction for use in AC prediction |
Definition at line 1253 of file vc1dec.c.
Referenced by vc1_decode_i_block_adv(), and vc1_decode_intra_block().
static void vc1_pred_mv | ( | MpegEncContext * | s, | |
int | n, | |||
int | dmv_x, | |||
int | dmv_y, | |||
int | mv1, | |||
int | r_x, | |||
int | r_y, | |||
uint8_t * | is_intra | |||
) | [inline, static] |
Predict and set motion vector.
Definition at line 677 of file vc1dec.c.
Referenced by vc1_decode_p_mb().