From 1503063f830d7b7051b6b1b9b0c0844dddd009f3 Mon Sep 17 00:00:00 2001 From: Stefan Gehrer Date: Sun, 8 Jul 2007 07:13:25 +0000 Subject: prepare splitting decoder-only parts into own file: make commonly used tables global Originally committed as revision 9532 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cavs.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavcodec/cavs.h') diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index ee192c2f76..3c6ef46ec2 100644 --- a/libavcodec/cavs.h +++ b/libavcodec/cavs.h @@ -224,12 +224,21 @@ typedef struct { DCTELEM *block; } AVSContext; +extern const uint8_t ff_cavs_dequant_shift[64]; +extern const uint16_t ff_cavs_dequant_mul[64]; +extern const dec_2dvlc_t ff_cavs_intra_dec[7]; +extern const dec_2dvlc_t ff_cavs_inter_dec[7]; +extern const dec_2dvlc_t ff_cavs_chroma_dec[5]; +extern const uint8_t ff_cavs_chroma_qp[64]; +extern const uint8_t ff_cavs_scan3x3[4]; +extern const uint8_t ff_cavs_partition_flags[30]; extern const int_fast8_t ff_left_modifier_l[8]; extern const int_fast8_t ff_top_modifier_l[8]; extern const int_fast8_t ff_left_modifier_c[7]; extern const int_fast8_t ff_top_modifier_c[7]; extern const vector_t ff_cavs_intra_mv; extern const vector_t ff_cavs_un_mv; +extern const vector_t ff_cavs_dir_mv; static inline void load_intra_pred_luma(AVSContext *h, uint8_t *top, uint8_t **left, int block) { -- cgit v1.2.3