Uses block-based motion fields with ransac to find transformation between frames. Change-Id: I6293fbb690cdad854a1140fb6af76b326abfe964
35 lines
1.0 KiB
C
35 lines
1.0 KiB
C
/*
|
|
* Copyright (c) 2010 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_MOTIONMODEL_H_
|
|
#define VP9_ENCODER_VP9_MOTIONMODEL_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct VP9_COMP;
|
|
|
|
void get_frame_motionfield(struct VP9_COMP *cpi,
|
|
YV12_BUFFER_CONFIG *buf,
|
|
YV12_BUFFER_CONFIG *ref,
|
|
int blocksize,
|
|
MV *motionfield,
|
|
double *confidence);
|
|
|
|
void vp9_get_motionfield(struct VP9_COMP *cpi, int ref,
|
|
int blocksize, MV *motionfield, double *confidence);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // VP9_ENCODER_VP9_MOTIONMODEL_H_
|