Ocean
Ocean::Platform::Android::Bitmap Class Reference

This class implements bitmap functions. More...

Static Public Member Functions

static FrameType::PixelFormat translateFormat (const AndroidBitmapFormat format)
 Translates an Android bitmap format to an Ocean pixel format. More...
 
static AndroidBitmapFormat translateFormat (const FrameType::PixelFormat pixelFormat)
 Translates an Ocean pixel format to an Android bitmap format. More...
 

Detailed Description

This class implements bitmap functions.

Member Function Documentation

◆ translateFormat() [1/2]

static FrameType::PixelFormat Ocean::Platform::Android::Bitmap::translateFormat ( const AndroidBitmapFormat  format)
static

Translates an Android bitmap format to an Ocean pixel format.

Parameters
formatThe Android bitmap format to translate
Returns
The corresponding Ocean pixel format, FORMAT_UNDEFINED if unknown

◆ translateFormat() [2/2]

static AndroidBitmapFormat Ocean::Platform::Android::Bitmap::translateFormat ( const FrameType::PixelFormat  pixelFormat)
static

Translates an Ocean pixel format to an Android bitmap format.

Parameters
pixelFormatThe Ocean pixel format to translate
Returns
The corresponding Android bitmap format, ANDROID_BITMAP_FORMAT_NONE if unknown

The documentation for this class was generated from the following file: