| Index: source/libvpx/vp9/common/vp9_entropy.h
|
| ===================================================================
|
| --- source/libvpx/vp9/common/vp9_entropy.h (revision 247498)
|
| +++ source/libvpx/vp9/common/vp9_entropy.h (working copy)
|
| @@ -18,6 +18,10 @@
|
| #include "vp9/common/vp9_scan.h"
|
| #include "vp9/common/vp9_entropymode.h"
|
|
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| +#endif
|
| +
|
| #define DIFF_UPDATE_PROB 252
|
|
|
| // Coefficient token alphabet
|
| @@ -112,8 +116,8 @@
|
| // This macro is currently unused but may be used by certain implementations
|
| #define MAXBAND_INDEX 21
|
|
|
| -extern const uint8_t vp9_coefband_trans_8x8plus[1024];
|
| -extern const uint8_t vp9_coefband_trans_4x4[16];
|
| +extern DECLARE_ALIGNED(16, const uint8_t, vp9_coefband_trans_8x8plus[1024]);
|
| +extern DECLARE_ALIGNED(16, const uint8_t, vp9_coefband_trans_4x4[16]);
|
|
|
| static const uint8_t *get_band_translate(TX_SIZE tx_size) {
|
| return tx_size == TX_4X4 ? vp9_coefband_trans_4x4
|
| @@ -184,4 +188,8 @@
|
| }
|
| }
|
|
|
| +#ifdef __cplusplus
|
| +} // extern "C"
|
| +#endif
|
| +
|
| #endif // VP9_COMMON_VP9_ENTROPY_H_
|
|
|