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 11#ifndef VP9_ENCODER_VP9_MBGRAPH_H_ 12#define VP9_ENCODER_VP9_MBGRAPH_H_ 13 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 { MBGRAPH_MB_STATS *mb_stats; } MBGRAPH_FRAME_STATS; 29 30struct VP9_COMP; 31 32void vp9_update_mbgraph_stats(struct VP9_COMP *cpi); 33 34#ifdef __cplusplus 35} // extern "C" 36#endif 37 38#endif // VP9_ENCODER_VP9_MBGRAPH_H_ 39