schromotionest

schromotionest

Functions

Types and Values

Description

Functions

schro_motionest_free ()

void
schro_motionest_free (SchroMotionEst *me);


schro_motionest_new ()

SchroMotionEst *
schro_motionest_new (SchroEncoderFrame *frame);

Returns


schro_motionest_superblock_get_metric ()

int
schro_motionest_superblock_get_metric (SchroMotionEst *me,
                                       SchroBlock *block,
                                       int i,
                                       int j);

Returns


schro_block_check ()

int
schro_block_check (SchroBlock *block);

Returns


schro_block_fixup ()

void
schro_block_fixup (SchroBlock *block);

Types and Values

struct SchroMotionEst

struct SchroMotionEst {
  SchroEncoderFrame *encoder_frame;
  SchroParams *params;

  double lambda;

  SchroFrame *downsampled_src0[SCHRO_MAX_HIER_LEVELS];
  SchroFrame *downsampled_src1[SCHRO_MAX_HIER_LEVELS];

  SchroMotion *motion;

  int scan_distance;

  int badblocks;
  double hier_score;
};


SchroMotionScan

typedef struct _SchroMotionScan SchroMotionScan;


struct SchroBlock

struct SchroBlock {
  int valid;
  int error;
  int entropy;

  double score;

  SchroMotionVector mv[4][4];
};