home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 275 / DPCS0111DVD.ISO / Toolkit / Audio-Visual / VirtualDub / Source / VirtualDub-1.9.10-src.7z / src / Kasumi / h / uberblit_16f.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-09-14  |  1008 b   |  40 lines

  1. #ifndef f_VD2_KASUMI_UBERBLIT_16F_H
  2. #define f_VD2_KASUMI_UBERBLIT_16F_H
  3.  
  4. #include <vd2/system/cpuaccel.h>
  5. #include "uberblit_base.h"
  6.  
  7. ///////////////////////////////////////////////////////////////////////////////////////////////////
  8. //
  9. //    32F -> 16F
  10. //
  11. ///////////////////////////////////////////////////////////////////////////////////////////////////
  12.  
  13. class VDPixmapGen_32F_To_16F : public VDPixmapGenWindowBasedOneSourceSimple {
  14. public:
  15.     void Start();
  16.  
  17.     uint32 GetType(uint32 output) const;
  18.  
  19. protected:
  20.     void Compute(void *dst0, sint32 y);
  21. };
  22.  
  23. ///////////////////////////////////////////////////////////////////////////////////////////////////
  24. //
  25. //    16F -> 32F
  26. //
  27. ///////////////////////////////////////////////////////////////////////////////////////////////////
  28.  
  29. class VDPixmapGen_16F_To_32F : public VDPixmapGenWindowBasedOneSourceSimple {
  30. public:
  31.     void Start();
  32.  
  33.     uint32 GetType(uint32 output) const;
  34.  
  35. protected:
  36.     void Compute(void *dst0, sint32 y);
  37. };
  38.  
  39. #endif
  40.