Jingning Han | 3ee6db6 | 2015-08-05 19:00:31 -0700 | [diff] [blame] | 1 | /* |
| 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 Xu | 2dcefd9 | 2015-08-13 09:25:39 -0700 | [diff] [blame] | 11 | #ifndef VP10_ENCODER_MBGRAPH_H_ |
| 12 | #define VP10_ENCODER_MBGRAPH_H_ |
Jingning Han | 3ee6db6 | 2015-08-05 19:00:31 -0700 | [diff] [blame] | 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | |
| 18 | typedef 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 | |
| 28 | typedef struct { |
| 29 | MBGRAPH_MB_STATS *mb_stats; |
| 30 | } MBGRAPH_FRAME_STATS; |
| 31 | |
Yaowu Xu | 26a9afc | 2015-08-13 09:42:27 -0700 | [diff] [blame] | 32 | struct VP10_COMP; |
Jingning Han | 3ee6db6 | 2015-08-05 19:00:31 -0700 | [diff] [blame] | 33 | |
Yaowu Xu | 26a9afc | 2015-08-13 09:42:27 -0700 | [diff] [blame] | 34 | void vp10_update_mbgraph_stats(struct VP10_COMP *cpi); |
Jingning Han | 3ee6db6 | 2015-08-05 19:00:31 -0700 | [diff] [blame] | 35 | |
| 36 | #ifdef __cplusplus |
| 37 | } // extern "C" |
| 38 | #endif |
| 39 | |
Yaowu Xu | 2dcefd9 | 2015-08-13 09:25:39 -0700 | [diff] [blame] | 40 | #endif // VP10_ENCODER_MBGRAPH_H_ |