Home
last modified time | relevance | path

Searched refs:MediaAlbumArt (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmedia/
DMediaScanner.cpp240 MediaAlbumArt *MediaAlbumArt::clone() { in clone()
241 size_t byte_size = this->size() + sizeof(MediaAlbumArt); in clone()
242 MediaAlbumArt *result = reinterpret_cast<MediaAlbumArt *>(malloc(byte_size)); in clone()
248 void MediaAlbumArt::init(MediaAlbumArt *instance, int32_t dataSize, const void *data) { in init()
253 MediaAlbumArt *MediaAlbumArt::fromData(int32_t dataSize, const void* data) { in fromData()
254 size_t byte_size = sizeof(MediaAlbumArt) + dataSize; in fromData()
255 MediaAlbumArt *result = reinterpret_cast<MediaAlbumArt *>(malloc(byte_size)); in fromData()
/frameworks/av/include/media/
Dmediascanner.h46 struct MediaAlbumArt { struct
48 static MediaAlbumArt *fromData(int32_t size, const void* data);
50 static void init(MediaAlbumArt* instance, int32_t size, const void* data);
52 MediaAlbumArt *clone();
68 MediaAlbumArt(); argument
83 virtual MediaAlbumArt *extractAlbumArt(int fd) = 0;
DMediaMetadataRetrieverInterface.h46 virtual MediaAlbumArt* extractAlbumArt() = 0;
58 virtual MediaAlbumArt* extractAlbumArt() { return NULL; } in extractAlbumArt()
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp143 MediaAlbumArt *StagefrightMediaScanner::extractAlbumArt(int fd) { in extractAlbumArt()
156 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer()); in extractAlbumArt()
DStagefrightMetadataRetriever.cpp491 mAlbumArt = MediaAlbumArt::fromData(dataSize, data); in getFrameAtTime()
518 MediaAlbumArt *StagefrightMetadataRetriever::extractAlbumArt() { in extractAlbumArt()
627 mAlbumArt = MediaAlbumArt::fromData(dataSize, data); in parseMetaData()
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h44 virtual MediaAlbumArt *extractAlbumArt();
53 MediaAlbumArt *mAlbumArt;
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp248 MediaAlbumArt *albumArt = mRetriever->extractAlbumArt(); in extractAlbumArt()
253 size_t size = sizeof(MediaAlbumArt) + albumArt->size(); in extractAlbumArt()
266 MediaAlbumArt::init((MediaAlbumArt *) mAlbumArt->pointer(), in extractAlbumArt()
/frameworks/av/include/media/stagefright/
DStagefrightMediaScanner.h33 virtual MediaAlbumArt *extractAlbumArt(int fd);
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp344 MediaAlbumArt* mediaAlbumArt = NULL; in android_media_MediaMetadataRetriever_getEmbeddedPicture()
351 mediaAlbumArt = static_cast<MediaAlbumArt *>(albumArtMemory->pointer()); in android_media_MediaMetadataRetriever_getEmbeddedPicture()
Dandroid_media_MediaScanner.cpp351 MediaAlbumArt* mediaAlbumArt = mp->extractAlbumArt(fd); in android_media_MediaScanner_extractAlbumArt()