GLOBAL.H
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- #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];