Emotion Media Library. More...
Data Structures | |
struct | _Emotion_Version |
Macros | |
#define | EAPI |
#define | EMOTION_CHANNEL_AUTO -1 |
#define | EMOTION_CHANNEL_DEFAULT 0 |
#define | EMOTION_VERSION_MAJOR EFL_VERSION_MAJOR |
#define | EMOTION_VERSION_MINOR EFL_VERSION_MINOR |
#define | EAPI |
Typedefs | |
typedef enum _Emotion_Module | Emotion_Module |
typedef enum _Emotion_Event | Emotion_Event |
typedef enum _Emotion_Meta_Info | Emotion_Meta_Info |
Meta info type to be retrieved. | |
typedef enum _Emotion_Vis | Emotion_Vis |
Type of visualization. | |
typedef enum _Emotion_Aspect | Emotion_Aspect |
Aspect ratio option. | |
typedef enum _Emotion_Artwork_Info | Emotion_Artwork_Info |
typedef struct _Emotion_Version | Emotion_Version |
typedef struct _Emotion_Webcam | Emotion_Webcam |
Webcam description. | |
Functions | |
Eina_Bool | emotion_init (void) |
Initialise Emotion library. More... | |
Eina_Bool | emotion_shutdown (void) |
Shutdown Emotion library. More... | |
Evas_Object * | emotion_object_add (Evas *evas) |
Add an emotion object to the canvas. More... | |
void | emotion_object_border_set (Evas_Object *obj, int l, int r, int t, int b) |
Set borders for the emotion object. More... | |
void | emotion_object_border_get (const Evas_Object *obj, int *l, int *r, int *t, int *b) |
Get the borders set for the emotion object. More... | |
void | emotion_object_bg_color_set (Evas_Object *obj, int r, int g, int b, int a) |
Set a color for the background rectangle of this emotion object. More... | |
void | emotion_object_bg_color_get (const Evas_Object *obj, int *r, int *g, int *b, int *a) |
Get the background color set for the emotion object. More... | |
void | emotion_object_keep_aspect_set (Evas_Object *obj, Emotion_Aspect a) |
Set whether emotion should keep the aspect ratio of the video. More... | |
Emotion_Aspect | emotion_object_keep_aspect_get (const Evas_Object *obj) |
Get the current emotion aspect ratio policy. More... | |
Eina_Bool | emotion_object_file_set (Evas_Object *obj, const char *filename) |
Set the file to be played in the Emotion object. More... | |
const char * | emotion_object_file_get (const Evas_Object *obj) |
Get the filename of the file associated with the emotion object. More... | |
void | emotion_object_play_set (Evas_Object *obj, Eina_Bool play) |
Set play/pause state of the media file. More... | |
Eina_Bool | emotion_object_play_get (const Evas_Object *obj) |
Get play/pause state of the media file. More... | |
void | emotion_object_position_set (Evas_Object *obj, double sec) |
Set the position in the media file. More... | |
double | emotion_object_position_get (const Evas_Object *obj) |
Get the position in the media file. More... | |
double | emotion_object_buffer_size_get (const Evas_Object *obj) |
Get the percentual size of the buffering cache. More... | |
Eina_Bool | emotion_object_seekable_get (const Evas_Object *obj) |
Get whether the media file is seekable. More... | |
double | emotion_object_play_length_get (const Evas_Object *obj) |
Get the length of play for the media file. More... | |
void | emotion_object_play_speed_set (Evas_Object *obj, double speed) |
Set the play speed of the media file. More... | |
double | emotion_object_play_speed_get (const Evas_Object *obj) |
Get the play speed of the media file. More... | |
const char * | emotion_object_progress_info_get (const Evas_Object *obj) |
Get how much of the file has been played. More... | |
double | emotion_object_progress_status_get (const Evas_Object *obj) |
Get how much of the file has been played. More... | |
Eina_Bool | emotion_object_video_handled_get (const Evas_Object *obj) |
Eina_Bool | emotion_object_audio_handled_get (const Evas_Object *obj) |
double | emotion_object_ratio_get (const Evas_Object *obj) |
Retrieve the video aspect ratio of the media file loaded. More... | |
void | emotion_object_size_get (const Evas_Object *obj, int *iw, int *ih) |
Retrieve the video size of the loaded file. More... | |
void | emotion_object_smooth_scale_set (Evas_Object *obj, Eina_Bool smooth) |
Sets whether to use of high-quality image scaling algorithm of the given video object. More... | |
Eina_Bool | emotion_object_smooth_scale_get (const Evas_Object *obj) |
Gets whether the high-quality image scaling algorithm of the given video object is used. More... | |
void | emotion_object_event_simple_send (Evas_Object *obj, Emotion_Event ev) |
Send an Emotion Event to an Evas object. More... | |
void | emotion_object_audio_volume_set (Evas_Object *obj, double vol) |
Set the audio volume. More... | |
double | emotion_object_audio_volume_get (const Evas_Object *obj) |
Get the audio volume. More... | |
void | emotion_object_audio_mute_set (Evas_Object *obj, Eina_Bool mute) |
Set the mute audio option for this object. More... | |
Eina_Bool | emotion_object_audio_mute_get (const Evas_Object *obj) |
Get the mute audio option of this object. More... | |
int | emotion_object_audio_channel_count (const Evas_Object *obj) |
const char * | emotion_object_audio_channel_name_get (const Evas_Object *obj, int channel) |
void | emotion_object_audio_channel_set (Evas_Object *obj, int channel) |
int | emotion_object_audio_channel_get (const Evas_Object *obj) |
void | emotion_object_video_mute_set (Evas_Object *obj, Eina_Bool mute) |
Set the mute video option for this object. More... | |
Eina_Bool | emotion_object_video_mute_get (const Evas_Object *obj) |
Get the mute video option of this object. More... | |
void | emotion_object_video_subtitle_file_set (Evas_Object *obj, const char *filepath) |
Set the video's subtitle file path. More... | |
const char * | emotion_object_video_subtitle_file_get (const Evas_Object *obj) |
Get the video's subtitle file path. More... | |
int | emotion_object_video_channel_count (const Evas_Object *obj) |
Get the number of available video channel. More... | |
const char * | emotion_object_video_channel_name_get (const Evas_Object *obj, int channel) |
Get the name of a given video channel. More... | |
void | emotion_object_video_channel_set (Evas_Object *obj, int channel) |
Set the channel for a given video object. More... | |
int | emotion_object_video_channel_get (const Evas_Object *obj) |
Get the channel for a given video object. More... | |
void | emotion_object_spu_mute_set (Evas_Object *obj, Eina_Bool mute) |
Eina_Bool | emotion_object_spu_mute_get (const Evas_Object *obj) |
int | emotion_object_spu_channel_count (const Evas_Object *obj) |
const char * | emotion_object_spu_channel_name_get (const Evas_Object *obj, int channel) |
void | emotion_object_spu_channel_set (Evas_Object *obj, int channel) |
int | emotion_object_spu_channel_get (const Evas_Object *obj) |
int | emotion_object_chapter_count (const Evas_Object *obj) |
void | emotion_object_chapter_set (Evas_Object *obj, int chapter) |
int | emotion_object_chapter_get (const Evas_Object *obj) |
const char * | emotion_object_chapter_name_get (const Evas_Object *obj, int chapter) |
void | emotion_object_eject (Evas_Object *obj) |
const char * | emotion_object_title_get (const Evas_Object *obj) |
Get the dvd title from this emotion object. More... | |
const char * | emotion_object_ref_file_get (const Evas_Object *obj) |
int | emotion_object_ref_num_get (const Evas_Object *obj) |
int | emotion_object_spu_button_count_get (const Evas_Object *obj) |
int | emotion_object_spu_button_get (const Evas_Object *obj) |
const char * | emotion_object_meta_info_get (const Evas_Object *obj, Emotion_Meta_Info meta) |
Retrieve meta information from this file being played. More... | |
void | emotion_object_vis_set (Evas_Object *obj, Emotion_Vis visualization) |
Set the visualization to be used with this object. More... | |
Emotion_Vis | emotion_object_vis_get (const Evas_Object *obj) |
Get the type of visualization in use by this emotion object. More... | |
Eina_Bool | emotion_object_vis_supported (const Evas_Object *obj, Emotion_Vis visualization) |
Query whether a type of visualization is supported by this object. More... | |
void | emotion_object_priority_set (Evas_Object *obj, Eina_Bool priority) |
Raise priority of an object so it will have a priviledged access to hardware resources. More... | |
Eina_Bool | emotion_object_priority_get (const Evas_Object *obj) |
Get the actual priority of an object. More... | |
void | emotion_object_suspend_set (Evas_Object *obj, Emotion_Suspend state) |
Change the state of an object pipeline. More... | |
Emotion_Suspend | emotion_object_suspend_get (Evas_Object *obj) |
Get the current state of the pipeline. More... | |
void | emotion_object_last_position_load (Evas_Object *obj) |
Load the last known position if available. More... | |
void | emotion_object_last_position_save (Evas_Object *obj) |
Save the lastest position if possible. More... | |
Eina_Bool | emotion_object_extension_may_play_fast_get (const char *file) |
Do we have a chance to play that file. More... | |
Eina_Bool | emotion_object_extension_may_play_get (const char *file) |
Do we have a chance to play that file. More... | |
Evas_Object * | emotion_object_image_get (const Evas_Object *obj) |
Get the actual image object that contains the pixels of the video stream. More... | |
const Eina_List * | emotion_webcams_get (void) |
Get a list of active and available webcam. More... | |
const char * | emotion_webcam_name_get (const Emotion_Webcam *ew) |
Get the human understandable name of a Webcam. More... | |
const char * | emotion_webcam_device_get (const Emotion_Webcam *ew) |
Get the uri of a Webcam that will be understood by emotion. More... | |
Evas_Object * | emotion_file_meta_artwork_get (const Evas_Object *obj, const char *path, Emotion_Artwork_Info type) |
Get the album artwork from file meta data tags. More... | |
Variables | |
Emotion_Version * | emotion_version |
int | EMOTION_WEBCAM_UPDATE |
Ecore_Event triggered when a new webcam is plugged or unplugged. | |
int | EMOTION_WEBCAM_ADD |
Ecore_Event triggered when a new webcam is plugged in. More... | |
int | EMOTION_WEBCAM_DEL |
Ecore_Event triggered when a webcam is unplugged. More... | |
Emotion Media Library.
The file that provides Emotion the API, with functions available for play, seek, change volume, etc.
These routines are used for Emotion.
Represents the current version of Emotion
enum _Emotion_Aspect |
Defines the aspect ratio option.