![]() |
![]() |
![]() |
Schroedinger Reference Manual | ![]() |
---|---|---|---|---|
SchroMotion; void schro_motion_dc_prediction (SchroMotion *motion, int x, int y, int *pred); void schro_motion_vector_prediction (SchroMotion *motion, int x, int y, int *pred_x, int *pred_y, int mode); int schro_motion_split_prediction (SchroMotion *motion, int x, int y); int schro_motion_get_mode_prediction (SchroMotion *motion, int x, int y);
typedef struct { SchroUpsampledFrame *src1; SchroUpsampledFrame *src2; SchroMotionVector *motion_vectors; SchroParams *params; int sx_max; int sy_max; uint8_t *tmpdata; SchroObmc *obmc_luma; SchroObmc *obmc_chroma; uint8_t *blocks[3]; int strides[3]; int ref_weight_precision; int ref1_weight; int ref2_weight; int mv_precision; int xoffset; int yoffset; int xbsep; int ybsep; int xblen; int yblen; SchroFrameData block; SchroFrameData obmc_weight; SchroFrameData tmp_block_ref[2]; int weight_x[SCHRO_LIMIT_BLOCK_SIZE]; int weight_y[SCHRO_LIMIT_BLOCK_SIZE]; int width; int height; int max_fast_x; int max_fast_y; } SchroMotion;
void schro_motion_dc_prediction (SchroMotion *motion, int x, int y, int *pred);
|
|
|
|
|
|
|
void schro_motion_vector_prediction (SchroMotion *motion, int x, int y, int *pred_x, int *pred_y, int mode);
|
|
|
|
|
|
|
|
|
|
|
int schro_motion_split_prediction (SchroMotion *motion, int x, int y);
|
|
|
|
|
|
Returns : |
int schro_motion_get_mode_prediction (SchroMotion *motion, int x, int y);
|
|
|
|
|
|
Returns : |