summaryrefslogtreecommitdiff
path: root/src/lib/emotion/Emotion.h
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2017-01-12 14:09:49 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-01-12 14:37:19 -0800
commit1f9e915b5a001b4f4845defda559434b35588e96 (patch)
treed54da0c896305fab2b89fcf648af6b44ad01a0c0 /src/lib/emotion/Emotion.h
parent50c9d1aeaa9172e4b6492eabd0da49aafd3523bb (diff)
emotion: add support for obtaining embedded artwork from media files with gstreamer1 backend.
Reviewers: raster, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4550 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/emotion/Emotion.h')
-rw-r--r--src/lib/emotion/Emotion.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/emotion/Emotion.h b/src/lib/emotion/Emotion.h
index 3ea786391d..b4914d65a5 100644
--- a/src/lib/emotion/Emotion.h
+++ b/src/lib/emotion/Emotion.h
@@ -196,6 +196,12 @@ enum _Emotion_Meta_Info
196 EMOTION_META_INFO_TRACK_COUNT /**< track count - number of the track in the album */ 196 EMOTION_META_INFO_TRACK_COUNT /**< track count - number of the track in the album */
197}; 197};
198 198
199enum _Emotion_Artwork_Info
200{
201 EMOTION_ARTWORK_IMAGE,
202 EMOTION_ARTWORK_PREVIEW_IMAGE
203};
204
199/** 205/**
200 * @enum _Emotion_Vis 206 * @enum _Emotion_Vis
201 * 207 *
@@ -266,6 +272,7 @@ typedef enum _Emotion_Event Emotion_Event;
266typedef enum _Emotion_Meta_Info Emotion_Meta_Info; /**< Meta info type to be retrieved. */ 272typedef enum _Emotion_Meta_Info Emotion_Meta_Info; /**< Meta info type to be retrieved. */
267typedef enum _Emotion_Vis Emotion_Vis; /**< Type of visualization. */ 273typedef enum _Emotion_Vis Emotion_Vis; /**< Type of visualization. */
268typedef enum _Emotion_Aspect Emotion_Aspect; /**< Aspect ratio option. */ 274typedef enum _Emotion_Aspect Emotion_Aspect; /**< Aspect ratio option. */
275typedef enum _Emotion_Artwork_Info Emotion_Artwork_Info;
269 276
270#define EMOTION_CHANNEL_AUTO -1 277#define EMOTION_CHANNEL_AUTO -1
271#define EMOTION_CHANNEL_DEFAULT 0 278#define EMOTION_CHANNEL_DEFAULT 0
@@ -1341,6 +1348,17 @@ EAPI const char *emotion_webcam_name_get(const Emotion_Webcam *ew);
1341EAPI const char *emotion_webcam_device_get(const Emotion_Webcam *ew); 1348EAPI const char *emotion_webcam_device_get(const Emotion_Webcam *ew);
1342 1349
1343/** 1350/**
1351 * @brief Get the album artwork from file meta data tags.
1352 *
1353 * @param obj The evas object we are working with.
1354 * @param path The local path for the file.
1355 * @param type The metadata location type (GST_IMAGE_PREVIEW_IMAGE or GST_PREVIEW).
1356 *
1357 * @ingroup Emotion_Artwork
1358 */
1359
1360EAPI Evas_Object *emotion_file_meta_artwork_get(const Evas_Object *obj, const char *path, Emotion_Artwork_Info type);
1361/**
1344 * @} 1362 * @}
1345 */ 1363 */
1346 1364