Chromium Code Reviews| Index: source/libvpx/vp9/encoder/vp9_mbgraph.h |
| =================================================================== |
| --- source/libvpx/vp9/encoder/vp9_mbgraph.h (revision 251189) |
| +++ source/libvpx/vp9/encoder/vp9_mbgraph.h (working copy) |
| @@ -15,8 +15,24 @@ |
| extern "C" { |
| #endif |
| -void vp9_update_mbgraph_stats(VP9_COMP *cpi); |
| +typedef struct { |
| + struct { |
| + int err; |
| + union { |
| + int_mv mv; |
| + MB_PREDICTION_MODE mode; |
| + } m; |
| + } ref[MAX_REF_FRAMES]; |
| +} MBGRAPH_MB_STATS; |
| +typedef struct { |
| + MBGRAPH_MB_STATS *mb_stats; |
| +} MBGRAPH_FRAME_STATS; |
| + |
| +struct VP9_COMP; |
| + |
| +void vp9_update_mbgraph_stats(struct VP9_COMP *cpi); |
| + |
| #ifdef __cplusplus |
| } // extern "C" |
| #endif |