OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targetFormat
(Results
1 - 3
of
3
) sorted by null
/frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp
151
bool NuPlayer::Decoder::supportsSeamlessAudioFormatChange(const sp<AMessage> &
targetFormat
) const {
152
if (
targetFormat
== NULL) {
157
if (!
targetFormat
->findString("mime", &mime)) {
166
if (!mFormat->findInt32(keys[i], &oldVal) || !
targetFormat
->findInt32(keys[i], &newVal)
173
if (mFormat->findBuffer("csd-0", &oldBuf) &&
targetFormat
->findBuffer("csd-0", &newBuf)) {
183
bool NuPlayer::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &
targetFormat
) const {
188
if (
targetFormat
== NULL) {
194
|| !
targetFormat
->findString("mime", &newMime)
202
seamless = supportsSeamlessAudioFormatChange(
targetFormat
);
NuPlayerDecoder.h
65
bool supportsSeamlessAudioFormatChange(const sp<AMessage> &
targetFormat
) const;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FilterGraph.java
243
FrameFormat
targetFormat
= inputPort.getPortFormat();
244
if (sourceFormat != null &&
targetFormat
!= null) {
245
if (mLogVerbose) Log.v(TAG, "Checking " + sourceFormat + " against " +
targetFormat
+ ".");
253
compatible = sourceFormat.mayBeCompatibleWith(
targetFormat
);
257
compatible = sourceFormat.isCompatibleWith(
targetFormat
);
264
+ "format of type " +
targetFormat
+ " but got a format of type "
Completed in 38 milliseconds