⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rw_uyvy.hh

📁 PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
💻 HH
字号:
/*********************************************************************  fileio/rw_uyvy.hh  purpose:    Functions for loading and saving of UYVY files of any size.    The image to write the image into will be created by    ReadImage_UYVY() according to the specification given in    the spec-argument. The chroma and nocolors fields need not    be set. But note that the size of the saved image must be    equal to the values in 'spec'.  notes:  to do:  author(s):   - Dirk Farin, farin@ti.uni-mannheim.de     University Mannheim, Dept. Circuitry and Simulation     B 6,26 EG, room 0.10 / D-68131 Mannheim / Germany  modifications:   15/Jul/1999 - Dirk Farin - completely rewritten   18/Jun/9999 - Dirk Farin - first implementation *********************************************************************/#ifndef LIBVIDEOGFX_GRAPHICS_FILEIO_RW_UYVY_HH#define LIBVIDEOGFX_GRAPHICS_FILEIO_RW_UYVY_HH#include <fstream.h>#include "libvideogfx/graphics/basic/image.hh"// Return true if the image file size matches the size specified in sizespec.bool CheckImageSize (ifstream& istr,const ImageInfo_Base& sizespec);void ReadImage_UYVY (Image_YUV<Pixel>&,ifstream& istr,const ImageSpec_YUV& spec);void WriteImage_UYVY(Image_YUV<Pixel>&,ofstream& ostr);#endif

⌨️ 快捷键说明

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