schromotion

schromotion

Synopsis




                    SchroObmc;
                    SchroObmcRegion;
void                schro_frame_copy_with_motion        (SchroFrame *dest,
                                                         SchroMotion *motion);
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);
void                schro_obmc_init                     (SchroObmc *obmc,
                                                         int x_len,
                                                         int y_len,
                                                         int x_sep,
                                                         int y_sep);
void                schro_obmc_cleanup                  (SchroObmc *obmc);

Description

Details

SchroObmc

typedef struct {
  SchroObmcRegion regions[9];
  int16_t *region_data;
  int stride;
  int shift;
  int x_ramp;
  int y_ramp;
  int x_len;
  int y_len;
  int x_sep;
  int y_sep;
  uint8_t *tmpdata;
} SchroObmc;


SchroObmcRegion

typedef struct {
  int16_t *weights;
  int start_x;
  int start_y;
  int end_x;
  int end_y;
} SchroObmcRegion;


schro_frame_copy_with_motion ()

void                schro_frame_copy_with_motion        (SchroFrame *dest,
                                                         SchroMotion *motion);

dest :

motion :


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 :


schro_obmc_init ()

void                schro_obmc_init                     (SchroObmc *obmc,
                                                         int x_len,
                                                         int y_len,
                                                         int x_sep,
                                                         int y_sep);

obmc :

x_len :

y_len :

x_sep :

y_sep :


schro_obmc_cleanup ()

void                schro_obmc_cleanup                  (SchroObmc *obmc);

obmc :