global_motion.h 947 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
/*
 *  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.
 */

Yaowu Xu's avatar
Yaowu Xu committed
11
12
#ifndef AV1_ENCODER_GLOBAL_MOTION_H_
#define AV1_ENCODER_GLOBAL_MOTION_H_
13

Yaowu Xu's avatar
Yaowu Xu committed
14
#include "aom/aom_integer.h"
15
16
17
18
19

#ifdef __cplusplus
extern "C" {
#endif

20
21
// compute global motion parameters between two frames
int compute_global_motion_feature_based(TransformationType type,
22
23
                                        YV12_BUFFER_CONFIG *frm,
                                        YV12_BUFFER_CONFIG *ref,
24
                                        double *params);
25
26
27
#ifdef __cplusplus
}  // extern "C"
#endif
Yaowu Xu's avatar
Yaowu Xu committed
28
#endif  // AV1_ENCODER_GLOBAL_MOTION_H_