qtcapture.m File Reference

Include dependency graph for qtcapture.m:


Functions

id Demux ()
id Control ()
id i_update ()
id i_title ()
id i_seekpoint ()
sizeof(demux_sys_t malloc ()
 if (!p_sys) return-1
 memset (p_sys, 0, sizeof(demux_sys_t))
 memset (&fmt, 0, sizeof(es_format_t))
 __msg_Generic ((((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct), 3, MODULE_STRING,"QTCapture Probed")
id defaultInputDeviceWithMediaType: (id QTMediaTypeVideo)
 if (!p_sys->device)
 if (![p_sys->device open:&o_returnedError])
 if ([p_sys->device isInUseByAnotherApplication]==YES)
id init ()
 es_format_Init (&fmt, 0x01, chroma)
id i_width ()
id i_height ()
 __msg_Generic ((((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct), 3, MODULE_STRING,"added new video es %4.4s %dx%d",(char *)&fmt.i_codec, fmt.video.i_width, fmt.video.i_height)
p_demux->out,&fmt es_out_Add ()
 __msg_Generic ((((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct), 3, MODULE_STRING,"QTCapture: We have a video device ready!")
 free (p_sys)
static void Close (vlc_object_t *p_this)
static int Demux (demux_t *p_demux)
static int Control (demux_t *p_demux, int i_query, va_list args)

Variables

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]
QTCaptureDeviceInput * input = nil
NSError * o_returnedError
 input = [[QTCaptureDeviceInput alloc] initWithDevice: p_sys->device]
 kCVPixelBufferHeightKey
 kCVPixelBufferWidthKey
 nil
bool ret = [p_sys->session addInput:input error: &o_returnedError]
 ret = [p_sys->session addOutput:p_sys->output error: &o_returnedError]
int qtchroma = [[[p_sys->device formatDescriptions] objectAtIndex: 0] formatType]
int chroma = qtchroma_to_fourcc( qtchroma )
NSSize size = [[p_sys->device attributeForKey:QTFormatDescriptionVideoEncodedPixelsSizeAttribute] sizeValue]
error __pad0__

Function Documentation

__msg_Generic ( (((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct)  ,
,
MODULE_STRING  ,
"QTCapture: We have a video device ready!"   
)

__msg_Generic ( (((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct)  ,
,
MODULE_STRING  ,
"added new video es %4.4s %dx%d"  ,
(char *)&fmt.  i_codec,
fmt.video.  i_width,
fmt.video.  i_height 
)

__msg_Generic ( (((vlc_object_t *)(p_demux))+0 *(p_demux)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct)  ,
,
MODULE_STRING  ,
"QTCapture Probed"   
)

static void Close ( vlc_object_t p_this  )  [static]

static int Control ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

id Control (  )  [virtual]

id defaultInputDeviceWithMediaType: ( id  QTMediaTypeVideo  )  [virtual]

static int Demux ( demux_t p_demux  )  [static]

id Demux (  )  [virtual]

es_format_Init ( fmt,
0x01  ,
chroma   
)

p_demux->out, &fmt es_out_Add (  )  [virtual]

free ( p_sys   ) 

id i_height (  )  [virtual]

id i_seekpoint (  )  [virtual]

id i_title (  )  [virtual]

id i_update (  )  [virtual]

id i_width (  )  [virtual]

if (  ) 

if ( [p_sys->device open:&o_returnedError]  ) 

if ( !p_sys->  device  ) 

if ( p_sys  ) 

id init (  )  [virtual]

sizeof( demux_sys_t malloc (  )  [virtual]

memset ( fmt,
,
sizeof(es_format_t  
)

memset ( p_sys  ,
,
sizeof(demux_sys_t  
)


Variable Documentation

error __pad0__

int chroma = qtchroma_to_fourcc( qtchroma )

input = [[QTCaptureDeviceInput alloc] initWithDevice: p_sys->device]

QTCaptureDeviceInput* input = nil

kCVPixelBufferHeightKey

kCVPixelBufferWidthKey

nil

NSError* o_returnedError

NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]

int qtchroma = [[[p_sys->device formatDescriptions] objectAtIndex: 0] formatType]

ret = [p_sys->session addOutput:p_sys->output error: &o_returnedError]

bool ret = [p_sys->session addInput:input error: &o_returnedError]

NSSize size = [[p_sys->device attributeForKey:QTFormatDescriptionVideoEncodedPixelsSizeAttribute] sizeValue]


Generated on Wed Aug 13 08:02:55 2008 for VLC by  doxygen 1.5.1