nvidia-texture-tools/src/nvimage/ColorSpace.h
2010-07-13 03:08:45 +00:00

23 lines
393 B
C++

// This code is in the public domain -- jim@tilander.org
#pragma once
#ifndef NV_IMAGE_COLORSPACE_H
#define NV_IMAGE_COLORSPACE_H
namespace nv
{
class Image;
// Defines simple mappings between different color spaces and encodes them in the
// input image.
namespace ColorSpace
{
void RGBtoYCoCg_R(Image* img);
void YCoCg_RtoRGB(Image* img);
}
}
#endif