Emotion.h File Reference
Emotion Media Library. More...
Typedefs | |
| typedef enum _Emotion_Meta_Info | Emotion_Meta_Info |
| Meta info type to be retrieved. More... | |
| typedef enum _Emotion_Vis | Emotion_Vis |
| Type of visualization. More... | |
| typedef enum _Emotion_Aspect | Emotion_Aspect |
| Aspect ratio option. More... | |
| typedef struct _Emotion_Webcam | Emotion_Webcam |
| Webcam description. | |
Functions | |
| EAPI Evas_Object * | emotion_object_add (Evas *evas) |
| Add an emotion object to the canvas. More... | |
| EAPI void | emotion_object_module_option_set (Evas_Object *obj, const char *opt, const char *val) |
| Set the specified option for the current module. More... | |
| EAPI Eina_Bool | emotion_object_init (Evas_Object *obj, const char *module_filename) |
| Initializes an emotion object with the specified module. More... | |
| EAPI void | emotion_object_border_set (Evas_Object *obj, int l, int r, int t, int b) |
| Set borders for the emotion object. More... | |
| EAPI 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... | |
| EAPI 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... | |
| EAPI 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... | |
| EAPI void | emotion_object_keep_aspect_set (Evas_Object *obj, Emotion_Aspect a) |
| Set whether emotion should keep the aspect ratio of the video. More... | |
| EAPI Emotion_Aspect | emotion_object_keep_aspect_get (const Evas_Object *obj) |
| Get the current emotion aspect ratio policy. More... | |
| EAPI Eina_Bool | emotion_object_file_set (Evas_Object *obj, const char *filename) |
| Set the file to be played in the Emotion object. More... | |
| EAPI const char * | emotion_object_file_get (const Evas_Object *obj) |
| Get the filename of the file associated with the emotion object. More... | |
| EAPI void | emotion_object_play_set (Evas_Object *obj, Eina_Bool play) |
| Set play/pause state of the media file. More... | |
| EAPI Eina_Bool | emotion_object_play_get (const Evas_Object *obj) |
| Get play/pause state of the media file. More... | |
| EAPI void | emotion_object_position_set (Evas_Object *obj, double sec) |
| Set the position in the media file. More... | |
| EAPI double | emotion_object_position_get (const Evas_Object *obj) |
| Get the position in the media file. More... | |
| EAPI double | emotion_object_buffer_size_get (const Evas_Object *obj) |
| Get the percentual size of the buffering cache. More... | |
| EAPI Eina_Bool | emotion_object_seekable_get (const Evas_Object *obj) |
| Get whether the media file is seekable. More... | |
| EAPI double | emotion_object_play_length_get (const Evas_Object *obj) |
| Get the length of play for the media file. More... | |
| EAPI void | emotion_object_play_speed_set (Evas_Object *obj, double speed) |
| Set the play speed of the media file. More... | |
| EAPI double | emotion_object_play_speed_get (const Evas_Object *obj) |
| Get the play speed of the media file. More... | |
| EAPI const char * | emotion_object_progress_info_get (const Evas_Object *obj) |
| Get how much of the file has been played. More... | |
| EAPI double | emotion_object_progress_status_get (const Evas_Object *obj) |
| Get how much of the file has been played. More... | |
| EAPI double | emotion_object_ratio_get (const Evas_Object *obj) |
| Retrieve the video aspect ratio of the media file loaded. More... | |
| EAPI void | emotion_object_size_get (const Evas_Object *obj, int *iw, int *ih) |
| Retrieve the video size of the loaded file. More... | |
| EAPI 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... | |
| EAPI 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... | |
| EAPI void | emotion_object_audio_volume_set (Evas_Object *obj, double vol) |
| Set the audio volume. More... | |
| EAPI double | emotion_object_audio_volume_get (const Evas_Object *obj) |
| Get the audio volume. More... | |
| EAPI void | emotion_object_audio_mute_set (Evas_Object *obj, Eina_Bool mute) |
| Set the mute audio option for this object. More... | |
| EAPI Eina_Bool | emotion_object_audio_mute_get (const Evas_Object *obj) |
| Get the mute audio option of this object. More... | |
| EAPI void | emotion_object_video_mute_set (Evas_Object *obj, Eina_Bool mute) |
| Set the mute video option for this object. More... | |
| EAPI Eina_Bool | emotion_object_video_mute_get (const Evas_Object *obj) |
| Get the mute video option of this object. More... | |
| EAPI int | emotion_object_video_channel_count (const Evas_Object *obj) |
| Get the number of available video channel. More... | |
| EAPI const char * | emotion_object_title_get (const Evas_Object *obj) |
| Get the dvd title from this emotion object. More... | |
| EAPI const char * | emotion_object_meta_info_get (const Evas_Object *obj, Emotion_Meta_Info meta) |
| Retrieve meta information from this file being played. More... | |
| EAPI void | emotion_object_vis_set (Evas_Object *obj, Emotion_Vis visualization) |
| Set the visualization to be used with this object. More... | |
| EAPI Emotion_Vis | emotion_object_vis_get (const Evas_Object *obj) |
| Get the type of visualization in use by this emotion object. More... | |
| EAPI 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... | |
| EAPI 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 ressource. More... | |
| EAPI Eina_Bool | emotion_object_priority_get (const Evas_Object *obj) |
| Get the actual priority of an object. More... | |
| EAPI void | emotion_object_suspend_set (Evas_Object *obj, Emotion_Suspend state) |
| Change the state of an object pipeline. More... | |
| EAPI Emotion_Suspend | emotion_object_suspend_get (Evas_Object *obj) |
| Get the current state of the pipeline. More... | |
| EAPI void | emotion_object_last_position_load (Evas_Object *obj) |
| Load the last known position if available. More... | |
| EAPI void | emotion_object_last_position_save (Evas_Object *obj) |
| Save the lastest position if possible. More... | |
| EAPI Eina_Bool | emotion_object_extension_may_play_fast_get (const char *file) |
| Do we have a chance to play that file. More... | |
| EAPI Eina_Bool | emotion_object_extension_may_play_get (const char *file) |
| Do we have a chance to play that file. More... | |
| EAPI Evas_Object * | emotion_object_image_get (const Evas_Object *obj) |
| Get the actual image object that contains the pixels of the video stream. More... | |
| EAPI const Eina_List * | emotion_webcams_get (void) |
| Get a list of active and available webcam. More... | |
| EAPI const char * | emotion_webcam_name_get (const Emotion_Webcam *ew) |
| Get the human understandable name of a Webcam. More... | |
| EAPI const char * | emotion_webcam_device_get (const Emotion_Webcam *ew) |
| Get the uri of a Webcam that will be understood by emotion. More... | |
Variables | |
| EAPI int | EMOTION_WEBCAM_UPDATE |
| Ecore_Event triggered when a new webcam is plugged in. | |
Detailed Description
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.
Typedef Documentation
| typedef enum _Emotion_Aspect Emotion_Aspect |
Aspect ratio option.
| typedef enum _Emotion_Meta_Info Emotion_Meta_Info |
Meta info type to be retrieved.
| typedef enum _Emotion_Vis Emotion_Vis |
Type of visualization.
Enumeration Type Documentation
| enum _Emotion_Aspect |
Defines the aspect ratio option.