mediacontrol_internal.h File Reference

Include dependency graph for mediacontrol_internal.h:

Go to the source code of this file.

Data Structures

struct  mediacontrol_Instance

Defines

#define _VLC_MEDIACONTROL_INTERNAL_H   1
#define RAISE(c, m)
#define RAISE_NULL(c, m)   do{ RAISE( c, m ); return NULL; } while(0)
#define RAISE_VOID(c, m)   do{ RAISE( c, m ); return; } while(0)
#define HANDLE_LIBVLC_EXCEPTION_VOID(e)
#define HANDLE_LIBVLC_EXCEPTION_NULL(e)
#define HANDLE_LIBVLC_EXCEPTION_ZERO(e)

Functions

libvlc_time_t private_mediacontrol_unit_convert (libvlc_media_player_t *p_media_player, mediacontrol_PositionKey from, mediacontrol_PositionKey to, int64_t value)
libvlc_time_t private_mediacontrol_position2microsecond (libvlc_media_player_t *p_media_player, const mediacontrol_Position *pos)
mediacontrol_RGBPictureprivate_mediacontrol_RGBPicture__alloc (int datasize)
 Allocate a RGBPicture structure.
mediacontrol_RGBPictureprivate_mediacontrol_createRGBPicture (int, int, long, int64_t l_date, char *, int)
 Allocates and initializes a mediacontrol_RGBPicture object.


Define Documentation

#define _VLC_MEDIACONTROL_INTERNAL_H   1

#define HANDLE_LIBVLC_EXCEPTION_NULL (  ) 

#define HANDLE_LIBVLC_EXCEPTION_VOID (  ) 

#define HANDLE_LIBVLC_EXCEPTION_ZERO (  ) 

#define RAISE ( c,
 ) 

Value:

if( exception ) { exception->code = c;    \
                                         exception->message = strdup(m); }

Referenced by mediacontrol_get_stream_information(), and mediacontrol_start().

#define RAISE_NULL ( c,
 )     do{ RAISE( c, m ); return NULL; } while(0)

#define RAISE_VOID ( c,
 )     do{ RAISE( c, m ); return; } while(0)


Function Documentation

mediacontrol_RGBPicture* private_mediacontrol_createRGBPicture ( int  i_width,
int  i_height,
long  i_chroma,
int64_t  l_date,
char *  p_data,
int  i_datasize 
)

Allocates and initializes a mediacontrol_RGBPicture object.

Parameters:
i_width,: picture width
i_height,: picture width
i_chroma,: picture chroma
l_date,: picture timestamp
p_data,: pointer to the data. The data will be directly used, not copied.
i_datasize,: data size in bytes
Returns:
the new object, or NULL on error.

References mediacontrol_RGBPicture::data, mediacontrol_RGBPicture::date, mediacontrol_RGBPicture::height, mediacontrol_RGBPicture::size, mediacontrol_RGBPicture::type, and mediacontrol_RGBPicture::width.

Referenced by mediacontrol_snapshot().

libvlc_time_t private_mediacontrol_position2microsecond ( libvlc_media_player_t p_media_player,
const mediacontrol_Position pos 
)

mediacontrol_RGBPicture* private_mediacontrol_RGBPicture__alloc ( int  datasize  ) 

Allocate a RGBPicture structure.

Parameters:
datasize,: the size of the data

libvlc_time_t private_mediacontrol_unit_convert ( libvlc_media_player_t p_media_player,
mediacontrol_PositionKey  from,
mediacontrol_PositionKey  to,
int64_t  value 
)


Generated on Wed Mar 31 08:06:07 2010 for VLC by  doxygen 1.5.6