diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-04-12 06:01:16 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-04-12 06:01:16 (GMT) |
commit | e6e4dbbf82fca646d95c86b5c4f9132378286198 (patch) | |
tree | 1aa02083e8dc5dc45221051d7de76eb47bdd662e /src/multimedia | |
parent | ac27c8ad39a9646a9e509ba7a58f75eeae10bb6e (diff) | |
download | Qt-e6e4dbbf82fca646d95c86b5c4f9132378286198.zip Qt-e6e4dbbf82fca646d95c86b5c4f9132378286198.tar.gz Qt-e6e4dbbf82fca646d95c86b5c4f9132378286198.tar.bz2 |
Add meta-data keys for embedded images.
This allows backends to return cover art, poster and thumbnail images
that are embedded in a media file.
Task-number: MOBILITY-806
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/multimedia')
-rw-r--r-- | src/multimedia/base/qtmedianamespace.h | 7 | ||||
-rw-r--r-- | src/multimedia/base/qtmedianamespace.qdoc | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/multimedia/base/qtmedianamespace.h b/src/multimedia/base/qtmedianamespace.h index fe20a05..1e04da8 100644 --- a/src/multimedia/base/qtmedianamespace.h +++ b/src/multimedia/base/qtmedianamespace.h @@ -144,7 +144,12 @@ namespace QtMultimedia Contrast, Saturation, Sharpness, - DeviceSettingDescription + DeviceSettingDescription, + + PosterImage, + CoverArtImage, + ThumbnailImage + }; enum SupportEstimate diff --git a/src/multimedia/base/qtmedianamespace.qdoc b/src/multimedia/base/qtmedianamespace.qdoc index 58e9c92..277b1a5 100644 --- a/src/multimedia/base/qtmedianamespace.qdoc +++ b/src/multimedia/base/qtmedianamespace.qdoc @@ -98,6 +98,7 @@ \value CoverArtUrlSmall The URL of a small cover art image. QUrl. \value CoverArtUrlLarge The URL of a large cover art image. QUrl. + \value CoverArtImage An embedded cover art image. QImage. Image and video attributes \value Resolution The dimensions of an image or video. QSize. @@ -109,6 +110,7 @@ \value VideoCodec The codec of the media's video stream. QString. \value PosterUrl The URL of a poster image. QUrl. + \value PosterImage An embedded poster image. QImage. Movie attributes \value ChapterNumber The chapter number of the media. int. @@ -162,6 +164,8 @@ Indicates the direction of sharpness processing applied by the camera when the image was shot. \value DeviceSettingDescription Exif tag, indicates information on the picture-taking conditions of a particular camera model. QString + + \value ThumbnailImage An embedded thumbnail image. QImage. */ /*! |