C# Class NScumm.Core.Graphics.YUVToRGBManager

显示文件 Open project: scemino/nscumm

Public Methods

Method Description
Convert420 ( Surface dst, LuminanceScale scale, byte ySrc, byte uSrc, byte vSrc, int yWidth, int yHeight, int yPitch, int uvPitch ) : void

Private Methods

Method Description
ConvertYUV420ToRGB ( byte dstPtr, int dstPitch, YUVToRGBLookup lookup, short colorTab, byte ySrc, byte uSrc, byte vSrc, int yWidth, int yHeight, int yPitch, int uvPitch, int size ) : void
GetLookup ( PixelFormat format, LuminanceScale scale ) : YUVToRGBLookup

Method Details

Convert420() public static method

public static Convert420 ( Surface dst, LuminanceScale scale, byte ySrc, byte uSrc, byte vSrc, int yWidth, int yHeight, int yPitch, int uvPitch ) : void
dst Surface
scale LuminanceScale
ySrc byte
uSrc byte
vSrc byte
yWidth int
yHeight int
yPitch int
uvPitch int
return void