public.h
来自「H.263+(VC++商业源代码)」· C头文件 代码 · 共 44 行
H
44 行
/////////////////Decoder Functions//////////////////////////
//decode one frame
//BitCount is the size of bitstream (in bytes )
int DecodeOneFrame(int BitCount);
//init the internal structure of decoder
BOOL InitDecoder(unsigned char **DecoderInput,unsigned char **DecoderOutput,int PictureW,int PictureH);
//free resource used by decoder
void FreeDecoder(void);
/////////////////Encoder Functions//////////////////////////
//encode one frame of picture, using IntraFrame encoder
//that means, this frame has no relation with other frames
//return: size of bitstream encoded (in bytes)
int EncodeOneIntra(void);
//encode one frame of picture, using InterFrame encoder
//that means, how this frame is encoded depends on frames
//that has been encoded since last call of <EncodeOneIntra>
//return: size of bitstream encoded (in bytes)
int EncodeOneInter(void);
//init the internal structure of encoder
long InitEncoder(unsigned char **EncoderInput ,unsigned char **EncoderOutput,int PictureWidth,int PictureHeight);
//free resource used by encoder
void FreeEncoder(void);
//set the compression ratio(1 to 31)
//the smaller newQP, the better image quality you'll get
//return: current QP
int SetCompressRatio(int newQP);
//set Video format
//555: R 5, G 5, B 5
//565: R 5, G 6, B 5
//888: R 8, G 8, B 8
void SetVideoFormat(int NewVideoFormat);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?