comparison mpeg12.c @ 4180:85e1f5ceb97e libavcodec

make more tables static
author mru
date Sun, 12 Nov 2006 23:14:20 +0000
parents aeb1b0d99013
children d6f83e2f8804
comparison
equal deleted inserted replaced
4179:46d38e3d7038 4180:85e1f5ceb97e
83 extern int XVMC_field_end(MpegEncContext *s); 83 extern int XVMC_field_end(MpegEncContext *s);
84 extern void XVMC_pack_pblocks(MpegEncContext *s,int cbp); 84 extern void XVMC_pack_pblocks(MpegEncContext *s,int cbp);
85 extern void XVMC_init_block(MpegEncContext *s);//set s->block 85 extern void XVMC_init_block(MpegEncContext *s);//set s->block
86 #endif 86 #endif
87 87
88 const enum PixelFormat pixfmt_yuv_420[]= {PIX_FMT_YUV420P,-1}; 88 static const enum PixelFormat pixfmt_yuv_420[]= {PIX_FMT_YUV420P,-1};
89 const enum PixelFormat pixfmt_yuv_422[]= {PIX_FMT_YUV422P,-1}; 89 static const enum PixelFormat pixfmt_yuv_422[]= {PIX_FMT_YUV422P,-1};
90 const enum PixelFormat pixfmt_yuv_444[]= {PIX_FMT_YUV444P,-1}; 90 static const enum PixelFormat pixfmt_yuv_444[]= {PIX_FMT_YUV444P,-1};
91 const enum PixelFormat pixfmt_xvmc_mpg2_420[] = { 91 static const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
92 PIX_FMT_XVMC_MPEG2_IDCT, 92 PIX_FMT_XVMC_MPEG2_IDCT,
93 PIX_FMT_XVMC_MPEG2_MC, 93 PIX_FMT_XVMC_MPEG2_MC,
94 -1}; 94 -1};
95 #ifdef CONFIG_ENCODERS 95 #ifdef CONFIG_ENCODERS
96 static uint8_t (*mv_penalty)[MAX_MV*2+1]= NULL; 96 static uint8_t (*mv_penalty)[MAX_MV*2+1]= NULL;