Searched refs:kMap (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | StagefrightMetadataRetriever.cpp | 571 static const Map kMap[] = { in parseMetaData() local 589 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in parseMetaData() 595 if (meta->findCString(kMap[i].from, &value)) { in parseMetaData() 596 if (kMap[i].name) { in parseMetaData() 598 detector->addTag(kMap[i].name, value); in parseMetaData() 601 mMetaData.add(kMap[i].to, String8(value)); in parseMetaData() 614 if (kMap[j].name && !strcmp(kMap[j].name, name)) { in parseMetaData() 615 mMetaData.add(kMap[j].to, String8(value)); in parseMetaData()
|
D | MP3Extractor.cpp | 623 static const Map kMap[] = { in getMetaData() local 636 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in getMetaData() 639 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); in getMetaData() 642 it = new ID3::Iterator(id3, kMap[i].tag2); in getMetaData() 654 meta->setCString(kMap[i].key, s); in getMetaData()
|
D | OggExtractor.cpp | 1178 } kMap[] = { in parseVorbisComment() local 1197 for (size_t j = 0; j < sizeof(kMap) / sizeof(kMap[0]); ++j) { in parseVorbisComment() 1198 size_t tagLen = strlen(kMap[j].mTag); in parseVorbisComment() 1199 if (!strncasecmp(kMap[j].mTag, comment, tagLen) in parseVorbisComment() 1201 if (kMap[j].mKey == kKeyAlbumArt) { in parseVorbisComment() 1206 } else if (kMap[j].mKey == kKeyAutoLoop) { in parseVorbisComment() 1211 fileMeta->setCString(kMap[j].mKey, &comment[tagLen + 1]); in parseVorbisComment()
|
D | MPEG4Extractor.cpp | 2942 static const Map kMap[] = { in parseID3v2MetaData() local 2955 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in parseID3v2MetaData() 2958 if (!mFileMetaData->hasData(kMap[i].key)) { in parseID3v2MetaData() 2959 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); in parseID3v2MetaData() 2962 it = new ID3::Iterator(id3, kMap[i].tag2); in parseID3v2MetaData() 2974 mFileMetaData->setCString(kMap[i].key, s); in parseID3v2MetaData()
|