vpx/vp9/encoder/vp9_motion_field.h
Debargha Mukherjee fb093a337f Global motion enhancements
Adds warping functions. Also includes some refactoring.

Change-Id: I909830650f29046edf108ddaddceb1a5e7c6c61c
2015-05-14 16:33:01 -07:00

38 lines
1.2 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_MOTION_FIELD_H_
#define VP9_ENCODER_VP9_MOTION_FIELD_H_
#ifdef __cplusplus
extern "C" {
#endif
struct VP9_COMP;
void vp9_get_frame_motionfield(struct VP9_COMP *cpi,
YV12_BUFFER_CONFIG *buf,
YV12_BUFFER_CONFIG *ref,
BLOCK_SIZE bsize,
MV *motionfield,
double *confidence);
void vp9_get_ref_motionfield(struct VP9_COMP *cpi,
int ref,
BLOCK_SIZE bsize,
MV *motionfield,
double *confidence);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VP9_ENCODER_VP9_MOTION_FIELD_H_