- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
mom_structs.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- #ifndef _MOM_STRUCTS_H_
- #define _MOM_STRUCTS_H_
- #include "momusys.h"
- #define VERSION 1
- enum image_type {SHORT_TYPE,FLOAT_TYPE,UCHAR_TYPE};
- typedef enum image_type ImageType;
- union image_data
- {
- SInt *s;
- Float *f;
- UChar *u;
- };
- typedef union image_data ImageData;
- struct image
- {
- Int version;
- UInt x,y;
- Char upperodd;
- Char grid;
- SInt *f;
- ImageData *data;
- ImageType type;
- };
- typedef struct image Image;
- typedef struct image ImageI;
- typedef struct image ImageF;
- struct vop
- {
- Int prediction_type;
- Int mod_time_base;
- Float time_inc;
- Int rounding_type;
- Int width;
- Int height;
- Int hor_spat_ref;
- Int ver_spat_ref;
- Int intra_dc_vlc_thr;
- Int quantizer;
- Int intra_quantizer;
- Int time_increment_resolution;
- Int intra_acdc_pred_disable;
- Int sr_for;
- Int fcode_for;
- Int quant_precision;
- Int bits_per_pixel;
- Image *y_chan;
- Image *u_chan;
- Image *v_chan;
- };
- typedef struct vop Vop;
- struct object_layer_cfg
- {
- Float frame_rate;
- Int M;
- Int start_frame;
- Int end_frame;
- Int bit_rate;
- Int frame_skip;
- Int quantizer;
- Int intra_quantizer;
- Int intra_period;
- Int modulo_time_base[2];
- };
- typedef struct object_layer_cfg VolConfig;
- #include "mom_util.h"
- #include "mom_access.h"
- #endif