blob: fd8fe28396397e5e68f8b4ab7694f5f9f1b21ad8 [file]
/*
* Copyright (c) 2021, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 3-Clause Clear License
* and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear
* License was not distributed with this source code in the LICENSE file, you
* can obtain it at aomedia.org/license/software-license/bsd-3-c-c/. 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
* aomedia.org/license/patent-license/.
*/
#ifndef AOM_FLOW_ESTIMATION_CORNER_DETECT_H_
#define AOM_FLOW_ESTIMATION_CORNER_DETECT_H_
#include "aom_scale/yv12config.h"
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#ifdef __cplusplus
extern "C" {
#endif
int aom_fast_corner_detect(unsigned char *buf, int width, int height,
int stride, int *points, int max_points);
void aom_find_corners_in_frame(YV12_BUFFER_CONFIG *frm, int bit_depth);
#ifdef __cplusplus
}
#endif
#endif // AOM_FLOW_ESTIMATION_CORNER_DETECT_H_