2 * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license and patent
5 * grant that can be found in the LICENSE file in the root of the source
6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree.
11 #ifndef __INC_BITSTREAM_H
12 #define __INC_BITSTREAM_H
15 void vp8cx_pack_tokens_armv7(vp8_writer
*w
, const TOKENEXTRA
*p
, int xcount
,
17 vp8_extra_bit_struct
*,
18 const vp8_tree_index
*);
19 void vp8cx_pack_tokens_into_partitions_armv7(VP8_COMP
*, unsigned char *, int , int *,
21 vp8_extra_bit_struct
*,
22 const vp8_tree_index
*);
23 void vp8cx_pack_mb_row_tokens_armv7(VP8_COMP
*cpi
, vp8_writer
*w
,
25 vp8_extra_bit_struct
*,
26 const vp8_tree_index
*);
27 # define pack_tokens(a,b,c) \
28 vp8cx_pack_tokens_armv7(a,b,c,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
29 # define pack_tokens_into_partitions(a,b,c,d) \
30 vp8cx_pack_tokens_into_partitions_armv7(a,b,c,d,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
31 # define pack_mb_row_tokens(a,b) \
32 vp8cx_pack_mb_row_tokens_armv7(a,b,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
34 # define pack_tokens(a,b,c) pack_tokens_c(a,b,c)
35 # define pack_tokens_into_partitions(a,b,c,d) pack_tokens_into_partitions_c(a,b,c,d)
36 # define pack_mb_row_tokens(a,b) pack_mb_row_tokens_c(a,b)