GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
droid_vout-bitmap.c File Reference
#include <gpac/modules/video_out.h>
#include <gpac/list.h>
#include <gpac/constants.h>
#include <gpac/setup.h>
#include <android/bitmap.h>
+ Include dependency graph for droid_vout-bitmap.c:

Data Structures

struct  AndroidContext
 

Macros

#define RAW_OUT_PIXEL_FORMAT   GF_PIXEL_RGB_32
 
#define NBPP   4
 
#define RAWCTX   AndroidContext *rc = (AndroidContext *)dr->opaque
 

Functions

static GF_Err raw_resize (GF_VideoOutput *dr, u32 w, u32 h)
 
GF_Err RAW_Setup (GF_VideoOutput *dr, void *os_handle, void *os_display, u32 init_flags)
 
static void RAW_Shutdown (GF_VideoOutput *dr)
 
static GF_Err RAW_Flush (GF_VideoOutput *dr, GF_Window *dest)
 
static GF_Err RAW_LockBackBuffer (GF_VideoOutput *dr, GF_VideoSurface *vi, Bool do_lock)
 
static GF_Err RAW_ProcessEvent (GF_VideoOutput *dr, GF_Event *evt)
 
GF_VideoOutputNewRawVideoOutput ()
 
void DeleteVideoOutput (void *ifce)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Data Structure Documentation

struct AndroidContext
+ Collaboration diagram for AndroidContext:
Data Fields
JNIEnv * env
jobject * bitmap
u32 width
u32 height
void * locked_data
u8 out_3d_type
u32 tex_width
u32 tex_height
GLuint texID
GLuint framebuff
GLuint depthbuff
GLubyte * texData
u8 draw_texture
u8 non_power_two

Macro Definition Documentation

#define RAW_OUT_PIXEL_FORMAT   GF_PIXEL_RGB_32
#define NBPP   4
#define RAWCTX   AndroidContext *rc = (AndroidContext *)dr->opaque

Function Documentation

static GF_Err raw_resize ( GF_VideoOutput dr,
u32  w,
u32  h 
)
static

+ Here is the caller graph for this function:

GF_Err RAW_Setup ( GF_VideoOutput dr,
void *  os_handle,
void *  os_display,
u32  init_flags 
)

+ Here is the caller graph for this function:

static void RAW_Shutdown ( GF_VideoOutput dr)
static

+ Here is the caller graph for this function:

static GF_Err RAW_Flush ( GF_VideoOutput dr,
GF_Window dest 
)
static

+ Here is the caller graph for this function:

static GF_Err RAW_LockBackBuffer ( GF_VideoOutput dr,
GF_VideoSurface vi,
Bool  do_lock 
)
static

+ Here is the caller graph for this function:

static GF_Err RAW_ProcessEvent ( GF_VideoOutput dr,
GF_Event evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_VideoOutput* NewRawVideoOutput ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteVideoOutput ( void *  ifce)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function: