Store.h
上传用户:szklck
上传日期:2007-01-22
资源大小:925k
文件大小:1k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. // Store.h: interface for the CStore class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_)
  5. #define AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CStore  
  10. {
  11. public:
  12. void storeframe(unsigned char *src[], int frame);
  13. CStore();
  14. virtual ~CStore();
  15. private:
  16. void store_bmp(char *outname, unsigned char *src[], int offset, int incr, int height);
  17. void conv420to422(unsigned char *src, unsigned char *dst);
  18. void conv422to444(unsigned char *src, unsigned char *dst);
  19. void putword(int w);
  20. void putbyte(int c);
  21. void store_yuv1(char *name, unsigned char *src,int offset, int incr, int width, int height, int append);
  22. void store_ppm_tga(char *outname, unsigned char *src[],int offset, int incr, int height, int tgaflag);
  23. void store_sif(char *outname, unsigned char *src[], int offset, int incr, int height);
  24. void store_yuv_append(char *outname, unsigned char *src[],int offset, int incr, int height);
  25. void store_yuv(char *outname, unsigned char *src[],int offset, int incr, int height);
  26. void store_one(char *outname, unsigned char *src[],int offset, int incr, int height);
  27. };
  28. #endif // !defined(AFX_STORE_H__5DCE47A2_490D_11D5_9DCC_5254AB2B9F00__INCLUDED_)