diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-06-22 15:08:22 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-06-22 15:08:22 +0400 |
commit | 2a250222e6df9f13f871c934c96da32b4439e7b7 (patch) | |
tree | 29bb96f76f201cee1ed658c3654b3016f4946d48 /libavcodec/asv1.c | |
parent | 4fb518c392c0b30b17962e44bf29aa7080ce2b74 (diff) |
CONFIG_ENCODERS cleanup
Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 296feec5cc..0f751ae01d 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -95,8 +95,6 @@ static inline int get_level(GetBitContext *gb){ else return code - 3; } -#ifdef CONFIG_ENCODERS - static inline void put_level(PutBitContext *pb, int level){ unsigned int index= level + 3; @@ -107,8 +105,6 @@ static inline void put_level(PutBitContext *pb, int level){ } } -#endif //CONFIG_ENCODERS - static inline int decode_block(ASV1Context *a, DCTELEM block[64]){ int i; @@ -134,8 +130,6 @@ static inline int decode_block(ASV1Context *a, DCTELEM block[64]){ return 0; } -#ifdef CONFIG_ENCODERS - static inline void encode_block(ASV1Context *a, DCTELEM block[64]){ int i; int nc_count=0; @@ -169,8 +163,6 @@ static inline void encode_block(ASV1Context *a, DCTELEM block[64]){ put_bits(&a->pb, ccp_tab[16][1], ccp_tab[16][0]); } -#endif //CONFIG_ENCODERS - static inline int decode_mb(ASV1Context *a, DCTELEM block[6][64]){ int i; @@ -183,8 +175,6 @@ static inline int decode_mb(ASV1Context *a, DCTELEM block[6][64]){ return 0; } -#ifdef CONFIG_ENCODERS - static inline void encode_mb(ASV1Context *a, DCTELEM block[6][64]){ int i; @@ -192,8 +182,6 @@ static inline void encode_mb(ASV1Context *a, DCTELEM block[6][64]){ encode_block(a, block[i]); } } - -#endif //CONFIG_ENCODERS static inline void idct_put(ASV1Context *a, int mb_x, int mb_y){ DCTELEM (*block)[64]= a->block; @@ -214,8 +202,6 @@ static inline void idct_put(ASV1Context *a, int mb_x, int mb_y){ } } -#ifdef CONFIG_ENCODERS - static inline void dct_get(ASV1Context *a, int mb_x, int mb_y){ DCTELEM (*block)[64]= a->block; int linesize= a->picture.linesize[0]; @@ -240,8 +226,6 @@ static inline void dct_get(ASV1Context *a, int mb_x, int mb_y){ } } -#endif //CONFIG_ENCODERS - static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) @@ -324,8 +308,6 @@ for(i=0; i<s->avctx->extradata_size; i++){ return (get_bits_count(&a->gb)+31)/32*4; } -#ifdef CONFIG_ENCODERS - static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ ASV1Context * const a = avctx->priv_data; AVFrame *pict = data; @@ -374,8 +356,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, return size*4; } -#endif //CONFIG_ENCODERS - static void common_init(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; @@ -416,8 +396,6 @@ static int decode_init(AVCodecContext *avctx){ return 0; } -#ifdef CONFIG_ENCODERS - static int encode_init(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; int i; @@ -441,8 +419,6 @@ static int encode_init(AVCodecContext *avctx){ return 0; } -#endif //CONFIG_ENCODERS - static int decode_end(AVCodecContext *avctx){ ASV1Context * const a = avctx->priv_data; |