schromotion

schromotion

Synopsis




                    SchroMotion;
void                schro_motion_dc_prediction          (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y,
                                                         int *pred);
void                schro_motion_vector_prediction      (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y,
                                                         int *pred_x,
                                                         int *pred_y,
                                                         int mode);
int                 schro_motion_split_prediction       (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y);
void                schro_motion_field_get_global_prediction
                                                        (SchroMotionField *mf,
                                                         int x,
                                                         int y,
                                                         int *pred);
int                 schro_motion_get_mode_prediction    (SchroMotionField *mf,
                                                         int x,
                                                         int y);

Description

Details

SchroMotion

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];
} SchroMotion;


schro_motion_dc_prediction ()

void                schro_motion_dc_prediction          (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y,
                                                         int *pred);

motion_vectors :

params :

x :

y :

pred :


schro_motion_vector_prediction ()

void                schro_motion_vector_prediction      (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y,
                                                         int *pred_x,
                                                         int *pred_y,
                                                         int mode);

motion_vectors :

params :

x :

y :

pred_x :

pred_y :

mode :


schro_motion_split_prediction ()

int                 schro_motion_split_prediction       (SchroMotionVector *motion_vectors,
                                                         SchroParams *params,
                                                         int x,
                                                         int y);

motion_vectors :

params :

x :

y :

Returns :


schro_motion_field_get_global_prediction ()

void                schro_motion_field_get_global_prediction
                                                        (SchroMotionField *mf,
                                                         int x,
                                                         int y,
                                                         int *pred);

mf :

x :

y :

pred :


schro_motion_get_mode_prediction ()

int                 schro_motion_get_mode_prediction    (SchroMotionField *mf,
                                                         int x,
                                                         int y);

mf :

x :

y :

Returns :