Open Source Tomb Raider Engine
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pixel.h 471B

123456789101112131415161718
  1. /*!
  2. * \file include/utils/pixel.h
  3. * \brief Pixel buffer utilities
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _UTILS_PIXEL_H_
  8. #define _UTILS_PIXEL_H_
  9. void bgr2rgb24(unsigned char *image, unsigned int w, unsigned int h);
  10. void bgra2rgba32(unsigned char *image, unsigned int w, unsigned int h);
  11. void argb2rgba32(unsigned char *image, unsigned int w, unsigned int h);
  12. unsigned char *scaleBuffer(unsigned char *image, unsigned int *w, unsigned int *h, unsigned int bpp);
  13. #endif