Home
last modified time | relevance | path

Searched refs:kMap (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmediaextractor/
DVorbisComment.cpp113 } kMap[] = { in parseVorbisComment() local
132 for (size_t j = 0; j < sizeof(kMap) / sizeof(kMap[0]); ++j) { in parseVorbisComment()
133 size_t tagLen = strlen(kMap[j].mTag); in parseVorbisComment()
134 if (!strncasecmp(kMap[j].mTag, comment, tagLen) in parseVorbisComment()
136 if (kMap[j].mKey == kKeyAlbumArt) { in parseVorbisComment()
141 } else if (kMap[j].mKey == kKeyAutoLoop) { in parseVorbisComment()
146 fileMeta->setCString(kMap[j].mKey, &comment[tagLen + 1]); in parseVorbisComment()
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp411 static const Map kMap[] = { in parseMetaData() local
429 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in parseMetaData()
435 if (meta->findCString(kMap[i].from, &value)) { in parseMetaData()
436 if (kMap[i].name) { in parseMetaData()
438 detector->addTag(kMap[i].name, value); in parseMetaData()
441 mMetaData.add(kMap[i].to, String8(value)); in parseMetaData()
454 if (kMap[j].name && !strcmp(kMap[j].name, name)) { in parseMetaData()
455 mMetaData.add(kMap[j].to, String8(value)); in parseMetaData()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp626 static const Map kMap[] = { in getMetaData() local
639 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in getMetaData()
642 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); in getMetaData()
645 it = new ID3::Iterator(id3, kMap[i].tag2); in getMetaData()
657 meta.setCString(kMap[i].key, s); in getMetaData()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3312 static const Map kMap[] = { in parseID3v2MetaData() local
3325 static const size_t kNumMapEntries = sizeof(kMap) / sizeof(kMap[0]); in parseID3v2MetaData()
3328 if (!mFileMetaData.hasData(kMap[i].key)) { in parseID3v2MetaData()
3329 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); in parseID3v2MetaData()
3332 it = new ID3::Iterator(id3, kMap[i].tag2); in parseID3v2MetaData()
3344 mFileMetaData.setCString(kMap[i].key, s); in parseID3v2MetaData()