DXApplyLookupTable function

Applies a lookup table to a single DXBASESAMPLE structure.

Syntax

DXBASESAMPLE* DXApplyLookupTable(
  _In_ const DXBASESAMPLE Src,
  _In_ const BYTE         *pTable
);

Parameters

  • Src [in]
    A DXBASESAMPLE object that specifies the source sample.

  • pTable [in]
    A pointer to a value of type BYTE that specifies the lookup table to use for converting the samples.

Return value

Returns the converted DXBASESAMPLE structure.

Remarks

Unlike DXApplyColorChannelLookupArray, this function uses a single lookup table for all four color channels.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxhelper.h