Lines Matching refs:metaData

117         const uint8_t *ptr, size_t size, sp<MetaData> *metaData) {  in parseAC3SyncFrame()  argument
211 if (metaData != NULL) { in parseAC3SyncFrame()
212 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC3); in parseAC3SyncFrame()
213 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseAC3SyncFrame()
214 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC3SyncFrame()
224 const uint8_t *ptr, size_t size, sp<MetaData> *metaData) { in parseEAC3SyncFrame() argument
281 if (metaData != NULL && (strmtyp == 0 || strmtyp == 2)) { in parseEAC3SyncFrame()
285 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_EAC3); in parseEAC3SyncFrame()
286 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseEAC3SyncFrame()
287 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseEAC3SyncFrame()
288 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseEAC3SyncFrame()
300 const uint8_t *ptr, size_t size, unsigned &frameSize, sp<MetaData> *metaData) { in parseAC4SyncFrame() argument
353 if (metaData != NULL) { in parseAC4SyncFrame()
355 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC4); in parseAC4SyncFrame()
356 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseAC4SyncFrame()
359 (*metaData)->setInt32(kKeyChannelCount, 2); in parseAC4SyncFrame()
360 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC4SyncFrame()
374 const uint8_t *ptr, size_t size, unsigned &frameSize, sp<MetaData> *metaData) { in parseDTSHDSyncFrame() argument
565 if (metaData != NULL) { in parseDTSHDSyncFrame()
567 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_HD); in parseDTSHDSyncFrame()
568 (*metaData)->setInt32(kKeyAudioProfile, 0x2); // CodecProfileLevel.DTS_HDProfileLBR in parseDTSHDSyncFrame()
570 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS); in parseDTSHDSyncFrame()
572 (*metaData)->setInt32(kKeyChannelCount, numChannels); in parseDTSHDSyncFrame()
573 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseDTSHDSyncFrame()
625 const uint8_t *ptr, size_t size, unsigned &frameSize, sp<MetaData> *metaData) { in parseDTSUHDSyncFrame() argument
775 if (metaData != NULL) { in parseDTSUHDSyncFrame()
776 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_UHD); in parseDTSUHDSyncFrame()
777 (*metaData)->setInt32(kKeyAudioProfile, 0x2); // CodecProfileLevel.DTS_UHDProfileP2 in parseDTSUHDSyncFrame()
778 (*metaData)->setInt32(kKeyChannelCount, 2); // Setting default channel count as stereo in parseDTSUHDSyncFrame()
779 (*metaData)->setInt32(kKeySampleRate, audioSamplRate); in parseDTSUHDSyncFrame()