bitmap.h File Reference

bitmap.h File Reference
#include <stdint.h>
#include <jni.h>

Data Structures

struct  AndroidBitmapInfo
 

Macros

#define ANDROID_BITMAP_RESUT_SUCCESS   ANDROID_BITMAP_RESULT_SUCCESS
 

Enumerations

enum  { ANDROID_BITMAP_RESULT_SUCCESS = 0, ANDROID_BITMAP_RESULT_BAD_PARAMETER = -1, ANDROID_BITMAP_RESULT_JNI_EXCEPTION = -2, ANDROID_BITMAP_RESULT_ALLOCATION_FAILED = -3 }
 
enum  AndroidBitmapFormat {
  ANDROID_BITMAP_FORMAT_NONE = 0, ANDROID_BITMAP_FORMAT_RGBA_8888 = 1, ANDROID_BITMAP_FORMAT_RGB_565 = 4, ANDROID_BITMAP_FORMAT_RGBA_4444 = 7,
  ANDROID_BITMAP_FORMAT_A_8 = 8
}
 

Functions

int AndroidBitmap_getInfo (JNIEnv *env, jobject jbitmap, AndroidBitmapInfo *info)
 
int AndroidBitmap_lockPixels (JNIEnv *env, jobject jbitmap, void **addrPtr)
 
int AndroidBitmap_unlockPixels (JNIEnv *env, jobject jbitmap)