GLOBAL.H
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:1k
- #include <stdio.h>
- #ifndef GLOBAL
- #define EXTERN extern
- #else
- #define EXTERN
- #endif
- #include "mp4_header.h"
- EXTERN int juice_flag,
- output_flag;
- EXTERN char * outputname;
- EXTERN int flag_invert;
- EXTERN int post_flag,
- pp_options;
- EXTERN mp4_header mp4_hdr;
- EXTERN struct _base
- {
- int infile;
- unsigned char rdbfr[2051];
- unsigned char *rdptr;
- unsigned char inbfr[16];
- int incnt;
- int bitcnt;
- short block[6][64];
- } base, *ld;
- EXTERN int MV[2][6][MBR+1][MBC+2];
- EXTERN int modemap[MBR+1][MBC+2];
- EXTERN int quant_store[MBR+1][MBC+1];
- EXTERN struct _ac_dc
- {
- int dc_store_lum[2*MBR+1][2*MBC+1];
- int ac_left_lum[2*MBR+1][2*MBC+1][7];
- int ac_top_lum[2*MBR+1][2*MBC+1][7];
- int dc_store_chr[2][MBR+1][MBC+1];
- int ac_left_chr[2][MBR+1][MBC+1][7];
- int ac_top_chr[2][MBR+1][MBC+1][7];
- int predict_dir;
- } ac_dc, *coeff_pred;
- EXTERN unsigned char *edged_ref[3],
- *edged_for[3],
- *frame_ref[3],
- *frame_for[3],
- *display_frame[3];