dRGBtoYUV

#include "BIImage.H"

 

D_YUV CALLBACK dRGBtoYUV(const LPD_RGB dRGB)

Description

Returns a D_YUV structure that is equivalent to the color represented by the D_RGB values.

Parameters

LPD_RGB

dRGB

Pointer to a D_RGB structure to convert.

Return values

The function will return a D_YUV structure.

Programming notes

See the Color Conversions Structures section for the description of the structures.

The range of every field of the input structure is 0.0 … 1.0.

The range for each field in the output structure is between 0.0 and 1.0.

Y: 0.0  …  1.0             U: -0.436  …  0.436                V:  -0.615  …  0.615

 

Requirements

Header :     Declared in BIImage.h; include BIImage.h.

Library :    Use BIImage.lib.

DLLs :       BIimage.dll.