23 lines
393 B
C++
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
|