
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_RGBPicture * | private_mediacontrol_RGBPicture__alloc (int datasize) |
| Allocate a RGBPicture structure. | |
| mediacontrol_RGBPicture * | private_mediacontrol_createRGBPicture (int, int, long, int64_t l_date, char *, int) |
| Allocates and initializes a mediacontrol_RGBPicture object. | |
| #define _VLC_MEDIACONTROL_INTERNAL_H 1 |
| #define HANDLE_LIBVLC_EXCEPTION_NULL | ( | e | ) |
Value:
if( libvlc_exception_raised( e ) ) { \ RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return NULL; }
Referenced by mediacontrol_get_mrl(), mediacontrol_new(), and mediacontrol_new_from_instance().
| #define HANDLE_LIBVLC_EXCEPTION_VOID | ( | e | ) |
Value:
if( libvlc_exception_raised( e ) ) { \ RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return; }
Referenced by mediacontrol_pause(), mediacontrol_resume(), mediacontrol_set_fullscreen(), mediacontrol_set_media_position(), mediacontrol_set_mrl(), mediacontrol_set_rate(), mediacontrol_sound_set_volume(), mediacontrol_start(), and mediacontrol_stop().
| #define HANDLE_LIBVLC_EXCEPTION_ZERO | ( | e | ) |
Value:
if( libvlc_exception_raised( e ) ) { \ RAISE( mediacontrol_InternalException, libvlc_errmsg()); \ libvlc_exception_clear( e ); \ return 0; }
Referenced by mediacontrol_get_fullscreen(), mediacontrol_get_rate(), and mediacontrol_set_visual().
| #define RAISE | ( | c, | |||
| m | ) |
Value:
Referenced by mediacontrol_get_stream_information(), and mediacontrol_start().
| #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) |
Referenced by mediacontrol_display_text().
| 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.
| 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 |
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 | |||
| ) |
References mediacontrol_Position::key, libvlc_exception_init(), libvlc_media_player_get_length(), libvlc_media_player_get_time(), mediacontrol_AbsolutePosition, mediacontrol_MediaTime, mediacontrol_ModuloPosition, mediacontrol_RelativePosition, mediacontrol_Position::origin, private_mediacontrol_unit_convert(), and mediacontrol_Position::value.
Referenced by mediacontrol_display_text(), mediacontrol_set_media_position(), and mediacontrol_start().
| mediacontrol_RGBPicture* private_mediacontrol_RGBPicture__alloc | ( | int | datasize | ) |
Allocate a RGBPicture structure.
| 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 | |||
| ) |
1.5.6