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
ios_cam.c File Reference
+ Include dependency graph for ios_cam.c:

Data Structures

struct  IOSCamCtx
 

Macros

#define CAM_PIXEL_FORMAT   GF_PIXEL_BGR_32
 
#define CAM_PIXEL_SIZE   4.f
 
#define CAM_WIDTH   640
 
#define CAM_HEIGHT   480
 

Functions

void camStartCamera (IOSCamCtx *read)
 
void camStopCamera (IOSCamCtx *read)
 
void processFrameBuf (unsigned char *data, unsigned int dataSize)
 
Bool CAM_CanHandleURL (GF_InputService *plug, const char *url)
 
GF_Err CAM_ConnectService (GF_InputService *plug, GF_ClientService *serv, const char *url)
 
GF_Err CAM_CloseService (GF_InputService *plug)
 
u32 getWidth (IOSCamCtx *read)
 
u32 getHeight (IOSCamCtx *read)
 
static GF_DescriptorCAM_GetServiceDesc (GF_InputService *plug, u32 expect_type, const char *sub_url)
 
GF_Err CAM_ConnectChannel (GF_InputService *plug, LPNETCHANNEL channel, const char *url, Bool upstream)
 
GF_Err CAM_DisconnectChannel (GF_InputService *plug, LPNETCHANNEL channel)
 
int * decodeYUV420SP (char *yuv420sp, int width, int height)
 
void pauseCamera (IOSCamCtx *read)
 
void resumeCamera (IOSCamCtx *read)
 
GF_Err CAM_ServiceCommand (GF_InputService *plug, GF_NetworkCommand *com)
 
GF_InputServiceCAM_client_load ()
 
void CAM_client_del (GF_BaseInterface *bi)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Variables

IOSCamCtxglobReader = 0
 

Data Structure Documentation

struct IOSCamCtx
+ Collaboration diagram for IOSCamCtx:
Data Fields
GF_InputService * input
GF_ClientService * service
LPNETCHANNEL channel
u32 time_scale
u32 base_track_id
struct _tag_terminal * term
u32 cntr
u32 width
u32 height
Bool started
void * camInst

Macro Definition Documentation

#define CAM_PIXEL_FORMAT   GF_PIXEL_BGR_32
#define CAM_PIXEL_SIZE   4.f
#define CAM_WIDTH   640
#define CAM_HEIGHT   480

Function Documentation

void camStartCamera ( IOSCamCtx read)

+ Here is the call graph for this function:

void camStopCamera ( IOSCamCtx read)

+ Here is the call graph for this function:

void processFrameBuf ( unsigned char *  data,
unsigned int  dataSize 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool CAM_CanHandleURL ( GF_InputService plug,
const char *  url 
)
GF_Err CAM_ConnectService ( GF_InputService plug,
GF_ClientService *  serv,
const char *  url 
)

+ Here is the call graph for this function:

GF_Err CAM_CloseService ( GF_InputService plug)

+ Here is the call graph for this function:

u32 getWidth ( IOSCamCtx read)
u32 getHeight ( IOSCamCtx read)
static GF_Descriptor* CAM_GetServiceDesc ( GF_InputService plug,
u32  expect_type,
const char *  sub_url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err CAM_ConnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel,
const char *  url,
Bool  upstream 
)

+ Here is the call graph for this function:

GF_Err CAM_DisconnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel 
)

+ Here is the call graph for this function:

int* decodeYUV420SP ( char *  yuv420sp,
int  width,
int  height 
)

+ Here is the call graph for this function:

void pauseCamera ( IOSCamCtx read)

+ Here is the call graph for this function:

void resumeCamera ( IOSCamCtx read)

+ Here is the call graph for this function:

GF_Err CAM_ServiceCommand ( GF_InputService plug,
GF_NetworkCommand com 
)

+ Here is the call graph for this function:

GF_InputService* CAM_client_load ( )

+ Here is the call graph for this function:

void CAM_client_del ( GF_BaseInterface bi)

+ Here is the call 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:

Variable Documentation

IOSCamCtx* globReader = 0