
Adds warping functions. Also includes some refactoring. Change-Id: I909830650f29046edf108ddaddceb1a5e7c6c61c
38 lines
1.2 KiB
C
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_
|