blob: 3408464c555d34cef7abc00e3984b088f4d41ac3 [file] [log] [blame]
Jingning Han3ee6db62015-08-05 19:00:31 -07001/*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Yaowu Xu2dcefd92015-08-13 09:25:39 -070011#ifndef VP10_ENCODER_MBGRAPH_H_
12#define VP10_ENCODER_MBGRAPH_H_
Jingning Han3ee6db62015-08-05 19:00:31 -070013
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct {
19 struct {
20 int err;
21 union {
22 int_mv mv;
23 PREDICTION_MODE mode;
24 } m;
25 } ref[MAX_REF_FRAMES];
26} MBGRAPH_MB_STATS;
27
28typedef struct {
29 MBGRAPH_MB_STATS *mb_stats;
30} MBGRAPH_FRAME_STATS;
31
Yaowu Xu26a9afc2015-08-13 09:42:27 -070032struct VP10_COMP;
Jingning Han3ee6db62015-08-05 19:00:31 -070033
Yaowu Xu26a9afc2015-08-13 09:42:27 -070034void vp10_update_mbgraph_stats(struct VP10_COMP *cpi);
Jingning Han3ee6db62015-08-05 19:00:31 -070035
36#ifdef __cplusplus
37} // extern "C"
38#endif
39
Yaowu Xu2dcefd92015-08-13 09:25:39 -070040#endif // VP10_ENCODER_MBGRAPH_H_