yuv2rgb16.hh

来自「pixil 最新的嵌入linux 應用程序集,別的地方很難下載」· HH 代码 · 共 45 行

HH
45
字号
/*********************************************************************  libvideogfx/graphics/lowlevel/yuv2rgb16.hh  purpose:    Transform YUV data into 16bit true color RGB raw data.    Every bit organization in a 16bit field and endianess    translation is supported.  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:    08/Aug/1999 - Dirk Farin - code imported from DVDview and                               slightly modified *********************************************************************/#ifndef LIBVIDEOGFX_GRAPHICS_LOWLEVEL_YUV2RGB16_HH#define LIBVIDEOGFX_GRAPHICS_LOWLEVEL_YUV2RGB16_HH#include "img2raw.hh"class i2r_yuv_16bit : public Image2Raw_TransformYUV{public:  virtual ~i2r_yuv_16bit() { }  virtual void Transform(const Image_YUV<Pixel>&,uint8* mem,int firstline,int lastline);  static bool s_CanConvert(const Image_YUV<Pixel>&,const RawImageSpec_RGB&);  virtual bool CanConvert(const Image_YUV<Pixel>& i,const RawImageSpec_RGB& s) { return s_CanConvert(i,s); }  virtual const char* TransformationName() { return "scalar YUV to 16bit RGB"; }private:};#endif

⌨️ 快捷键说明

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