Searched refs:targetFormat (Results 1 – 9 of 9) sorted by relevance
243 FrameFormat targetFormat = inputPort.getPortFormat(); in runTypeCheckOn() local244 if (sourceFormat != null && targetFormat != null) { in runTypeCheckOn()245 … if (mLogVerbose) Log.v(TAG, "Checking " + sourceFormat + " against " + targetFormat + "."); in runTypeCheckOn()253 compatible = sourceFormat.mayBeCompatibleWith(targetFormat); in runTypeCheckOn()257 compatible = sourceFormat.isCompatibleWith(targetFormat); in runTypeCheckOn()264 + "format of type " + targetFormat + " but got a format of type " in runTypeCheckOn()
1199 const sp<AMessage> &targetFormat) const { in supportsSeamlessAudioFormatChange()1200 if (targetFormat == NULL) { in supportsSeamlessAudioFormatChange()1205 if (!targetFormat->findString("mime", &mime)) { in supportsSeamlessAudioFormatChange()1215 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()1223 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()1233 bool NuPlayer::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const { in supportsSeamlessFormatChange()1238 if (targetFormat == NULL) { in supportsSeamlessFormatChange()1244 || !targetFormat->findString("mime", &newMime) in supportsSeamlessFormatChange()1252 seamless = supportsSeamlessAudioFormatChange(targetFormat); in supportsSeamlessFormatChange()
136 bool supportsSeamlessAudioFormatChange(const sp<AMessage> &targetFormat) const;
1205 const sp<AMessage> &targetFormat) const { in supportsSeamlessAudioFormatChange()1206 if (targetFormat == NULL) { in supportsSeamlessAudioFormatChange()1211 if (!targetFormat->findString("mime", &mime)) { in supportsSeamlessAudioFormatChange()1221 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()1231 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()1241 bool NuPlayer2::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const { in supportsSeamlessFormatChange()1246 if (targetFormat == NULL) { in supportsSeamlessFormatChange()1252 || !targetFormat->findString("mime", &newMime) in supportsSeamlessFormatChange()1260 seamless = supportsSeamlessAudioFormatChange(targetFormat); in supportsSeamlessFormatChange()
281 audio_format_t targetFormat) in isBetterFormatMatch() argument289 if (newFormat == targetFormat) { in isBetterFormatMatch()292 int currentDiffBytes = (int)audio_bytes_per_sample(targetFormat) - in isBetterFormatMatch()294 int newDiffBytes = (int)audio_bytes_per_sample(targetFormat) - in isBetterFormatMatch()
114 audio_format_t targetFormat);
305 const audio_format_t targetFormat = mDownmixRequiresFormat != AUDIO_FORMAT_INVALID in prepareForReformat() local308 if (mFormat != targetFormat) { in prepareForReformat()312 targetFormat, in prepareForReformat()324 if (targetFormat != mMixerInFormat) { in prepareForReformat()327 targetFormat, in prepareForReformat()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...