vpx/vp9/encoder/vp9_corner_match.h
Sarah Parker a7aab42915 Optical flow for computing global motion params
Addressing comments, fixing style issues

Change-Id: I91b72ab5cdf80d68476858f442616ab3af41e709
2016-01-22 11:29:33 -08:00

33 lines
1.0 KiB
C

/*
* Copyright (c) 2015 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be
* found in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*
*/
#ifndef VP9_ENCODER_VP9_CORNER_MATCH_H
#define VP9_ENCODER_VP9_CORNER_MATCH_H
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
typedef struct {
double x, y;
double rx, ry;
} correspondence;
int determine_correspondence(unsigned char *frm,
int *frm_corners, int num_frm_corners,
unsigned char *ref,
int *ref_corners, int num_ref_corners,
int width, int height,
int frm_stride, int ref_stride,
double *correspondence_pts);
#endif // VP9_ENCODER_VP9_CORNER_MATCH_H