AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
Header for functions defined in the AOSP opengl libs. More...
Go to the source code of this file.
Macros | |
#define | STREAM_MODE_TCP 1 |
Functions | |
float | AiC_CallbackRotation (void(*fn)(float)) |
void | AiC_setDPI (int dpi) |
int | initLibrary (void) |
int | setStreamMode (int mode) |
int | initOpenGLRenderer (int width, int height, char *addr, size_t addrLen) |
int | createOpenGLSubwindow (void *window, int x, int y, int width, int height, float zRot) |
int | destroyOpenGLSubwindow (void) |
void | repaintOpenGLDisplay (void) |
void | setOpenGLDisplayRotation (float zRot) |
Header for functions defined in the AOSP opengl libs.
Definition in file render_api.h.
#define STREAM_MODE_TCP 1 |
Definition at line 8 of file render_api.h.
float AiC_CallbackRotation | ( | void(*)(float) | fn | ) |
Define a callback to be executed locally on screen rotation
void AiC_setDPI | ( | int | dpi | ) |
Set the pixel density of the screen
int createOpenGLSubwindow | ( | void * | window, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
float | zRot | ||
) |
Create a native subwindow to be used for framebuffer display
int destroyOpenGLSubwindow | ( | void | ) |
Destroy a native subwindow
int initLibrary | ( | void | ) |
Initialize the library and tries to load the GLES translator libs
int initOpenGLRenderer | ( | int | width, |
int | height, | ||
char * | addr, | ||
size_t | addrLen | ||
) |
Initialize the OpenGL renderer process
void repaintOpenGLDisplay | ( | void | ) |
Repaint the OpenGL subwindow with the framebuffer content
void setOpenGLDisplayRotation | ( | float | zRot | ) |
Set the framebuffer display image rotation
int setStreamMode | ( | int | mode | ) |
Change the stream mode, must be called before initOpenGLRenderer