GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
#include <gpac/modules/video_out.h>
#include <gpac/list.h>
#include <gpac/constants.h>
#include <gpac/setup.h>
#include <GLES/gl.h>
#include <GLES/glext.h>
#include <android/log.h>
Data Structures | |
struct | AndroidContext |
Macros | |
#define | TAG "DROID_VIDEO" |
#define | LOG __android_log_print |
#define | PI 3.1415926535897932f |
#define | RAW_OUT_PIXEL_FORMAT GF_PIXEL_RGBA |
#define | NBPP 4 |
#define | RAWCTX AndroidContext *rc = (AndroidContext *)dr->opaque |
Functions | |
void | initGL (AndroidContext *rc) |
void | gluPerspective (GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar) |
void | resizeWindow (AndroidContext *rc) |
void | drawGLScene (AndroidContext *rc) |
int | releaseTexture (AndroidContext *rc) |
int | createTexture (AndroidContext *rc) |
u32 | find_pow_2 (u32 num) |
static GF_Err | droid_Resize (GF_VideoOutput *dr, u32 w, u32 h) |
GF_Err | droid_Setup (GF_VideoOutput *dr, void *os_handle, void *os_display, u32 init_flags) |
static void | droid_Shutdown (GF_VideoOutput *dr) |
static GF_Err | droid_Flush (GF_VideoOutput *dr, GF_Window *dest) |
static GF_Err | droid_LockBackBuffer (GF_VideoOutput *dr, GF_VideoSurface *vi, Bool do_lock) |
static GF_Err | droid_ProcessEvent (GF_VideoOutput *dr, GF_Event *evt) |
GF_VideoOutput * | NewRawVideoOutput () |
void | DeleteVideoOutput (void *ifce) |
const u32 * | QueryInterfaces () |
GF_BaseInterface * | LoadInterface (u32 InterfaceType) |
void | ShutdownInterface (GF_BaseInterface *ifce) |
struct AndroidContext |
#define TAG "DROID_VIDEO" |
#define LOG __android_log_print |
#define PI 3.1415926535897932f |
#define RAW_OUT_PIXEL_FORMAT GF_PIXEL_RGBA |
#define NBPP 4 |
#define RAWCTX AndroidContext *rc = (AndroidContext *)dr->opaque |
void initGL | ( | AndroidContext * | rc | ) |
void gluPerspective | ( | GLfloat | fovy, |
GLfloat | aspect, | ||
GLfloat | zNear, | ||
GLfloat | zFar | ||
) |
void resizeWindow | ( | AndroidContext * | rc | ) |
void drawGLScene | ( | AndroidContext * | rc | ) |
int releaseTexture | ( | AndroidContext * | rc | ) |
int createTexture | ( | AndroidContext * | rc | ) |
|
static |
GF_Err droid_Setup | ( | GF_VideoOutput * | dr, |
void * | os_handle, | ||
void * | os_display, | ||
u32 | init_flags | ||
) |
|
static |
|
static |
|
static |
|
static |
GF_VideoOutput* NewRawVideoOutput | ( | ) |
void DeleteVideoOutput | ( | void * | ifce | ) |
const u32* QueryInterfaces | ( | ) |
GF_BaseInterface* LoadInterface | ( | u32 | InterfaceType | ) |
void ShutdownInterface | ( | GF_BaseInterface * | ifce | ) |