OWLIFT Library for Android: OwliftUtil Class Reference
OWLIFT Library for Android  1.8.0.0
Top Page
List of all members | Static Public Member Functions
OwliftUtil Class Reference

Static Public Member Functions

static int magnifyBuf3 (int w, int h, int sdw, int ddw, byte[] src, byte[] dst)
 
static int [] getColorTable (OwliftApp.DecodeType dtype)
 

Detailed Description

Utility class.

Member Function Documentation

◆ getColorTable()

static int [] getColorTable ( OwliftApp.DecodeType  dtype)
static

Returns the color table corresponding to the specified decode type. The element is a value of 24bit RGB.

Parameters
dtypeDecode type.
Returns
The color table.

◆ magnifyBuf3()

static int magnifyBuf3 ( int  w,
int  h,
int  sdw,
int  ddw,
byte []  src,
byte []  dst 
)
static

Magnifies image data(Fix 3 times)
Image format supports only RGB565.

Parameters
wwidth.
hheight.
sdwStride source.
ddwStride destination.
srcsource.
dstdestination.
Returns
ErrorCode