| Index: source/libvpx/vp9/encoder/vp9_tokenize.h
|
| ===================================================================
|
| --- source/libvpx/vp9/encoder/vp9_tokenize.h (revision 292608)
|
| +++ source/libvpx/vp9/encoder/vp9_tokenize.h (working copy)
|
| @@ -26,12 +26,20 @@
|
|
|
| typedef struct {
|
| int16_t token;
|
| +#if CONFIG_VP9_HIGHBITDEPTH
|
| + int32_t extra;
|
| +#else
|
| int16_t extra;
|
| +#endif
|
| } TOKENVALUE;
|
|
|
| typedef struct {
|
| const vp9_prob *context_tree;
|
| +#if CONFIG_VP9_HIGHBITDEPTH
|
| + int32_t extra;
|
| +#else
|
| int16_t extra;
|
| +#endif
|
| uint8_t token;
|
| uint8_t skip_eob_node;
|
| } TOKENEXTRA;
|
| @@ -41,6 +49,7 @@
|
| extern struct vp9_token vp9_coef_encodings[];
|
|
|
| int vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
|
| +int vp9_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
|
|
|
| struct VP9_COMP;
|
|
|
| @@ -53,6 +62,12 @@
|
| * fields are not.
|
| */
|
| extern const TOKENVALUE *vp9_dct_value_tokens_ptr;
|
| +#if CONFIG_VP9_HIGHBITDEPTH
|
| +extern const int16_t *vp9_dct_value_cost_high10_ptr;
|
| +extern const TOKENVALUE *vp9_dct_value_tokens_high10_ptr;
|
| +extern const int16_t *vp9_dct_value_cost_high12_ptr;
|
| +extern const TOKENVALUE *vp9_dct_value_tokens_high12_ptr;
|
| +#endif // CONFIG_VP9_HIGHBITDEPTH
|
|
|
| #ifdef __cplusplus
|
| } // extern "C"
|
|
|