store.h

来自「h263 encoder」· C头文件 代码 · 共 34 行

H
34
字号
// Store.h: interface for the CStore class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_)
#define AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CStore  
{
public:
	void storeframe(unsigned char *src[], int frame);
	CStore();
	virtual ~CStore();

private:
	void store_bmp(char *outname, unsigned char *src[], int offset, int incr, int height);
	void conv420to422(unsigned char *src, unsigned char *dst);
	void conv422to444(unsigned char *src, unsigned char *dst);
	void putword(int w);
	void putbyte(int c);
	void store_yuv1(char *name, unsigned char *src,int offset, int incr, int width, int height, int append);
	void store_ppm_tga(char *outname, unsigned char *src[],int offset, int incr, int height, int tgaflag);
	void store_sif(char *outname, unsigned char *src[], int offset, int incr, int height);
	void store_yuv_append(char *outname, unsigned char *src[],int offset, int incr, int height);
	void store_yuv(char *outname, unsigned char *src[],int offset, int incr, int height);
	void store_one(char *outname, unsigned char *src[],int offset, int incr, int height);
};

#endif // !defined(AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?