2016-08-10 03:40:53 +03:00
|
|
|
/*
|
2016-11-29 02:26:06 +03:00
|
|
|
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
|
2016-08-10 03:40:53 +03:00
|
|
|
*
|
2016-11-29 02:26:06 +03:00
|
|
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
|
|
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
|
|
|
* was not distributed with this source code in the LICENSE file, you can
|
|
|
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
|
|
|
* Media Patent License 1.0 was not distributed with this source code in the
|
|
|
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
2016-08-10 03:40:53 +03:00
|
|
|
*/
|
2016-08-31 00:01:10 +03:00
|
|
|
#ifndef AV1_ENCODER_CORNER_MATCH_H_
|
|
|
|
#define AV1_ENCODER_CORNER_MATCH_H_
|
2016-08-10 03:40:53 +03:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <memory.h>
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
double x, y;
|
|
|
|
double rx, ry;
|
2016-09-06 21:25:04 +03:00
|
|
|
} Correspondence;
|
2016-08-10 03:40:53 +03:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2016-09-06 21:25:04 +03:00
|
|
|
#endif // AV1_ENCODER_CORNER_MATCH_H_
|