HomeSort by relevance Sort by last modified time
    Searched refs:MediaAlbumArt (Results 1 - 10 of 10) sorted by null

  /frameworks/av/include/media/
mediascanner.h 46 struct MediaAlbumArt {
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();
83 virtual MediaAlbumArt *extractAlbumArt(int fd) = 0;
MediaMetadataRetrieverInterface.h 46 virtual MediaAlbumArt* extractAlbumArt() = 0;
58 virtual MediaAlbumArt* extractAlbumArt() { return NULL; }
  /frameworks/av/include/media/stagefright/
StagefrightMediaScanner.h 33 virtual MediaAlbumArt *extractAlbumArt(int fd);
  /frameworks/av/media/libstagefright/include/
StagefrightMetadataRetriever.h 44 virtual MediaAlbumArt *extractAlbumArt();
53 MediaAlbumArt *mAlbumArt;
  /frameworks/av/media/libmedia/
MediaScanner.cpp 240 MediaAlbumArt *MediaAlbumArt::clone() {
241 size_t byte_size = this->size() + sizeof(MediaAlbumArt);
242 MediaAlbumArt *result = reinterpret_cast<MediaAlbumArt *>(malloc(byte_size));
248 void MediaAlbumArt::init(MediaAlbumArt *instance, int32_t dataSize, const void *data) {
253 MediaAlbumArt *MediaAlbumArt::fromData(int32_t dataSize, const void* data) {
254 size_t byte_size = sizeof(MediaAlbumArt) + dataSize
    [all...]
  /frameworks/av/media/libstagefright/
StagefrightMediaScanner.cpp 144 MediaAlbumArt *StagefrightMediaScanner::extractAlbumArt(int fd) {
157 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
StagefrightMetadataRetriever.cpp 497 mAlbumArt = MediaAlbumArt::fromData(dataSize, data);
524 MediaAlbumArt *StagefrightMetadataRetriever::extractAlbumArt() {
633 mAlbumArt = MediaAlbumArt::fromData(dataSize, data);
  /frameworks/av/media/libmediaplayerservice/
MetadataRetrieverClient.cpp 248 MediaAlbumArt *albumArt = mRetriever->extractAlbumArt();
253 size_t size = sizeof(MediaAlbumArt) + albumArt->size();
262 ALOGE("not enough memory for MediaAlbumArt size=%zu", size);
266 MediaAlbumArt::init((MediaAlbumArt *) mAlbumArt->pointer(),
  /frameworks/base/media/jni/
android_media_MediaMetadataRetriever.cpp 344 MediaAlbumArt* mediaAlbumArt = NULL;
350 if (albumArtMemory != 0) { // cast the shared structure to a MediaAlbumArt object
351 mediaAlbumArt = static_cast<MediaAlbumArt *>(albumArtMemory->pointer());
353 if (mediaAlbumArt == NULL) {
358 jbyteArray array = env->NewByteArray(mediaAlbumArt->size());
363 reinterpret_cast<const jbyte*>(mediaAlbumArt->data());
364 env->SetByteArrayRegion(array, 0, mediaAlbumArt->size(), data);
367 // No need to delete mediaAlbumArt her
    [all...]
android_media_MediaScanner.cpp 351 MediaAlbumArt* mediaAlbumArt = mp->extractAlbumArt(fd);
352 if (mediaAlbumArt == NULL) {
356 jbyteArray array = env->NewByteArray(mediaAlbumArt->size());
359 reinterpret_cast<const jbyte*>(mediaAlbumArt->data());
360 env->SetByteArrayRegion(array, 0, mediaAlbumArt->size(), data);
363 free(mediaAlbumArt);

Completed in 1284 milliseconds