AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions
render_api.h File Reference

Header for functions defined in the AOSP opengl libs. More...

This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Header for functions defined in the AOSP opengl libs.

Definition in file render_api.h.

Macro Definition Documentation

#define STREAM_MODE_TCP   1

Definition at line 8 of file render_api.h.

Function Documentation

float AiC_CallbackRotation ( void(*)(float)  fn)

Define a callback to be executed locally on screen rotation

Here is the caller graph for this function:

void AiC_setDPI ( int  dpi)

Set the pixel density of the screen

Here is the caller graph for this function:

int createOpenGLSubwindow ( void *  window,
int  x,
int  y,
int  width,
int  height,
float  zRot 
)

Create a native subwindow to be used for framebuffer display

Here is the caller graph for this function:

int destroyOpenGLSubwindow ( void  )

Destroy a native subwindow

int initLibrary ( void  )

Initialize the library and tries to load the GLES translator libs

Here is the caller graph for this function:

int initOpenGLRenderer ( int  width,
int  height,
char *  addr,
size_t  addrLen 
)

Initialize the OpenGL renderer process

Here is the caller graph for this function:

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

Here is the caller graph for this function: