schroobmc

schroobmc

Synopsis




                    SchroObmc;
                    SchroObmcRegion;
void                schro_obmc_init                     (SchroObmc *obmc,
                                                         int x_len,
                                                         int y_len,
                                                         int x_sep,
                                                         int y_sep,
                                                         int ref1_weight,
                                                         int ref2_weight,
                                                         int ref_shift);
void                schro_obmc_cleanup                  (SchroObmc *obmc);

Description

Details

SchroObmc

typedef struct {
  SchroObmcRegion regions[9];
  int16_t *region_data;
  int16_t *horiz_ramp;
  int16_t *vert_ramp;
  int x_ramp;
  int y_ramp;
  int x_len;
  int y_len;
  int x_sep;
  int y_sep;
} SchroObmc;


SchroObmcRegion

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


schro_obmc_init ()

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

obmc :

x_len :

y_len :

x_sep :

y_sep :

ref1_weight :

ref2_weight :

ref_shift :


schro_obmc_cleanup ()

void                schro_obmc_cleanup                  (SchroObmc *obmc);

obmc :