| Index: source/libvpx/vp9/encoder/vp9_treewriter.h
|
| ===================================================================
|
| --- source/libvpx/vp9/encoder/vp9_treewriter.h (revision 247498)
|
| +++ source/libvpx/vp9/encoder/vp9_treewriter.h (working copy)
|
| @@ -13,6 +13,10 @@
|
|
|
| #include "vp9/encoder/vp9_writer.h"
|
|
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| +#endif
|
| +
|
| #define vp9_cost_zero(prob) (vp9_prob_cost[prob])
|
|
|
| #define vp9_cost_one(prob) vp9_cost_zero(vp9_complement(prob))
|
| @@ -69,4 +73,8 @@
|
| vp9_write_tree(w, tree, probs, token->value, token->len, 0);
|
| }
|
|
|
| +#ifdef __cplusplus
|
| +} // extern "C"
|
| +#endif
|
| +
|
| #endif // VP9_ENCODER_VP9_TREEWRITER_H_
|
|
|