libgpac
Documentation of the core library of GPAC
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)
 
GPAC_MODULE_EXPORT const u32QueryInterfaces ()
 
GPAC_MODULE_EXPORT GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
GPAC_MODULE_EXPORT void ShutdownInterface (GF_BaseInterface *ifce)
 

Data Structure Documentation

◆ AndroidContext

struct AndroidContext
Data Fields
JNIEnv * env
jobject * bitmap
u32 width
u32 height
void * locked_data
u8 out_3d_type
u32 tex_width
u32 tex_height
GLint texID
GLubyte * texData
u8 draw_texture
u8 non_power_two
Bool fullscreen

Macro Definition Documentation

◆ RAW_OUT_PIXEL_FORMAT

#define RAW_OUT_PIXEL_FORMAT   GF_PIXEL_RGB_32

◆ NBPP

#define NBPP   4

◆ RAWCTX

#define RAWCTX   AndroidContext *rc = (AndroidContext *)dr->opaque

Function Documentation

◆ raw_resize()

static GF_Err raw_resize ( GF_VideoOutput dr,
u32  w,
u32  h 
)
static
+ Here is the caller graph for this function:

◆ RAW_Setup()

GF_Err RAW_Setup ( GF_VideoOutput dr,
void *  os_handle,
void *  os_display,
u32  init_flags 
)
+ Here is the caller graph for this function:

◆ RAW_Shutdown()

static void RAW_Shutdown ( GF_VideoOutput dr)
static
+ Here is the caller graph for this function:

◆ RAW_Flush()

static GF_Err RAW_Flush ( GF_VideoOutput dr,
GF_Window dest 
)
static
+ Here is the caller graph for this function:

◆ RAW_LockBackBuffer()

static GF_Err RAW_LockBackBuffer ( GF_VideoOutput dr,
GF_VideoSurface vi,
Bool  do_lock 
)
static
+ Here is the caller graph for this function:

◆ RAW_ProcessEvent()

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:

◆ NewRawVideoOutput()

GF_VideoOutput* NewRawVideoOutput ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteVideoOutput()

void DeleteVideoOutput ( void *  ifce)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QueryInterfaces()

GPAC_MODULE_EXPORT const u32* QueryInterfaces ( )

◆ LoadInterface()

GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface ( u32  InterfaceType)
+ Here is the call graph for this function:

◆ ShutdownInterface()

GPAC_MODULE_EXPORT void ShutdownInterface ( GF_BaseInterface ifce)
+ Here is the call graph for this function: