media/libvpx/vp8/encoder/bitstream.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp8/encoder/bitstream.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +
    1.15 +#ifndef __INC_BITSTREAM_H
    1.16 +#define __INC_BITSTREAM_H
    1.17 +
    1.18 +#if HAVE_EDSP
    1.19 +void vp8cx_pack_tokens_armv5(vp8_writer *w, const TOKENEXTRA *p, int xcount,
    1.20 +                             const vp8_token *,
    1.21 +                             const vp8_extra_bit_struct *,
    1.22 +                             const vp8_tree_index *);
    1.23 +void vp8cx_pack_tokens_into_partitions_armv5(VP8_COMP *,
    1.24 +                                             unsigned char * cx_data,
    1.25 +                                             const unsigned char *cx_data_end,
    1.26 +                                             int num_parts,
    1.27 +                                             const vp8_token *,
    1.28 +                                             const vp8_extra_bit_struct *,
    1.29 +                                             const vp8_tree_index *);
    1.30 +void vp8cx_pack_mb_row_tokens_armv5(VP8_COMP *cpi, vp8_writer *w,
    1.31 +                                    const vp8_token *,
    1.32 +                                    const vp8_extra_bit_struct *,
    1.33 +                                    const vp8_tree_index *);
    1.34 +# define pack_tokens(a,b,c)                  \
    1.35 +    vp8cx_pack_tokens_armv5(a,b,c,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
    1.36 +# define pack_tokens_into_partitions(a,b,c,d)  \
    1.37 +    vp8cx_pack_tokens_into_partitions_armv5(a,b,c,d,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
    1.38 +# define pack_mb_row_tokens(a,b)               \
    1.39 +    vp8cx_pack_mb_row_tokens_armv5(a,b,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
    1.40 +#else
    1.41 +
    1.42 +void vp8_pack_tokens_c(vp8_writer *w, const TOKENEXTRA *p, int xcount);
    1.43 +
    1.44 +# define pack_tokens(a,b,c)                    vp8_pack_tokens_c(a,b,c)
    1.45 +# define pack_tokens_into_partitions(a,b,c,d)  pack_tokens_into_partitions_c(a,b,c,d)
    1.46 +# define pack_mb_row_tokens(a,b)               pack_mb_row_tokens_c(a,b)
    1.47 +#endif
    1.48 +
    1.49 +#endif

mercurial